Harshal Sawant
I write software for Android phones and Linux machines, mostly performance work: which core a thread runs on, where the battery goes, what a request spends its time doing. I also build small self-hosted services. Lately I've been learning how Solana programs work and writing down what I find.
Based in Mumbai. Email harshalsawant.dev@gmail.comor find me on GitHub, LinkedIn and X. Resume (PDF)
Work
All work- AndroidTweakerA battery monitor and performance tuner for Android.2024–now
- PaperLabA self-hosted PDF workshop with 41 tools, from merge and compress to OCR, redaction and chat with a document.2026–now
- CoreTaskOptimizerA C++ root module that runs once at boot, finds Android's critical threads and pins them to the right CPU cores with direct scheduler, priority and I/O syscalls.2024–now
- HaruStreamA self-hosted streaming front end with plugin-based content sources, TMDB metadata, a personal library and an HLS and DASH player that proxies streams through its own API.2026–nowBuilding
- TermChatReal-time group chat in the terminal.2026Complete
- NixOS workstationMy laptop as a Nix flake. NixOS and Home Manager modules for an AMD machine, sops-nix secrets, a Nixvim editor and a hardened kernel configuration.2025–2026Paused
- harshalsawant.comThis site. A static Astro build served by a Cloudflare Worker, with Markdown content, no client framework and a visit counter in a SQLite-backed Durable Object.2026–now
Writing
- A security checklist for Solana programs
- How Solana transaction fees work
- Measuring and reducing compute units in Solana programs
- How AndroidTweaker 3 is structured
- Anchor account constraints: what each one checks
- Pinning Android threads with raw syscalls
- Program derived addresses on Solana
- Solana's account model, for systems programmers
- Designing PaperLab's job pipeline
- A chat server in 90 lines of Tokio
- Tracing a slow third-party call with OpenTelemetry
- Installing Linux without a USB drive, using GRUB
- Recovering a lost Linux partition with TestDisk
- Hardening a NixOS desktop with sysctl
All 14 posts, or by topic.