Val Town Docs
Val Town is a collaborative website to create and scale JavaScript functions. Create APIs, crons, store data – all from the browser, and deployed in miliseconds.
What is a val? Learn about the 4 types of vals: Script, HTTP, Cron, and Email
What is a project? Groups of vals, files, and folders, versioned together
Where to start
If you’re new to Val Town, we recommend starting with Townie, our AI assistant that can write vals for you.
We also recommend our quickstarts.
Your first HTTP val Create a link in bio website
Your first cron val Send yourself a daily weather email
Val Town Standard Library
Our standard library provides free hosted services.
SQLite Store and retrieve structured data
Blob Storage Store and retrieve any data
OpenAI Use the OpenAI API
Email Send emails
Proxied Fetch Make requests from anonymous IP addresses
API and SDK
You can access Val Town programmatically via our REST API or JavaScript SDK.
Contact us
We’re here to help! If you have any questions or feedback, please reach out to us on Discord or email.