Skip to content

Sammeeeeeeee/Twenti

Repository files navigation

Twenti

Twenti — 20/20/20 Eye Break Reminder

Download installer Download portable Website

Build Latest release Issues License

A Windows 11 native eye-break reminder.

What is the 20/20/20 rule?

The 20/20/20 rule is a proven technique to prevent eye strain, dryness and degradation.

Twenti

Built with WinUI 3 (Windows App SDK), this aims to be native and light, to be as unobtrusive as possible, but easily accessible.

It lives in the tray, with the minutes left as countdown. A flyout on click shows more information. Every 20 minutes, a pop up appears in the centre of your screen. You can choose to delay, or press enter to start the countdown (optional: accompanied by white noise). Every 3rd pop up is for 2 minutes.

Keyboard

  • Enter — start the break timer
  • Esc — snooze 5 minutes
  • 19 — snooze N minutes

Right-click on the tray icon

Snooze 5 / 15 / 30 minutes · Mute or Unmute sounds

Sounds

Mutable through the context menue (right click tray icon)

  • Soft 1318 Hz pre-ping 5 seconds before
  • Warm 3-note chime when the popup appears
  • Brown-noise water ambient during the break
  • Rising 3-note resolution when the break completes
  • Descending 2-note acknowledgement when snoozed

Screenshots

Flyout: countdown Flyout: snoozed Short break popup Short break: countdown Long break popup Flyout: long-break-countdown

Pre-built downloads

  • Recommended → Releases. Twenti-portable-win-<arch>.zip (portable) and Twenti-Setup-<arch>.exe (installer), shipped for both x64 and arm64.
  • Latest dev build — pull from the most recent Actions run.

Build & run from source

Prerequisites: .NET 8 SDK or newer, Windows 11 (or Windows 10 ≥ 19041 for Mica).

dotnet restore
dotnet build
dotnet run

Build a portable AOT bundle

dotnet publish -c Release -r win-x64 -o publish

Output: publish\Twenti.exe plus the Windows App SDK runtime DLLs in the same folder (Release config publishes Native AOT). Zip the folder to ship the "portable" download.

Build the installer

dotnet publish -c Release -r win-x64 -o publish
& "${env:ProgramFiles(x86)}\Inno Setup 6\ISCC.exe" /DArch=x64 installer\Twenti.iss

Output: installer\Output\Twenti-Setup-x64.exe. Installs as user or system wide, adds a Start Menu entry, optionally runs at login. Substitute /DArch=arm64 (and -r win-arm64) for the arm64 installer.

About

20/20/20 light eye break reminder for Windows

Topics

Resources

License

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors