Sahaj Tools
Privacy-first file utilities platform • Production
Architect, Owner, and Maintainer — I designed and developed the architecture, manage deployments, and handle ongoing maintenance for high performance, reliability, and usability.
A lightweight suite of browser-based file utilities designed for simplicity and speed. Built with Angular 18+ using modern patterns including Standalone Components, Signals-based reactivity, and lazy-loaded modules. All file processing happens entirely client-side—files are never uploaded to servers, ensuring maximum privacy. Visit sahaj.tools to explore the live application.
Architecture & Technical Highlights
- •Privacy-first architecture: 100% client-side processing using Web Workers for heavy operations, ensuring zero file uploads and immediate memory cleanup
- •PWA capabilities: Service Worker implementation for offline support, asset caching, and automatic update management
- •Performance optimizations: Code splitting, lazy loading, bundle optimization achieving <100KB initial bundle and Lighthouse scores >90
- •Backend infrastructure: Supabase (PostgreSQL + Edge Functions) for account management and payment processing, with Row Level Security
- •Deployment: Cloudflare Pages with global CDN, automated CI/CD via GitHub Actions, and preview deployments for every PR
- •Internationalization: Multi-language support (10+ languages) with lazy-loaded translations and dynamic language switching
- •Payment integration: Multi-provider payment system (Razorpay active, Stripe/PayPal ready) with webhook verification and device management
- •Analytics: Self-hosted Umami Analytics (forked from open-source repo) deployed on Railway infrastructure for privacy-compliant, GDPR-friendly tracking without cookies
Key Technical Challenges Solved
- •Dual PDF library approach for handling both encrypted and unencrypted PDFs in merge/split operations
- •Chunk loading error recovery system that automatically detects version mismatches after deployments and reloads the app
- •Analytics event consolidation reducing redundant API calls from 6+ to 2 per tool navigation
- •Service Worker update management with automatic detection, background updates, and seamless version transitions
Tech Stack: Angular 18+, TypeScript, Tailwind CSS, Supabase, Cloudflare Pages, Web Workers, Service Workers, pdf-lib, heic2any, browser-image-compression, Razorpay, Umami Analytics
Live Site: https://sahaj.tools