HomeGamesAppsTopicsNews
Home / News / App News

An open-source app blocker uses Gemini to force me to complete the task before unlocking TikTok.

Dec 06, 2026

What is NichiHab?

NichiHab is an open-source Android app blocker and habit tracker. It combines system-level app blocking with Gemini-powered task verification. The app does not rely only on timers, passwords, or simple scheduled limits that can be skipped. Instead, it requires the user to complete a physical task in the real world and take a picture that Gemini verifies in real time before the blocked app unlocks.

An open-source app blocker uses Gemini to force me to complete the task before unlocking TikTok.

A solo developer with attention-deficit/hyperactivity disorder created NichiHab after finding that many habit trackers and app blockers use timers, passwords, and other methods to restrict apps like TikTok unless a task is completed. The main problem was that those blockers often had workarounds and were easy to override. NichiHab was built to solve that by making the task itself difficult to fake.

Why can users not just uninstall or bypass it?

The first escape route for most blockers is to remove the app and return to doomscrolling. NichiHab blocks access to Settings during an active session, so users cannot uninstall it easily while the session is running.

It also uses Android’s Accessibility Service to detect and block chosen apps. Because the blocking happens at that system level, the usual workarounds that apply to simpler blockers do not work either. The app still requires proof of task completion before it unlocks the chosen app.

How does a NichiHab session work?

A session is the period in which NichiHab blocks a selected app. Users can schedule sessions throughout the week so they activate automatically at a certain time. When a session is active, it blocks the app the user chooses, such as TikTok, and only unlocks it after the task is completed and verified.

The verification depends on a real-world action. The user must complete a physical task and take a picture to prove it. There is no option to upload a gallery image to fool the system, and the user cannot take a photo from afar. The proof must come from the actual task.

In one example, the author chose a walk as the task because they wanted physical activity. NichiHab asked for an image of a park, scenery, or the outdoors to prove the user was actually out and about, not sitting in a bedroom. The author had to leave home, go for a walk, and take a picture to prove completion. That is the only blocking app the author has used that adds a physical cost.

The same model can be applied to other routines. The author added another evening task to avoid procrastinating on chores. Instagram could only be unlocked after the bed was made. NichiHab used Gemini Flash to identify an untidy bed easily and asked for the bed to be made before Instagram could be unlocked.

The potential uses are not limited to one type of habit. NichiHab can be set up for fitness routines, morning routines, chores, completing homework, or taking out the trash.

How does Gemini make the proof harder to fake?

The app’s core idea is simple: do the task, photograph the result, and let image analysis decide whether the proof is valid. Gemini is used for that verification, and Gemini Flash is used for the bed example. Because the check is tied to an image of the completed task, the blocker is not just asking the user to press a button or wait for a timer.

This is what makes NichiHab different from many blockers. The user needs to get up, perform the task, and prove it before using the app that distracts them most. The physical effort becomes part of the restriction.

What privacy and open-source details matter?

NichiHab is an open-source app under the Massachusetts Institute of Technology License. It does not require account sign-ups, has no cloud storage for images, and has no backend telemetry. It is a local-only app that uses Gemini image analysis for unlocking blocked apps.

Those features address common concerns about habit-tracking and blocking tools. The app does not store images in the cloud, and it does not send background telemetry. The user still needs an internet or data connection for Gemini to verify an image, but the app does not keep images in cloud storage according to the source.

Why is installation not easy?

The real trouble with NichiHab is getting it on a phone. The app is not on the Play Store yet and is not available on F-Droid. Installation is not straightforward.

There is a GitHub page for the project, but installing NichiHab still requires Android Studio. The user needs to follow the installation process mentioned in the repository and needs a laptop or PC to do it. This is not a one-tap app install.

The developer wants to prevent Android application package file tampering. That is one reason the app is not distributed through the usual stores. In addition, because the app uses Gemini for task verification, the user must provide their own Gemini API key. That key is pasted into the Android Studio build before running the app on the phone.

Some original equipment manufacturer Android skins make it harder to install apps using Android Studio. Before attempting to install NichiHab, the user needs to verify and enable original equipment manufacturer unlocking. Lastly, to verify tasks using Gemini, the phone must be connected to the internet or data. NichiHab cannot verify an image without that connection.

What problems remain in the early version?

NichiHab is still in its early stages. It can sometimes fumble when verifying tasks. The author says they have not run into any issues yet, but users have reported minor problems on Reddit and other forums.

That matters because a blocker that depends on verification needs to be reliable. If the system fails to recognize a valid completed task, the user may still be blocked despite doing the work. If it accepts a weak photo, the app’s whole advantage disappears.

What does NichiHab mean for readers?

For readers who have tried blockers before, NichiHab may be interesting because it tries to close the escape routes. It blocks Settings during active sessions, uses Accessibility Service for system-level app blocking, and requires real-world proof through Gemini. It is the only app blocker and habit tracker the author says actually makes them do the task physically and prove it.

It is not for every user. The setup process requires Android Studio, a laptop or PC, a Gemini API key, original equipment manufacturer unlocking on some devices, and an internet connection for verification. It is also not officially released on the Play Store yet.

Still, the idea is useful: distraction blocking becomes more effective when the blocked app cannot be unlocked by simply closing the blocker, uninstalling it, or uploading an old photo. NichiHab turns access to TikTok, Instagram, or other chosen apps into the reward for completing a real task first. The author hopes the app is officially released on the Play Store because it could help thousands of people, if not millions.

Show text

Related Apps

Comments
  • Latest
  • Oldest
  • Hottest