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

  1. Sign up
  2. Watch our demo video
  3. 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

GitHub-Emblem.png

Get a Github user

Github user’s stars (pagination)

Receiving a GitHub Webhook

Screenshot 2023-06-23 at 13.34.13.png

Create a Telegram echo bot

💬 Val Town Telegram Bot

aws logo.png

Upload and download from AWS S3

Discord-logo.png

Send Discord message via webhook

How to make a Discord bot hosted 24/7 for free in 6 steps

Create a Discord Welcome Bot

Slack-logo-RGB.png

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