PyServer is a simple, multithreaded Python HTTP GET & POST server that logs requests and provides a fancy, modern, and dark-themed directory listing. This server is perfect for quickly sharing files and directories over a network with minimal setup.
- HTTP GET and POST requests
- Serves files and directories with a modern dark-themed listing.
- Multithreaded for improved performance.
- Logs HTTP requests with colored output for better readability.
- Easy to set up and run.
- Python 3.x
colorlog
library for colored logging output.
- Clone the repository or download the
pyserver.py
file. - Install the required
colorlog
library if you haven't already:
pip install colorlog
or install the requirement from requirements.txt:
pip install -r requirements.txt
Run the server with the following command:
python3 ./pyserver.py [port]
If no port is specified, the server will default to port 8080.
Example:
python3 ./pyserver.py 8000
This project is licensed under the MIT License - see the LICENSE file for details. Contributing
Contributions are welcome! Please feel free to submit a Pull Request. Acknowledgments
Inspired by the need for a simple, yet modern and stylish, Python HTTP server for quick file sharing and directory listing.
This project was inspired by the work of Miel Donkers See: https://gist.github.com/mdonkers/63e115cc0c79b4f6b8b3a6b797e485c7