Public
Likestevekrouse_dot_com
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.
main.tsx
https://artivilla--019c8d2476d3767ca68a2d9e3853ca91.web.val.run
This project hosts my personal website.
It used to live on Github Pages, which is why I proxy over requests to certain blog posts over to the Github Pages site still.
Rendering mermaid diagram...
| File | Role |
|---|---|
main.tsx | HTTP entry point — Hono router handling /, /source, and /* |
index.tsx | Renders the homepage with projects, essays, podcasts, and analytics |
analytics.ts | Tracks page hits in SQLite; returns today & monthly counts |
post-helpers.tsx | Loads posts from posts/ dir (.tsx, .md, .html), falls back to GitHub Pages |
PostTemplate.tsx | Shared blog post layout with OG tags, water.css, and nav header |
helpers.tsx | Shared <Link> component |
posts/ | Blog posts in .tsx, .md, or .html format |
- Speed up page load by loading sqlite data later like in @healeycodes/steve_web
- Store more (legally storable) analytics data, and maybe make a sparkline!
- Add some sort of way to contact me
- Move over all my blog posts from Github Pages (maybe into @std/blob as a CMS?)