TOS
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: v5View latest version
A lightweight chat application built on Val Town.
- Send and receive messages in real-time
- Simple username selection
- Message history
- Clean, responsive UI
backend/- Server-side codeindex.ts- Main HTTP API entry point using Honodatabase/messages.ts- Database operations for messages
frontend/- Client-side codeindex.html- Main HTML pageindex.js- Frontend JavaScriptstyle.css- Basic styling
- Enter your username
- Type a message in the input field
- Press Enter or click Send to post your message
- Messages will automatically update every few seconds
- Backend: Hono, SQLite
- Frontend: HTML, CSS, JavaScript
- Real-time updates via polling