Val Town is a social website to run server-side JavaScript. Create APIs, scheduled functions, email yourself, and persist small pieces of data — all from the browser and instantly deployed.
Getting Started
- Sign up
- Watch our demo video
- Join our Discord
Reference
What’s a Val?
HTTP Val
Scheduled Val (Cron)
Email Handler Val
Val Town Standard Library
Secrets
Permissions
Val Town API
Gotchas
Guides
Creating a webhook
Rendering HTML
Saving data from a web page
Save HTML Form Data
Send emails
Import from NPM
Embedding vals in other sites
Web scraping
Hosted Puppeteer (Browserless)
Vals need to be exported
Upgrading
Get a Github user
Github user’s stars (pagination)
Receiving a GitHub Webhook
Create a Telegram echo bot
💬 Val Town Telegram Bot
Upload and download from AWS S3
Send Discord message via webhook
How to make a Discord bot hosted 24/7 for free in 6 steps
Create a Discord Welcome Bot
Send messages to Slack
A Slack bot that replies to mentions
Persistence & databases
Val Town Blob Storage
Val Town SQLite
Upstash
Neon Postgres
Supabase
Airtable
PlanetScale
Utilities
Import from URLs
Lodash
QR Code
Generate PDFs
RSS
Weather
Website Uptime Tracker
Push Notifications
Security & Responsible Disclosure
Contact Us