← Projects
TextPro app icon

TextPro

A browser-based text manipulation studio — counting, splitting, diffing, and reformatting text, plus a Gemini-powered AI assistant, packaged as an installable offline PWA.

React TypeScript Vite Tailwind CSS Gemini API PWA

TextPro is a single-page toolkit that bundles the text utilities I kept re-implementing for one-off scripting tasks — counting, splitting, diffing, and reformatting — into one fast, installable web app.

What I built

A full text-tool suite in one interface. Text counter with live word/character/reading-time analytics, a splitter for breaking text on custom delimiters, a reformatter covering case conversion and whitespace/line cleanup, a three-mode (line/word/character) diff viewer, and JSON/HTML/Markdown formatters — all client-side.

AI assistant. Integrated Google’s Gemini API for summarization, grammar correction, translation, tone adjustment, and structured data extraction directly inside the editor.

Offline-first PWA. Service worker caching and a web manifest make TextPro installable on desktop and mobile and fully usable without a network connection — session state, inputs, and dark mode persist to localStorage.

Privacy by default. All text processing stays in the browser; the only outbound calls are to Gemini, and only when the AI assistant is explicitly invoked.

Why I built it

I was repeatedly opening scratch scripts to count words, diff two blobs of text, or reformat JSON, and wanted one page that did all of it with no account, no server round-trip, and no data leaving the browser unless I asked for AI help.