An open API service indexing awesome lists of open source software.

https://github.com/benzlokzik/singlefile-webserver

Python 🐍 from-scratch file webserver 🌐 without any dependencies 🚀 except Python 🐍 (with good page render 🎨)
https://github.com/benzlokzik/singlefile-webserver

backend fileserver fileserver-python gpl3 gplv3 opensource python python3 script single-file spaghetti spaghetti-code web

Last synced: about 20 hours ago
JSON representation

Python 🐍 from-scratch file webserver 🌐 without any dependencies 🚀 except Python 🐍 (with good page render 🎨)

Awesome Lists containing this project

README

          

# 🌐 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
- 🌚 Dark and 🌞 light themes

## 🛠️ How to Run

- 🌍 From Web (always latest version)

```shell
curl -LsSf https://raw.githubusercontent.com/benzlokzik/singlefile-webserver/refs/heads/main/server.py | python3
```

- 💻 From Code

```shell
python3 server.py
```

## 📋 TODO

- 🛠️ Build binaries
- 🧠 Optimize render, add more markup languages
- 📡 Make better streams for large files
- 📥 Add download availability via compressed/archive files (e.g., `.zip`, `.tar.gz`)