Retemp
A type-safe email templating library for React Email and Resend. Uses discriminated unions and automatic prop inference to catch template errors at compile time, eliminating runtime bugs in transactional email systems.
Software Engineer building fast, scalable software, developer tools, and open-source projects.
I specialize in Rust, TypeScript, React, Next.js, PostgreSQL, and Linux. I enjoy building high-performance applications, backend systems, developer tooling, and products with clean architecture and excellent user experience.
I'm a software engineer based in Lahore, Pakistan. I build high-performance applications, backend systems, and developer tools with a focus on clean architecture and reliability.
My work spans frontend and backend development — from crafting responsive interfaces with React and Next.js to designing scalable APIs and services with Rust, Node.js, and PostgreSQL. I care deeply about performance, type safety, and developer experience.
Outside of shipping code, I'm interested in open source, operating systems, computer science fundamentals, and the intersection of software engineering with mathematics, physics, and philosophy. I believe the best software is built with intention — nothing extra, every part doing exactly one job.
A collection of projects I've built — from open-source libraries to full-stack applications. Each one solves a real problem with thoughtful engineering.
A type-safe email templating library for React Email and Resend. Uses discriminated unions and automatic prop inference to catch template errors at compile time, eliminating runtime bugs in transactional email systems.
A comprehensive computer networking documentation platform. Built with Astro and Starlight to deliver fast, searchable, and well-organized technical content for networking concepts and protocols.
An AI-powered platform that generates personalized children's storybooks. Features a React frontend with a Bun.js and Hono backend, leveraging AI to create unique, illustrated stories from user inputs.
A full-featured admin panel for headless e-commerce stores. Implements a four-tier RBAC system with Next.js 15, Drizzle ORM, and Better Auth for secure, role-based access control across the entire application.
The languages, frameworks, tools, and concepts I work with daily to build reliable software.
I believe in building in the open. Open-source software is how the developer ecosystem grows, and I enjoy contributing tools, libraries, and experiments that others can learn from and build upon.
From type-safe email templating to developer tooling and Rust libraries, my open-source work reflects the same standards I apply to production software — clean APIs, thorough documentation, and real-world usefulness.
View GitHub Profile →Type-safe email templating with React Email, Resend, and discriminated unions for compile-time prop validation.
CLI utilities, build plugins, and productivity tools designed to improve the day-to-day developer workflow.
Small libraries and proofs of concept exploring Rust's type system, memory safety, and systems programming.
Writing about software engineering, programming languages, and the ideas that shape how we build things.
How Rust's ownership model and type system fundamentally shift the way you approach error handling, memory, and architecture.
Coming SoonA practical guide to sharing types between frontend and backend using TypeScript, Zod, and end-to-end validation.
Coming SoonBreaking down process management, memory allocation, and file systems — the fundamentals every developer should know.
Coming SoonHow studying formal sciences shapes the way you approach complexity, abstraction, and elegance in code.
Coming Soon