Skip to content

theunixer/salient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    cd salient
    cargo install --path .

Just to check run:

    salient-http

It shall print a link. Click on it and you shall see the message!

Usage

Move your website files to www folder. Run salient-http. 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?

About

Simple http web server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published