1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-03 13:39:46 +02:00
ant-http/README.md
2018-09-22 20:26:19 +02:00

1.6 KiB

Logo

ant-http

Build Status

A lightweight and portable HTTP/HTTPs web server written in standard C:

  • 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:

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 with all plugins
wget -O - https://apps.lxsang.me/script/antd | bash -s "lua ph7 wterm wvnc"

The script will ask you where you want to put the binaries (should be an absolute path, otherwise the build will fail) and the default HTTP port for the server config.