Pomodemo
Pomodoro timer example to showcase Bubble Tea v2 project structure.
Install / Use
/learn @charm-and-friends/PomodemoREADME
Pomodemo
A terminal-based Pomodoro timer application built with Go and Charm's TUI libraries.
Features
- Customizable Sessions: Set work and break durations (10s-60m for work, 5s-15m for breaks)
- Visual Progress: Progress bar and countdown timer display
- Session Management: Automatic transitions between work and break sessions
- Interactive Forms: Easy-to-use terminal interface for configuration
- Session Confirmation: Prompts before starting each new session
Installation
go build -o lapin
./lapin
Usage
- Configure Settings: Set your preferred work and break session durations
- Start Working: Begin your first work session with the countdown timer
- Take Breaks: Automatically prompted for break sessions after work periods
- Continue: Confirm when you're ready to start each new session
Controls
qorCtrl+C: Quit the application- Use arrow keys and Enter to navigate forms
- Follow on-screen prompts for session management
Built With
- Bubble Tea - TUI framework
- Huh - Interactive forms
- Bubbles - Timer and progress components
- Lip Gloss - Styling and layout
- Badger - Embedded database (planned for session persistence)
Development Status
This is a work-in-progress Pomodoro application. Planned features include:
- Session persistence and statistics
- Task tracking during sessions
- Enhanced session controls (pause, skip, restart)
- Session counter and progress tracking
Feedback
We’d love to hear your thoughts on this project. Join the chatter happening on Discord.
License
Part of Charm.
<a href="https://charm.land/"><img alt="The Charm logo" width="400" src="https://stuff.charm.sh/charm-banner-next.jpg" /></a>
<!--prettier-ignore-->Charm热爱开源 • Charm loves open source
