• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
jamiedubs

jamiedubs

valtownGeocities

Remix of jamiedubs/databin
Public
Like
1
valtownGeocities
Home
Code
4
backend
1
frontend
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 milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
11/21/2025
Viewing readonly version of main branch: v32
View latest version
README.md

valtownGeocities - Custom Website Publisher

A modernized custom website publisher that allows you to store and serve HTML websites via Val Town. Originally designed to work with Glif for AI-generated websites, but now supports any HTML content!

✨ What's New (Modernized Version)

  • Large HTML Support: Now handles very large HTML files (up to 10MB)
  • Better Error Handling: Comprehensive validation and user-friendly error messages
  • Modern UI: Clean, responsive web interface with real-time feedback
  • Admin Features: List, view, and delete published websites
  • Improved API: RESTful endpoints with proper HTTP status codes
  • Legacy Compatibility: Maintains backward compatibility with existing URLs

πŸš€ Quick Start

Web Interface

Visit the main URL to access the modern web interface:

https://your-val-url.web.val.run/

API Usage

Publish a Website

# POST HTML content curl -X POST "https://your-val-url.web.val.run/site?key=my-site" \ -H "Content-Type: text/html" \ -d "<html><body><h1>Hello World!</h1></body></html>" # POST JSON with HTML curl -X POST "https://your-val-url.web.val.run/site?key=my-site" \ -H "Content-Type: application/json" \ -d '{"data": "<html><body><h1>Hello World!</h1></body></html>"}'

View a Website

# View in browser https://your-val-url.web.val.run/site?key=my-site # Get JSON response https://your-val-url.web.val.run/site?key=my-site&format=json

πŸ”§ API Endpoints

MethodEndpointDescription
GET/Web interface (admin panel)
GET/site?key=<key>View published website
POST/site?key=<key>Publish HTML content
GET/admin/listList all published websites
DELETE/admin/site?key=<key>Delete a website

πŸ“ Features

  • Large File Support: Handle HTML files up to 10MB
  • Key Validation: Secure key format validation (alphanumeric, hyphens, underscores)
  • Content Processing: Automatic cleanup of common formatting issues
  • Metadata Tracking: Track creation/update times and file sizes
  • Legacy Support: Backward compatible with old URL patterns
  • Modern UI: Responsive web interface with TailwindCSS

πŸ”— Integration with Glif

You can still use this with Glif for AI-generated websites:

  1. Run a Glif that generates HTML: https://glif.app/@jamiedubs/glifs/clqecfqdd000tc3vk4i208jl3
  2. The Glif will POST the generated HTML to your valtownGeocities instance
  3. Access your website at: https://your-val-url.web.val.run/site?key=YOURKEYHERE

πŸ—οΈ Project Structure

β”œβ”€β”€ backend/
β”‚   └── index.ts          # Main Hono application
β”œβ”€β”€ frontend/
β”‚   └── index.html        # Modern web interface
β”œβ”€β”€ main.tsx              # Entry point (HTTP trigger)
└── README.md            # This file
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2026 Val Town, Inc.