FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
pomdtr
pomdtrcdn
Public
Like
4
cdn
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
main.tsx
https://pomdtr--5b53bba2277f11f0b46e569c3dd06744.web.val.run
README.md

Val Town CDN

If you only want to get the source of a val, you should use https://esm.town/ instead.

Usage

curl https://pomdtr-cdn.web.val.run/<author>/<name>.<extension>[?v=<version>]

To see the code of this val, use https://pomdtr-cdn.web.val.run/pomdtr/cdn.ts

Examples

Fetching the val code

$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.tsx

You can also use js, jsx and ts extension (only the content-type change, there is no transpilation).

Fetching private val

Pass an api token as an username

$ curl "https://<token>@pomdtr-cdn.web.val.run/pomdtr/privateVal.ts"

Fetching the val README

$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.md

Getting an image

$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.png

Fetching a specific version of a val

$ curl https://pomdtr-cdn.web.val.run/pomdtr/cdn.ts?v=66

You need to be authenticated to use this method.

Fetching the val metadata

$ curl https://pomdtr-cdn.web.val.run/pomdtr/add.json
HTTP
  • main.tsx
    pomdtr--5b…44.web.val.run
Code
README.md
H
main.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesVersion controlCLIAI agentsCode intelligenceSlack integrationsGTMPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.