Inspiration
We wanted to make a productivity management app with our own special twist: a program that juggles work retention with chaos.
What it does
CtrlAltFocus is a browser that tracks your time spent actively engaged on the screen. Once the mouse stops moving and the keyboard stops clicking, the browser will employ special remedies to help get back on track. The browser can choose from any of the following fun activities: filling tabs up with rick rolls, zapping away tabs, playing obnoxious noises, filling the screen with insulting snoopy's, covering the screen in a big constellation, and shuffling tab names. To stop these from happening, the user simply needs to move the mouse or type on their keyboard. However, that would be too easy. With the BOP IT mode, the user now needs to win a game of bop it to regain access to their computer and continue. Otherwise, the rewards will remain affecting their browser indefinitely.
How we built it
CtrlAltFocus is a Selenium-driven browser that collects user engagement by detecting mouse and keyboard inputs. When the engagement is low, the browser executes concurrent "forfeit" scripts. Each script monitors and manipulates browser tabs in various ways, including: replacing tab content and renaming tabs, displaying visuals and popups with tkinter, playing audio with playsound, and managing audio channels and visuals with pygame.

Log in or sign up for Devpost to join the conversation.