vexed is a server for the nex:// protocol
, with basic CGI support.
As of me writing this, there is no other nex://
server with CGI support. In fact, I believe there is no other nex://
server out there other than the reference implementation.
Also, this serves as an exercise to learn the V programming language.
Don't use this server if the CGI scripts you call may harm your system. vexed does not check whether the scripts it calls are secure, and does not have sandboxing capabilities builtin.
Any executable file which is requested is considered a CGI script by vexed.
vexed relies on being able to listen to port 1900
for incoming TCP connections.
There are no build time dependencies other than a functioning V build environment (V compiler, V standard library).
v .
The release binary was built using v -prod -prealloc . && strip vexed
.
./vexed
runs the server with the current working directory as root directory. Note that this is not the root for CGI scripts.