#server #webserver #http #html #static

bin+lib statix

A CLI http server for static file sharing

22 stable releases (4 major)

4.8.3 Feb 28, 2022
4.8.2 Feb 20, 2022
4.7.2 Jan 30, 2022
3.0.0 Jan 1, 2022
0.1.2 Dec 25, 2021

#838 in HTTP server

Download history 26/week @ 2023-06-07 2/week @ 2023-06-14 26/week @ 2023-06-21 50/week @ 2023-06-28 1/week @ 2023-07-19 48/week @ 2023-07-26 1/week @ 2023-08-02 1/week @ 2023-08-09 25/week @ 2023-08-16 27/week @ 2023-08-23 1/week @ 2023-08-30 28/week @ 2023-09-06 26/week @ 2023-09-13 2/week @ 2023-09-20

57 downloads per month

MIT license

19KB
416 lines

Statix Made with ❤ by @Octalbyte

statix

Static file server (Rust).

Install and Run

cargo install statix
statix #On the folder you want to host

Features and switches

  • --host <String> set host
  • --port <i32> set port
  • --ssl <bool> set if server should have ssl, then set file paths with --crt <String> (default cert.pem) and --key <String> (default key.pem)
  • --threads<i32> set number of threads to be spawned
  • --cors <String> set the value of header Access-Control-Allow-Origin
  • --blocktor Block requests made through TOR
  • --username <String> Username for authentication (If None, there will be no authentication required)
  • --pwd <String> Password for authentication.
  • --help display more help

Dependencies

~5–16MB
~239K SLoC