Buckets:
| import http.server | |
| import socketserver | |
| import os | |
| PORT = 8080 | |
| DIRECTORY = os.path.dirname(os.path.abspath(__file__)) | |
| class Handler(http.server.SimpleHTTPRequestHandler): | |
| def __init__(self, *args, **kwargs): | |
| super().__init__(*args, directory=DIRECTORY, **kwargs) | |
| with socketserver.TCPServer(("", PORT), Handler) as httpd: | |
| print(f"🚀 JCapy Control Plane [STATION-01] active at http://localhost:{PORT}") | |
| print("Press Ctrl+C to halt the station.") | |
| httpd.serve_forever() | |
Xet Storage Details
- Size:
- 494 Bytes
- Xet hash:
- a4cc65cc0db55e1ee41cf226431ca580b4dc7c218f271eb5a840eb3c6a22cdd0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.