Blog
Engineering & product.
Technical deep-dives, product updates, and thoughts on building software for global markets from Cairo.
Featured
How we built a 12-package monorepo that powers 9 products
A deep dive into the Turborepo + pnpm workspace architecture behind Nixpx — how shared packages eliminate duplication and let us ship new vertical SaaS products in weeks.
HyphalLLM: replacing the KV cache with bio-inspired memory
How fungal mycelium networks inspired a new approach to long-context LLM inference — and why it reduces memory usage by up to 60% compared to standard KV cache implementations.
All posts
One billing package, seven payment gateways: how @nixpx/billing works
Building a unified payment abstraction that auto-routes to Stripe for global clients, Paymob for Egypt, and Tap Payments for the Gulf — with a single API call and zero gateway-specific code in your app.
Offline-first POS: handling 500 queued transactions without network
How RestaurantOS keeps processing sales during internet outages — the sync architecture, conflict resolution strategy, and the IndexedDB queue that makes it work.
Offline license keys with RSA-2048: how @nixpx/onprem validates without a server
A walkthrough of the cryptographic license key system that lets on-premise customers activate and validate their Nixpx installation with zero external network calls after the first activation.
Zero-flash light/dark theme in Next.js 14 App Router
How we built the @nixpx/ui ThemeProvider with SSR cookie detection, an inline blocking script, and Tailwind class strategy — so users never see the wrong theme for even one frame.