Malhodha — Native Android PDF Reader & Study Platform
144Hz stylus inking engine, double-buffered PDF zoom, and AI lecture workflows
High-performance native Android PDF reader and digital note-taking platform engineered specifically for 144Hz tablets (tuned for Xiaomi Pad 6), paired with a lightweight Bun/Hono backend for study workflows.
The Problem
Standard Android PDF note apps suffer from perceptible stylus latency on high-refresh-rate tablets, sluggish stroke erasing on dense lecture slides, and disconnected workflows between Telegram lecture files, OCR translation, and voice recordings.
Architecture & Stack
Monorepo separating the low-latency Jetpack Compose tablet client (Room persistence + Hilt DI) from the Bun.js + Hono API layer handling Telegram lecture ingestion and translation/OCR orchestration.
Stack
Android Client
Backend & Sync
Rendering Engine
Key Highlights
- 1.
144Hz Front-Buffered Stylus Engine & Spatial QuadTree
Bypassed standard frame-buffering delays with a 144Hz front-buffered stylus inking pipeline, backed by Spatial QuadTree spatial indexing for O(log n) stroke hit-testing and instant eraser responsiveness.
- 2.
Double-Buffered PDF Zoom Engine (clearPDF)
Engineered a Google Drive-style fluid PDF viewer powered by the custom clearPDF double-buffered tile zoom engine so pinch-zooming keeps crisp vector clarity without blank-frame flicker.
- 3.
Dual-Mode & Hold-to-Snap Shape Recognition
Implemented geometric shape recognition supporting both automatic dual-mode detection and intentional hold-to-snap gestures for clean lines, arrows, rectangles, and circles during live lectures.
- 4.
Telegram Lecture Ingestion, Hybrid OCR & Audio
Connected lecture workflows directly to Telegram channels alongside hybrid OCR (with local ML Kit fallback), floating scientific translation cards, and synchronized audio recording.
- 5.
Solid-Design Toolbar & Custom Arabic Branding
Crafted a distraction-free workspace with a solid-design magnetic floating toolbar, icon-only action lists, and custom cyan identity built around the Arabic letter «ظ».