http-salient 0.1.1

Simple http webserver
Documentation

Salient

Simple http webserver written in rust.

Features

  • - Multithreading.
  • - Easy set up with the config file.
  • - No known vulnerabilities.
  • - Cache code or get on the fly.
  • - Statistics.

Build and install

    git clone https://github.com/GreatC0der/salient.git

    cargo install --path ./salient

Usage

Move your website files to www folder. Run salient. Config will be generated in default folder for configs, for example ~/.config on linux.

Config

  • address - Address of web server.
  • double_dot_defence - Restrict access out of www derictory.
  • caching - If enabled data will be taken from the memory, if disabled data will be loaded from a file every time it's requested.
  • statistics - Count requests.
  • statistics_output_delay - if number of requests is devisible by this value it will be displayed.
  • thread_limit - How many threads should be used to handle requests?