• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dinavinter

dinavinter

registry

Public
Like
registry
Home
Code
5
README.md
H
http
C
sync
H
zon
H
zons
Branches
1
Pull requests
Remixes
1
History
Environment variables
1
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
6/7/2025
Viewing readonly version of main branch: v68
View latest version
README.md

Zon File Management System

A comprehensive file management system for Val Town that handles different file types including HTTP, cron, email, JSON, and more with collaborative editing capabilities.

Features

  • 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

File Structure

  • /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

File Types Supported

  • 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

Usage

  1. Browse all zons at /zons
  2. View individual zon files at /zon/{zon-name}
  3. Edit files at /http/{zon-name}/{file-name}
  4. Files are automatically synced and support real-time collaboration

API Endpoints

  • GET / - Redirects to main gallery
  • GET /zons - List all zons
  • GET /zon/{name} - View specific zon files
  • GET /http/{zon}/{file} - Edit specific file
  • POST /http/{zon}/{file} - Save file changes
  • GET /api/files/{zon} - Get file list for zon
  • GET /api/file/{zon}/{file} - Get specific file content
FeaturesVersion controlCode intelligenceCLI
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
© 2025 Val Town, Inc.