Sriganesh Srinivasan
← All work

srig.tech.

This portfolio, designed and built from scratch

2026–now · Solo — design and build · Active

Code ↗
srig.tech
Problem
Recruiters skim a portfolio in about 30 seconds. It has to be fast and easy to scan, and it still has to feel like me.
Built
A static Astro site. Projects are MDX files checked against a schema, the hero is a hand-written WebGL shader, Hubert the guide bird jumps visitors to what they want, and videos are compressed and served from Cloudflare R2.
Stack
Astro, TypeScript, Tailwind CSS, daisyUI, MDX, WebGL, Cloudflare R2, Vercel
Outcome
Pages ship as plain HTML with no framework runtime. Cached videos start arriving in about 60–75 ms, roughly twice as fast as uncached.

Design choices

I treated the site as a project of its own, so every choice is deliberate:

Hubert’s easter eggs

Spoilers, if you’d rather find them yourself:

All of it respects reduced-motion settings: no flights or spins, just his replies.

Why Astro

A portfolio is mostly content that doesn’t change between visits, so I chose a framework built for content sites rather than apps:

How it works

How this site is built and servedContent lives in git as MDX and YAML checked by Zod schemas. Astro builds it into static HTML with optimized images, served by Vercel at srig.tech. Videos are compressed with ffmpeg by an npm script on the laptop and uploaded to Cloudflare R2, served from media.srig.tech through Cloudflare's cache. The browser loads pages from Vercel and media from R2.GITContentMDX + YAML, typedASTRO BUILDStatic HTMLoptimized imagesVERCEL CDNsrig.techpages, tiny scriptsMY LAPTOPRaw videophone or screen clipsnpm run mediaffmpegMP4 + WebM + posterCLOUDFLARE R2media.srig.techcached at the edgeVISITORBrowserPages from VercelVideos from R2No framework runtime:just the glow, filtersand Hubert scripts
Dashed: hosted services. Pages and media take separate paths and meet in the browser.

Videos don’t belong in git, so npm run media compresses each clip with ffmpeg into MP4 and WebM, saves a poster frame for the page, and uploads the files to Cloudflare R2. Every file is marked as never changing, so Cloudflare’s edge can cache it indefinitely. I measured the difference from Boston (median of 7 downloads each):

Clip First byte, uncached First byte, cached
TV Ambilight (1.8 MB) 124 ms 60 ms
Room strip (2.2 MB) 149 ms 69 ms
SimpliSync demo (1.1 MB) 135 ms 73 ms

Full downloads got about 30% faster too, around 150–170 ms instead of 220–250 ms.

What broke

Next projectTech Trends News Agent →