Stack
The tools, technologies, and core principles I rely on to build, deploy, and maintain my projects.
Technologies
- Astro - My framework of choice for ultra-fast content and portfolio websites.
- Flutter & Dart - For multiplatform mobile and desktop application development.
- Next.js - For building full-featured dynamic web portals, like Hamro Barnamala.
- Python - Scripting, scraping pipelines, scraping NEPSE data, and LLM orchestration.
- Cloudflare Workers - Lightweight serverless APIs, plus static asset hosting for this site.
- PostgreSQL & Cloudflare D1 - Reliable databases for managing portfolio metrics and content.
Typography & Assets
This site is built with zero external fonts or render-blocking third-party scripts. It utilizes native, modern system sans-serif font stacks (like San Francisco, Segoe UI, Roboto) for sub-second page loads.
Architecture Principles
- Zero JS by Default - Only ship client-side JavaScript when absolutely required (like the light/dark theme switch).
- Free-Tier First Hosting - Running production-grade applications on Serverless platforms for $0/mo where possible.
- Fully Prerendered - Every page on this site is built to static HTML and served from Cloudflare's edge as an asset, so a page view never waits on a server render.
- Deploy From the CLI - One
npm run deploy: generate OG cards, type-check, build, thenwrangler deploy. No CI service in the loop.
How This Site Is Built
Astro with the Cloudflare adapter, deployed as a Worker with static assets. Posts are Markdown in a content collection with a typed schema. Every OG card is generated at build time with Sharp and cached, so a build only redraws the cards that actually changed. Search is a static JSON index filtered in the browser: no search service, no API call per keystroke.