ant-http/README.md

38 lines
1.9 KiB
Markdown
Raw Normal View History

2016-12-07 13:10:53 +01:00
![Logo](https://github.com/lxsang/ant-http/raw/master/ant-logo.png)
# ant-http
2018-03-19 11:59:12 +01:00
[![Build Status](https://travis-ci.org/lxsang/ant-http.svg?branch=master)](https://travis-ci.org/lxsang/ant-http)
2018-10-07 14:11:34 +02:00
A lightweight and portable HTTP/HTTPs web server written in C:
2019-03-01 11:08:32 +01:00
- New 1.0.0 version (BETA feature): Nonblocking event driven base server with configurable number of thread pool workers, good for scalability
2018-10-07 14:17:16 +02:00
- Initial goal is for embedded Linux, but can be used as general purpose web server.
2018-02-26 10:32:20 +01:00
- Support SSL via open SSL, database via Sqlite 3, web socket integrated
2019-03-01 11:09:03 +01:00
- It is also extensible via its extension mechanism that allows to extends the server capability.
2018-02-02 13:49:16 +01:00
2018-10-08 22:53:08 +02:00
## Plugins:
* CGI interface for external scripting language (e.g. PHP): [https://github.com/lxsang/antd-cgi-plugin](https://github.com/lxsang/antd-cgi-plugin)
2018-09-22 15:24:16 +02:00
* Lua extension [https://github.com/lxsang/antd-lua-plugin](https://github.com/lxsang/antd-lua-plugin): using Lua as serverside script
* PHP extension [https://github.com/lxsang/antd-ph7-plugin](https://github.com/lxsang/antd-ph7-plugin): using PHP as serverside script
2018-10-08 23:26:19 +02:00
* Web terminal [https://github.com/lxsang/antd-wterm-plugin](https://github.com/lxsang/antd-wterm-plugin): plugin for using Unix terminal from the web via websocket
* Web VNC [https://github.com/lxsang/antd-wvnc-plugin](https://github.com/lxsang/antd-wvnc-plugin): Remote computer access using VNC protocol on the web (via websocket)
2018-09-22 20:25:51 +02:00
2018-09-22 20:26:19 +02:00
## Build from source
2018-09-22 20:25:51 +02:00
### 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:
```bash
mkdir antd
cd antd
2018-10-03 11:21:28 +02:00
# build without plugin
2019-03-01 10:36:32 +01:00
wget -O- https://get.bitdojo.dev/antd | bash -s ""
2018-09-22 20:25:51 +02:00
```
2018-09-26 11:57:10 +02:00
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.