It is a simple python-made HTTP server, for logging requests, file acces or redirection.
Download:
Just run install.sh with sudo privileges.
One-liner:
curl -fsSL https://raw.githubusercontent.com/abgache/easyhttp/main/install.sh | sudo bashUsage:
age: main.py [-h] [-p PORT] [-f] [-l] [-r REDIRECT_LOCATION]options:
-h, --help show this help message and exit
-p PORT, --port PORT Port to listen on
-f, --file Serve files from a directory
-l, --logger Logger server
-r REDIRECT, --redirect REDIRECT
Redirect server
-c CUSTOM, --custom CUSTOM
Custom response code
--body BODY Custom body, only used with --custom
--lifetime LIFETIME, -t LIFETIME
Server timeout in seconds (Default: No timeout)
--update Update EasyHTTP
Update:
sudo easyhttp --update