A Windows desktop application that monitors your active window and intervenes when you visit distracting sites or apps. Tung Tung Sahur—a character that rests in the bottom-right corner of your screen—scolds you with GPT-generated roasts, speaks them aloud via Piper TTS, walks to the offending tab, and closes it. The goal is simple: reduce distractions and nudge you back to productive work.
Pro Pro Sahur helps you stay accountable during work or study sessions. When you open YouTube, Discord, Reddit, TikTok, or other blocklisted sites, the app detects it within seconds. In the backend, GPT generates a playful insult whilst Piper converts it to natural speech, and the character "walks" toward the tab before closing it with Ctrl+W (browsers) or Alt+F4 (desktop apps). A cooldown between attacks prevents constant interruptions while still keeping you on track.
The blocklist is configurable and matches against window titles. You can add or remove sites and apps, adjust the check interval, and set the attack cooldown. Configuration lives in %LocalAppData%\ProProSahur\config.json. The app runs in the system tray; right-click the icon to exit.
- Real-time window title monitoring for distracting sites and apps
- GPT-powered insult generation with a consistent character persona
- Piper TTS for natural-sounding voice output (with Windows TTS fallback)
- Animated character that walks to the offending tab before closing it
- Configurable blocklist (YouTube, Twitter, Reddit, Discord, Steam, etc.)
- System tray integration for minimal footprint
- Cooldown and check-interval settings
- Windows 10/11 — WPF, system tray, and Win32 APIs are Windows-only
- .NET 8.0 SDK
- Python 3.8+ (for Piper TTS)
- GPT API access — OpenAI or compatible API (e.g., Ark Labs) for insult generation
From the repository root:
.\Install-Dependencies.ps1This script checks or installs .NET 8, Python 3, and the Piper TTS packages (piper-tts, pathvalidate). It also downloads the Windows Piper executable and the Ryan (en_US) voice model from Hugging Face into %LocalAppData%\ProProSahur\piper\.
Edit %LocalAppData%\ProProSahur\config.json and add your API key:
- Ark Labs (GPT-compatible): Set
ArkApiKeyandLlmProvider: "ark"(default).
Piper TTS is set up automatically by Install-Dependencies.ps1. The app uses Python Piper first; if that fails, it falls back to the Windows Piper executable. Config is written to config.json during install. If Piper is unavailable, the app uses Windows TTS.
cd ProProSahur
dotnet runTung Tung Sahur appears in the bottom-right corner. Open a blocklisted site (e.g., YouTube or Discord) to trigger a scold and tab close.
cd ProProSahur
dotnet publish -c Release -r win-x64 --self-containedOutput: bin\Release\net8.0-windows\win-x64\publish\ProProSahur.exe
Right-click the Pro Pro Sahur icon in the system tray (bottom-right of the taskbar) → Exit.
- Run the app with
dotnet run(or the published executable). - Tung Tung Sahur rests in the bottom-right corner.
- Switch to a blocklisted site or app (YouTube, Discord, Reddit, etc.).
- The app detects it, GPT generates a roast, Piper speaks it, and the character closes the tab.
- Right-click the tray icon to exit.
- Megh Mistry
- Kulgagan Bajwa
- Mohammad Naqvi
- Piper TTS — Neural text-to-speech
- Piper Voices (Hugging Face) — Voice models