Level 1Visitor
0 XP ·
…
◀ This portfolio

This portfolio

How it's built

Astro static sites, a small Go API with SQLite, Caddy on an always-free VM, and CI that tests everything before it deploys.

The stack

  • Astro builds the portfolio and the learn site as static HTML, from one content/ folder.
  • A Go API with SQLite handles sign-in (OAuth / OpenID Connect), saved progress, the coin shop, live presence over WebSockets and the admin endpoints.
  • Caddy serves everything from one always-free Oracle Cloud VM with automatic HTTPS.
  • GitHub Actions runs unit tests, Go tests and a browser test suite against the real API binary, then deploys over SSH with a key restricted to rsync.

Clean URLs with themes

URLs never contain the theme. Each theme is built separately, the visitor's choice lives in a cookie, and Caddy serves the matching build for the same path.

Trusting points from a browser

Clients can send anything, so the API only accepts events listed in a game catalog generated from the content at build time. Points come from the catalog, never from the browser, and the site and API are built from the same commit so they always agree.

Content as code

The admin panel commits through the GitHub API. An invalid edit fails the build instead of breaking the live site, and every change is versioned.

Achievements

Level 1 · Visitor · 0 XP —

Save your progress

Sign in to keep your points on every device and spend coins to unlock themes and colour palettes. Everything you earned as a guest comes with you.

Loading sign-in options…

We store the name and email address your provider shares, to save your progress. Shivam Sharma may use your email to get in touch. You can delete your account at any time from this window. Privacy

Shop