Skip to content

About

My personal website sourcecode! Currently written in Astro. Deployed to Cloudflare Workers

Topics

Resources

Stars

45 stars

Watchers

1 watching

Forks

Repository files navigation

The Elian.codes site

The full source code for Elian's personal website and blog.

Current stack

  • Astro 7, fully static, with plain component-scoped CSS
  • Vite+ (vp) for formatting, linting and type-aware checks
  • Void deploying to Cloudflare Workers static assets
  • Design: V5 "Signal" (fluo pink #FF48B0, process blue #0078BF, Big Shoulders Display, Martian Mono, Archivo)

Getting started

Requires Node 26 (>=26.13.1, see .node-version) and pnpm 12 (pinned via packageManager).

pnpm install
pnpm dev        # http://localhost:4321
pnpm check      # vp: format, lint, type-check
pnpm build      # astro check + astro build → dist/

Content

Everything on the site is computed from content collections in src/data/:

Source What it feeds
blog/*.md Articles, tag pages, RSS (/blog.xml), markdown twins (/blog/<slug>.md), OG images
tour.yaml Every talk, panel, stream and podcast: the tour log, home stats, "caught on stage"
talks.yaml Bookable talks in the speaker kit
site.ts Navigation, socials, lineup, organized events, bio, ticker copy

Add a talk by adding an entry to tour.yaml; the counts for stages, countries and continents update everywhere.

Deployment and hosting

Pushes to main deploy through GitHub Actions (.github/workflows/ci.yml): check, build, then void deploy --platform cloudflare --dir dist to the elian-codes Worker.

The deploy job needs:

  • secret CLOUDFLARE_API_TOKEN (Workers Scripts: Edit)
  • secret CLOUDFLARE_ACCOUNT_ID (only if the token can reach more than one account)
  • variable ENABLE_ANALYTICS set to true to load analytics in the production build (optional)

Deploying by hand:

pnpm build
pnpm exec void deploy --platform cloudflare --dir dist

Redirects and headers live in public/_redirects and public/_headers. DNS is managed through Cloudflare.

Previous technologies

This website has gone through a few iterations over time. Earlier versions used:

About

My personal website sourcecode! Currently written in Astro. Deployed to Cloudflare Workers

Topics

Resources

Stars

45 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages