Skip to content

S1avv/taupy-focus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Focus Timer Demo

demo.mp4

Small demo of a draggable focus timer window with a compact mode, built with TauPy and React.

Features

  • Timer with custom minutes and seconds, start/pause and reset.
  • Settings modal for time selection.
  • Two window modes (Full, Compact).
  • Window control routed (minimize, close, resize, center).

Run locally

Requirements: Python 3, Node 18+, TauPy installed in your environment.

cd focus
npm install
taupy dev

Controls

  • Start/Pause, Reset inside the timer.
  • Settings: open via gear icon, adjust minutes/seconds with the rollers.
  • Compact switch: button in the title bar; back arrow returns to full size.
  • Dragging: full mode via title bar; compact mode via the whole compact area (buttons are non-drag).

File map

  • main.py — TauPy app, window commands and click handlers.
  • src/App.tsx — main UI.
  • src/App.css — main styles.
  • src/SettingsModal.tsx + src/SettingsModal.css — settings modal and rollers.

Notes

  • Window is auto-centered on start.
  • Minimal sizes set to allow the compact bar (240x140; compact uses 360x140).

About

Demo application built with TauPy

Resources

Stars

Watchers

Forks

Packages

No packages published