migrate from hg

This commit is contained in:
Kar
2025-10-26 21:38:42 +05:30
commit 5f85c4555e
10 changed files with 4503 additions and 0 deletions

11
server.py Normal file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env python3
from http.server import SimpleHTTPRequestHandler, HTTPServer
import os
PORT = 7002
DIRECTORY = "cache"
os.chdir(DIRECTORY)
server = HTTPServer(("0.0.0.0", PORT), SimpleHTTPRequestHandler)
print(f"Serving {DIRECTORY} on port {PORT} ...")
server.serve_forever()