Skip to content

zaerl/warudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

349 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warudo

Warudo is a lightweight HTTPS web server written in C17 with no run-time dependencies and a client that processes JSON data.

Installation

Warudo is a standalone application and doesn't rely on external libraries. The warudo prebuilt binary is the best way to install Warudo. Get the binary, copy it somewhere in the filesystem.

Building the source code

Use the prebuilt binaries if you want to use this. But if you want to compile Warudo you will need some tools.

  1. CMake.
  2. Clang or another C17-capable compiler.
  3. Python.

After installing the required tools run:

make

Usage

Warudo by default reads a file called warudo.conf in the same folder of the binary. This behavior can be changed passing the WRD_CONFIG_PATH environment variable.

Every config can be passed as environment variable. For example socket_port can be passed as WRD_SOCKET_PORT variable.

WRD_CORS="*" WRD_LOG_LEVEL=3 ./warudo

Check warudo.conf.default for a list of default settings. You can copy that file, rename it to warudo.conf and change that settings you want.

CLI

make
cat file.log | ./tools/parse-log.sh
cat file.log | ./bin/warudo-cli

Test

Warudo uses Attractor for testing. Run:

make test

You can filter specific tests. e.g. conf:

make ARGS="--filter=conf" test

FAQ

Why?

Why not? And so on.

Thanks

Warudo is built using the work of extraordinary individuals and teams.

  1. CMake is distributed under the OSI-approved BSD 3-clause License.
  2. Python is distributed under the PSFL.
  3. SQLite is in the public domain.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors