untitled-3195
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
A service that downloads zip files from URLs, extracts them, and hosts them as websites with intelligent caching.
- Download zip files from any public URL
- Extract and host the contents as a website
- Automatic redirection to hosted content
- URL-based caching - same URLs reuse existing extractions
- Simple web interface for submitting URLs
- View all cached sites
- Visit the main page
- Enter a URL pointing to a zip file
- The system will download, extract, and host the contents (or reuse if already cached)
- You'll be redirected to the hosted website
The system uses SHA-256 hashing of URLs to create consistent site IDs. This means:
- Same URL will always generate the same site ID
- No duplicate processing for the same zip file
- Efficient reuse across multiple requests
- Cached sites persist until manually cleared
GET /
- Main interfaceGET /?zip_url={url}
- Download and host zip from URL (or reuse cached)GET /hosted/{id}/*
- Access hosted websitesGET /api/sites
- List all cached sitesGET /api/debug/{id}
- Debug info for a specific site
backend/
- Hono API server with caching logicfrontend/
- Simple web interface with cached sites viewershared/
- Shared utilities and types