Generic HTTP server operational GUI aimed at providing server operators with an easier toolset for general use case scenarios.
In order to utilize the graphical side of the QuietWeeping server you must download initial dependencies. This is limited to a singular library needed. You can follow the required build source for Raylib from here.
NOTE: You will also need to download Civetweb
which is partially responsible for the backend server logic from here.
After downloading the essential packages with apt
and building after git clone
make sure to set make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED
when calling the make
command for the first iteration.
This will let declaring the following define directive...
#include "raylib.h"
...to work correctly, as quietweeper does not rely on static compilation pre-runtime.
There is no associated Makefile
within QuietWeeper's main directory as of version 1.2.2
. For now you will have to manually start the build process yourself via executing:
gcc -std=c11 quietweeper.c -o quietweeper -I./include -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 -lcivetweb -s
Usage: ./quietweeper
Upon pressing ENTER
the backend will spin up the Graphical User Interface. This interface accepts 3 MANDATORY arguments:
-
HOSTNAME - The TCP/IPv4 address or hostname "ALIAS" pointing to an Internet (local and/or remote) host
- NOTE: There is no "in memory" function responsible for converting hostnames to their TCP/IP address equivalent counterparts upon execution. You must make sure to have the correct address/alias when declaring a hostname for the server (Check out /etc/hosts to define a custom system wide alias)
-
PORT - The port that will be bound/set for the internal AF_INET server socket
-
PATH - The absolute or "." (current directory of the
weepingserver
executable) direct path for the document root