Overview
Val Town is a collaborative platform for writing and deploying TypeScript functions, enabling you to build APIs and schedule tasks directly from your browser.
OverviewCopied!
Val Town enables you to run Steel + Puppeteer scripts as serverless functions with one-click deployment. Write your automation code in the browser, schedule it to run on intervals, or trigger it via API endpoints - all without managing servers or containers.
Val Town runs on the Deno runtime and supports JavaScript, TypeScript, JSX, and TSX. For Puppeteer integrations, we recommend using the deno-puppeteer library as shown in the below starter template.
RequirementsCopied!
-
Steel API key (any plan, get a free key here)
-
Val Town account (free tier available)
-
Basic JavaScript/TypeScript knowledge
-
Familiarity with Puppeteer
Quickstart TemplateCopied!
How to use this Val:
-
Get a free Steel API key at https://app.steel.dev/settings/api-keys
-
Add it to your Val Town Environment Variables as
STEEL_API_KEY
-
Fork this val
-
Click
Run
on that val -
View the magic in the logs ✨
Additional ResourcesCopied!
-
Val Town Documentation - Learn more about Val Town's features
-
Session API Overview - Learn about Steel’s Sessions API
-
Support - Get help from the Steel team