Skip to content

Python 🐍 from-scratch file webserver 🌐 without any dependencies πŸš€ except Python 🐍 (with good page render 🎨)

License

Notifications You must be signed in to change notification settings

benzlokzik/singlefile-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 Singlefile Web Server

This is a simple web server that serves with a single file ⚑️

✨ Features

  • πŸš€ Has no dependencies
  • πŸ“‚ Renders HTML for folders/directories
  • πŸ“ Renders Markdown
  • ⚑️ Asynchronous

πŸ› οΈ How to Run

  • 🌍 From Web (always latest version)

    curl -LsSf https://raw.githubusercontent.com/benzlokzik/singlefile-webserver/refs/heads/main/server.py | python3
  • πŸ’» From Code

    python3 server.py

πŸ“‹ TODO

  • πŸ› οΈ Build binaries
  • 🧠 Optimize render, add more markup languages
  • πŸ“‘ Make better streams for large files

About

Python 🐍 from-scratch file webserver 🌐 without any dependencies πŸš€ except Python 🐍 (with good page render 🎨)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages