Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Focus Timer

A compact, always-on-top Windows productivity timer.

Run

Double-click FocusTimer.exe. Windows asks for administrator permission because browser-wide website blocking requires temporary access to the Windows hosts file.

Use the cog to set:

  • the session length (60 minutes by default);
  • application executable names such as spotify.exe or full executable paths;
  • website domains such as youtube.com;
  • an optional completion sound.

Play activates blocking. Pause, Stop, completion, and closing the app all remove the website block immediately. Settings are saved under %APPDATA%\FocusTimer.

Notes

  • Application blocking closes matching programs shortly after they start.
  • Website blocking applies to all browsers. An already-open page may need a refresh.
  • The app adds only hosts-file lines marked # FocusTimer-managed and removes only those lines.
  • Blank completion sound means the standard Windows notification sound.

Rebuild

If you edit Program.cs, right-click build.ps1 and choose Run with PowerShell. No .NET SDK is needed; the script uses the .NET Framework compiler included with Windows.

About

A focus timer that counts down as well as blocking applications and web domains whilst it runs. For use in Windows.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages