mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 00:38:21 +01:00
libs | ||
.gitignore | ||
.travis.yml | ||
ant-logo.png | ||
antd | ||
forward | ||
http_server.c | ||
http_server.h | ||
httpd.c | ||
LICENSE | ||
Makefile | ||
plugin_manager.c | ||
plugin_manager.h | ||
README.md | ||
relay.c | ||
var.mk |
ant-http
A lightweight and portable HTTP/HTTPs web server written in standard C:
- New 1.0.0 version: Single thread server with configurable number of thread pool workers, good for scalability
- It can be configurable to work well on embedded Linux for server application.
- Support SSL via open SSL, database via Sqlite 3, web socket integrated
- It is also extensible via its extensions mechanism that allows to extends the server capability.
Plugins:
- Lua extension https://github.com/lxsang/antd-lua-plugin: using Lua as serverside script
- PHP extension https://github.com/lxsang/antd-ph7-plugin: using PHP as serverside script
- Web terminal https://github.com/lxsang/antd-wterm-plugin: plugin for using Unix termninal from the web via websocket
- Web VNC https://github.com/lxsang/antd-wvnc-plugin: Remote computer accessing using VNC protocol on the web (via websocket)
Build from source
build dep
- git
- make
- build-essential
server dependencies
- libssl-dev
- libsqlite3-dev
build
When all dependencies are installed, the build can be done with a few single command lines:
mkdir antd
cd antd
# build without plugin
wget -O- https://get.makeand.run/antd | bash -s ""
The script will ask for a place to put the binaries (should be an absolute path, otherwise the build will fail) and the default HTTP port for the server config.