Skip to content

Repository files navigation

sandybridge.io

Deploy on Railway License: MIT License: CC BY-NC-SA 4.0

My personal site and blog, built with TanStack Start and deployed on Railway.

This is a full rewrite of the original Go + HTMX version.

Stack

Features

  • 9 color themes with animated corona glow borders (CSS @property + SVG filter)
  • Three.js wireframe shapes with mouse lookAt and scroll parallax
  • Interactive command palette (Ctrl+K) with search, navigation, and easter eggs
  • Blog with tag filtering, series navigation, read time, share buttons, and code copy
  • React island architecture — interactive components embedded in server-rendered markdown
  • Portfolio grid with GitHub workflow status badges
  • Redis-backed view tracking with analytics dashboard (heatmap, flamegraph, sparklines)
  • RSS feed, sitemap, and robots.txt

Getting Started

bun install
bun run dev

Open http://localhost:5173.

Build

bun run build
bun run start

Project Structure

src/
  routes/
    __root.tsx          # Root layout: meta, nav, footer, effects
    index.tsx           # Homepage: boot sequence, hero, projects
    blog/               # Blog list, $slug, tag/$tag
    portfolio/          # Portfolio list, $slug
    til/                # Today I learned
    docs/               # Documentation
    api/                # Server routes (views, contact, search, feed, etc.)
  components/
    effects/            # Visual effects (3D background, cursor glow, grain)
    features/           # Site features (contact modal, portfolio grid, speed dial)
    home/               # Homepage (boot sequence, hero, typewriter, tech stack)
    blog/               # Blog components (TOC, series nav, share, view counter)
    mdx/                # MDX islands (Sha3Demo, RaftDemo, DragTreeDemo)
    theme/              # Theme provider, picker, settings
    search/             # Command palette, mobile search
    nav/                # Navigation bar, mobile nav
    ui/                 # Shared UI (copy button, lightbox, skeleton)
    analytics/          # Stats dashboard (heatmap, flamegraph, charts)
  lib/
    content.ts          # Markdown pipeline (gray-matter + unified + shiki)
    themes.ts           # Theme definitions from @thesandybridge/themes
    views.ts            # Redis-backed view tracking
    redis.ts            # Redis client (optional, degrades gracefully)
    github.ts           # GitHub API (contributions, workflow runs)
  styles/
    globals.css         # Theme variables, Shiki tokens, base styles
content/
  *.md                  # Blog posts (YAML frontmatter)
  portfolio/*.md        # Portfolio items
  til/*.md              # TIL entries
server-entry.ts         # Bun HTTP server wrapping TanStack Start fetch handler

License

This repository has a dual license:

For full details, see the LICENSE file.

About

Portfolio, Blog, Playground

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages