Skip to content

Bulkrays is a light c++ http server. It is aimed to deliver content through C++ code, providing the C / C++ performances, maturity stability and long term support to HTML and content rendering.

License

Notifications You must be signed in to change notification settings

jd-code/bulkrays

Repository files navigation

Bulkrays

Bulkrays is a light c++ http server. It is aimed to deliver content through C++ code, providing the C / C++ performances, maturity stability and long term support to HTML and content rendering.

A minimalist example is provided through the simplefmap.hcpp which maps directories to HTML content.

Modules are simple to build, particularly by inlining HTML right into your CPP code. A vim syntax extension is provided in order to hilight correctly those inclusions.

Dependencies

  • qiconn is imported as a git submodule

Usage

there's yet no typical service script for maintaining the daemon operations. such a command line will launch the server binding on two addresses, dropping root credentials for a less dangerously empowered user "bulkrays" right after binding ports for example :

./bulkrays --bind=134.214.100.25:80 --bind=134.214.100.245:80 --user=bulkrays 2>&1 \
    >> /var/log/bulkrays/error.log & 

Building

the following will bring a default build :

git submodule init
git submodule update
( cd qiconn && autoall && ./configure )
autoall && ./configure
make all

A real interesting build should contain additionnal cpp modules of yours, inspired by simplefmap.hcpp, and duly referenced in bootstrap.cpp.

Typical building dependencies

in order to compile on a debian buster :

  • build-essential
  • autotools-dev
  • libtool
  • expect (provides unbuffer used in the "vimtest" target)

About

Bulkrays is a light c++ http server. It is aimed to deliver content through C++ code, providing the C / C++ performances, maturity stability and long term support to HTML and content rendering.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published