rom-brd/blok

Physical app blocker for Android - tap an NFC tag to lock distracting apps

โ˜… 0Forks 0GitHub โ†—Compare

Project website โ†—

README

BLOK

Your phone. Your rules.

BLOK is a physical app blocker for Android. Tap an NFC tag to lock distracting apps โ€” tap again to unlock. The physical action is the point: friction you can't swipe away.

๐ŸŒ Website: https://blok-app.com ๐Ÿ“ฆ Download: grab the latest APK from Releases

Why BLOK

  • Physical toggle โ€” any standard NFC tag (NTAG213/215/216 stickers, cards, keychains) becomes your commitment device. No proprietary hardware.
  • 100% offline โ€” no accounts, no cloud, no analytics, no trackers. Everything stays on your device.
  • Focus spaces โ€” separate blocking profiles for study, work, sleep.
  • Progress tracking โ€” time saved and blocked attempts, computed on-device.
  • Emergency unlocks โ€” limited escapes for genuine urgency.
  • Notification blocking โ€” optional, hides notifications from blocked apps while a block is active.
  • Free forever โ€” no ads, no subscriptions, no in-app purchases.

Why open source

An app that can lock your phone should never be a black box. Every line of BLOK is public so you can verify exactly what it does โ€” and what it doesn't: nothing leaves your device. See the privacy policy.

How it works

  1. Choose your apps โ€” select what steals your focus.
  2. Record any NFC tag โ€” done from inside the app in seconds.
  3. Tap to lock, tap to unlock โ€” BLOK intercepts blocked apps via Android's Accessibility Service (used solely to detect the foreground app; it never reads screen content).

Building from source

Requirements: JDK 17, Android SDK 35.

# debug build (no signing needed)
./gradlew assembleDebug

# release build โ€” create keystore.properties in the project root first:
#   storeFile=your-key.jks
#   storePassword=...
#   keyAlias=...
#   keyPassword=...
./gradlew assembleRelease

Tech

Kotlin ยท Jetpack Compose ยท Room ยท Accessibility Service ยท NFC (NDEF)

Min SDK 26 (Android 8.0) ยท Target SDK 35

License

GPL-3.0 โ€” free to use, study and modify; derivatives must stay open.

Contact

[email protected]

Contributors

blokapp-web

Issues