, Mark Joseph Colibao, home
Back to projects

Projects · Blurt

How Blurt is built

Blurt is an Android app I built to cover private details in screenshots before they are shared. Everything runs on the phone. There is no server, no account and no internet permission.

  • Personal project
  • In personal use
  • Exploring Google ML Kit

Every part

The whole app

Ways in on the left, the on-device models and rules in the middle, the clean copy on the right. The internet box stays empty.

Follow a journey:

Blurt runs only on your phone

Overview

Everything stays on the phone

The frame is the phone. Text recognition, detection and redaction all run on the device, and nothing in it reaches the internet.

Inside the phone

From screenshot to clean copy

Uploading a screenshot to hide what is in it would defeat the point, so Blurt has no permission to go online. Each layer below happens on the phone, whether you share a screenshot to Blurt or Auto-guard picks it up.

  1. 1 · read

    Read the image

    • Load the image the right way up, at full size
    • Read the text ML Kit, plus a zoomed-in pass for small print
    • Faces and codes ML Kit finds faces and QR codes
  2. 2 · find

    Find what to hide

    • Check every line phones, cards, accounts, IDs, codes, keys
    • Turn matches into boxes each box covers the words it found
    • You review tap a box to show it, or draw your own
  3. 3 · clean copy

    Make the clean copy

    • Draw on a new image solid boxes by default, the original stays as it was
    • Remove the metadata no location, device or time
    • Leak check reads the clean copy again and covers anything still readable
    • Save and share to the Blurt album, then any app
  • Nothing is logged. Not the image, the text it reads, or what it finds.
  • No cloud backup. App data is left out of backups and phone-to-phone transfers.
  • Android 8 and up. Built for Android 16, the current Google Play target.

Permissions

What it asks for

Redacting a screenshot you share or pick needs no permission at all. The rest is only for Auto-guard, which is off until you turn it on.

PermissionWhenWhy
NoneShare sheet and Photo PickerAndroid hands Blurt only the image you chose.
READ_MEDIA_IMAGESor selected photos onlyAuto-guard, and the tile if you allow itTo see a new screenshot as soon as it is taken.
POST_NOTIFICATIONSAuto-guardTo tell you what it found, with Share and Edit buttons.
FOREGROUND_SERVICE_SPECIAL_USEAuto-guardKeeps watching with Blurt closed, with a notification that shows it is on.
RECEIVE_BOOT_COMPLETEDAuto-guardTurns the watcher back on after the phone restarts.
INTERNETNeverRemoved from the app. The build fails if a library tries to add it back.

Saving to the Blurt album needs no storage permission on Android 10 and up.

Build and checks

How it is built and checked

There is no CI pipeline for Blurt. One Gradle check runs on my machine before every release.

Small modules. 13 Gradle modules. Feature screens never depend on each other.

Tests. JUnit, Robolectric and Compose UI tests, plus a set of test screenshots that must be fully covered.

Offline guard. A build step that fails if the internet permission ever shows up.

Release. Shrunk with R8 and signed: test APKs, and an app bundle for Google Play.

AI-assisted development

Built with Claude Code

Claude Code is my AI coding assistant on Blurt. I own the product, the architecture and every decision. The app is built one module per session, and each session starts from the same rules and ends with passing tests and an updated progress log.

repo setup: How the repo is set up for Claude Code
blurt/
├─ CLAUDE.md                rules for every session
├─ app/ core/ feature/
│  └─ CLAUDE.md             one per module, 13 in all
├─ .claude/commands/        start and end a session
└─ docs/
   ├─ requirements/         numbered requirements
   ├─ architecture/adr/     7 decision records
   ├─ design/               the screen designs
   └─ sessions/progress.md  what each session did

One module per session

  1. /start-moduleReads the rules, the module's CLAUDE.md and only the requirements it lists, then proposes a plan.
  2. I approve the planNothing is built until I say OK.
  3. Build with testsStays inside that one module.
  4. /end-sessionRuns the module's checks, updates the progress log and shows me the commit message.
  5. I test and mergeI try it on my own phone, then merge it myself.

Guardrails

  • Every change points to a requirement ID, in the code, the tests and the commit.
  • No network libraries, and the build checks it.
  • Never log the image, the text it reads or what it finds, not even while debugging.
  • Ideas outside the session's scope go in the progress log, not in the code.

Choices behind it

Why it is built this way

Offline, always

ML Kit's entity extraction could find more kinds of data, but it downloads its models, which needs the internet. Blurt uses the bundled text recognition and its own rules instead.

Solid boxes by default

Blurred or pixelated text can sometimes be read back. Blur and pixelate are still there as options, with a warning.

Logic in plain Kotlin

The detection rules don't touch Android, so hundreds of tests run quickly on any computer, without a phone.

Blurt is a personal project that I use on my own phone. I built it to explore Google ML Kit's on-device text recognition. The code is in a private repo.

Built with Claude Code as my AI coding assistant. The product, the architecture and the decisions are mine.