Public
Like
registry
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.
Viewing readonly version of main branch: v103View latest version
A comprehensive file management system for Val Town that handles different file types including HTTP, cron, email, JSON, and more with collaborative editing capabilities.
- Multi-file type support: HTTP, cron, email, JSON, TypeScript, and more
- Collaborative editing: Real-time collaboration using YJS
- TypeScript editor: Full-featured TypeScript editor with syntax highlighting
- File type detection: Automatic file type detection and appropriate handling
- Val Town integration: Direct integration with Val Town API for file management
/zons- Main gallery view showing all zons/zon- Individual zon view with file listings/http- File editor interface with TypeScript support/sync- Background sync service for YJS collaboration
- HTTP (
http) - Web endpoints and APIs - Cron (
cron) - Scheduled tasks - Email (
email) - Email handlers - JSON (
json) - Configuration and data files - TypeScript (
ts) - General TypeScript files - JavaScript (
js) - JavaScript files - Markdown (
md) - Documentation files
- Browse all zons at
/zons - View individual zon files at
/zon/{zon-name} - Edit files at
/http/{zon-name}/{file-name} - Files are automatically synced and support real-time collaboration
GET /- Redirects to main galleryGET /zons- List all zonsGET /zon/{name}- View specific zon filesGET /http/{zon}/{file}- Edit specific filePOST /http/{zon}/{file}- Save file changesGET /api/files/{zon}- Get file list for zonGET /api/file/{zon}/{file}- Get specific file content