• Townie
    AI
  • Blog
  • Docs
  • Pricing
Log inSign up
stevekrouse

stevekrouse

original-vt-blog

Val Town Blog, hosted on Val Town
Public
Like
original-vt-blog
Home
Code
4
blog-posts
1
components
3
README.md
H
index.tsx
Branches
1
Pull requests
Remixes
1
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
/
README.md
Code
/
README.md
Search
4/2/2025
Viewing readonly version of main branch: v25
View latest version
README.md

Val Town Blog

Overview

The Val Town Blog migrated from Astro + Cloudflare Pages to being hosted directly on Val Town. This repository contains the code that powers the current blog implementation.

How It Works

Blog Architecture

  • New Posts: New blog posts are rendered directly from Val Town
  • Legacy Posts: For older blog posts, we proxy requests to the original blog hosted at Cloudflare Pages
  • Homepage: The homepage is dynamically constructed by:
    1. Parsing the RSS feed from the old blog
    2. Injecting new posts hosted on Val Town into the feed
    3. Rendering the combined content

Proxy Mechanism

The main index.tsx file handles proxying requests to the old blog when necessary. When a user visits a URL that corresponds to an old blog post, the request is forwarded to the original Cloudflare Pages deployment.

Technical Details

  • The old blog URL is: https://val-town-blog.pages.dev/
  • Requests are proxied with their original headers and method
  • New content is integrated seamlessly with the old content

Development

When adding new blog posts:

  1. Create the post directly in Val Town
  2. The homepage will automatically include the new post in its listing

For modifications to the proxy behavior or homepage rendering, update the index.tsx file.

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.