FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
jeffreyyoung
jeffreyyounguntitled-3195
Public
Like
untitled-3195
Home
Code
5
backend
1
frontend
1
shared
1
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
…
README.md

Zip Website Hoster

A service that downloads zip files from URLs, extracts them, and hosts them as websites with intelligent caching.

Features

  • 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

Usage

  1. Visit the main page
  2. Enter a URL pointing to a zip file
  3. The system will download, extract, and host the contents (or reuse if already cached)
  4. You'll be redirected to the hosted website

Caching

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

API

  • GET / - Main interface
  • GET /?zip_url={url} - Download and host zip from URL (or reuse cached)
  • GET /hosted/{id}/* - Access hosted websites
  • GET /api/sites - List all cached sites
  • GET /api/debug/{id} - Debug info for a specific site

Project Structure

  • backend/ - Hono API server with caching logic
  • frontend/ - Simple web interface with cached sites viewer
  • shared/ - Shared utilities and types
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.