• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
petermillspaugh

petermillspaugh

docs

markdown docs site
Public
Like
docs
Home
Code
6
components
4
images
1
pages
6
styles
1
README.md
H
index.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
index.tsx
https://petermillspaugh--de16c252aa8b11f084990224a6c84d84.web.val.run
README.md

Docs (experimental, WIP)

The Val Town docs, built in Val Town. Prior art: the Val Town blog, hosted in Val Town.

How it works

  • Markdown files for each docs page are stored in the /pages directory
  • A Hono router in index.tsx traverses that directory^ to serve each page
  • Markdown files are parsed using marked and gray-matter
  • All pages are SSR'd using hono/jsx to return static HTML
  • React components live in /components. Nav.tsx also traverses /pages to construct the sidebar
  • Pages are styled with vanilla CSS in /styles/index.css
  • Images are uploaded via drag and drop in /images

TODO

  • Migrate all content from docs.val.town
  • Table of Contents (for each page)
  • Search
  • Syntax highlighting for code blocks
  • Sidebar ordering
  • Copy as markdown
  • Open in Claude/ChatGPT
  • Edit in VT button
  • Caching on Cloudflare CDN
  • Favicon
HTTP
  • index.tsx
    petermillspaugh--de…84.web.val.run
Code
componentsimagespagesstylesREADME.md
H
index.tsx
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.