How this site is built.

I moved this site off a hosting platform onto my own server and rebuilt it the way I build Laayo: Go behind, Next.js in front, nothing I cannot debug.

Things to try

  • X

    X-ray mode: see which API call and cache drew each part of the page.

  • ⌘K

    Find anything, or type a question to ask about my work.

  • ssh sakshyambaral.com.np -p 2222

    This whole site, in your terminal.

  • Play an order

    Watch one pretend order travel through Laayo's backend.

  • Status

    Live uptime, speed and deploys for this site.

  • Guestbook

    Sign in with GitHub and leave a note.

  • My setup

    The desk, with hotspots on every piece of gear.

Speed from real visitors

75th percentile over the last 28 days, measured in visitors' browsers.

Largest paint

0.67 s

LCP, 12 visits

Interaction

64 ms

INP, 7 visits

Layout shift

0.059

CLS, 1 visits

First paint

0.67 s

FCP, 12 visits

Server response

318 ms

TTFB, 12 visits

The stack

Pages
Next.js 14 with React Server Components. Content is fetched on the server and cached, then refreshed the moment I publish.
API
A small Go service with SQLite in WAL mode. It serves content, the contact form, analytics and the admin.
Admin
A private studio on its own subdomain. Passkey sign-in only, no passwords. Every change is written to an audit log.
Hosting
My own Linux server behind Nginx, with Let's Encrypt certificates and Cloudflare DNS. No platform in between.
CV
The CV page and the PDF come from the same data. When I edit my experience, headless Chromium prints a fresh PDF.
Analytics
First-party and cookie-free. IP addresses are cut to the network before storage; the network owner comes from a public dataset, not a tracking company.
Writing
Markdown stored in the database, rendered on the server, sanitised, with code highlighting and diagrams drawn as React SVG.
Ask
Questions are matched against my own posts with a small BM25 search in Go, and Claude writes a short answer that may only use those passages and must cite them.
Terminal
The SSH version is a Go program built on Bubble Tea. It reads the same public API, has no shell behind it, and limits every session.
Status
The API checks the site and itself every minute. Uptime, latency and deploys are on the status page.
Source
Private. Happy to walk through it in an interview.

Build spendcap1 · How Laayo is built