QuitLock
QuitLock is an open-source commitment tool for people quitting porn. An Android app, set up as device owner, blocks most adult content and makes its own removal slow. A desktop command-line tool for Linux and Windows sets it up and authorises changes over a USB cable.
Preview. QuitLock has been built and tested on Android emulators (Android 10 and 16), but not yet on real phones, and no signed release has been published. Until the manual checks are done, treat it as a preview.
What it is and is not
QuitLock is for someone restricting their own phone. The person it guards against is you, during an urge, holding both the phone and the computer. It does not try to be unbreakable; it tries to make every way out slow, visible and deliberate.
- No server, no account, no network protocol. The app’s own code never opens a network connection. It holds the internet permission only because Android’s call for setting Private DNS tests the DNS server from inside the app. The only network use anywhere is on the computer, when you ask the CLI to download an app update from GitHub.
- No monitoring. It never records what you browse or which apps you use. The phone keeps a history of changes to QuitLock itself, and nothing else.
- No stealth. The app is always visible and always shows whether it is armed.
- You can always get out. With your key,
quitlock exit requestremoves QuitLock after the delay. Without it, “Pair a new key” on the phone lets you enrol a new key, which can then do the same.
What it does, once armed
- Locks Private DNS to a filtering DNS provider, and blocks VPNs, proxies and other users.
- Keeps SafeSearch on and incognito off in Chrome, and applies domain block and allow lists there.
- Suspends apps installed from outside trusted stores, and new browsers.
- Makes every loosening change (a looser config, an update, an exit) wait out a delay of 3 to 72 hours, shown on the phone with a countdown anyone can cancel.
- With a partner, needs their approval as well.
This book
- User guide: installing, setting up a phone, everyday use, keys, partners, the phone app, leaving, known limits and troubleshooting.
- How it works: the design, its invariants and the threat model.
- Protocol: the bundle and connection formats, for anyone writing another client or checking this one.
- Development: building, testing, releasing, the platform facts QuitLock relies on, and the decisions behind it.
QuitLock is free software under the GPLv3.