Features

Everything Oathkeeper offers to help you stay focused and accountable.

Website Blocking

Blocks websites at the system level via the Windows hosts file. Each domain maps to 127.0.0.1 with bare and www. entries. The hosts file is checked every 30 seconds — if removed, the blocklist reapplies automatically.

DNS cache flush uses a three-tier fallback: DnsFlushResolverCache from dnsapi.dll, then ipconfig /flushdns.

Application Blocking

Monitors processes via EnumWindows every 250ms. Matches process names with case-insensitive substring comparison.

Keyword Blocking

Two-layer detection: window title scanning (250ms) and low-level keyboard hook (WH_KEYBOARD_LL) for real-time detection. All comparisons are case-insensitive substring matches at any position.

Six Punishment Types

Duration scales with cumulative offense count per type:

  • Screen Freeze — Full-screen overlay, escalates to 120s max
  • Hardware Beep — 3 beeps at 1000Hz via PC speaker
  • Cut Internet — Disables network interfaces for 60s
  • Flash — Toggles overlay alpha between 5 and 45
  • Keyboard Freeze — Swallows all input, escalates to 5min
  • Drunk Mouse — Random cursor offset +/-80px every 50ms

Time-Locked Pledges

Lock yourself into a commitment period. The engine checks system time every 30 seconds. If clock manipulation is detected (current date more than 1 day past expiry), punishments are force-enabled.

Accountability Email

Sends violation reports with BMP screenshots via Gmail SMTP. Supports auto-apology protocol with 30-second countdown and configurable notification messages.

Smart Intent Blocker

Define blocked and allowed window titles per process. Block social media in Chrome while allowing work websites within the same browser.

Adult Shield

Optional blocklist of 10,000+ adult domains. Toggle from the UI or via IPC command. Integrates with the hosts file system.