Neon Lift is a simple command-line application to remind you to alternate between standing and sitting positions while working at a standing desk. In addition to its functionality, this was created to help learn more about Bubble Tea and Lip Gloss.
- Customizable standing and sitting durations.
- Visual progress bar.
- Audible alert when it's time to change positions.
- Pause and resume functionality.
To run the application, use the following command:
go run main.go
You can specify the duration for standing and sitting using the -stand
and -sit
flags, respectively:
go run main.go -stand=45m -sit=15m
Press 'Enter' to start, 'Space' to pause, and 'Q' to quit the application.
You can build and run the application using Docker. First, build the Docker image:
docker build -t neonlift .
Then, run the application in a Docker container:
docker run --rm neonlift
You can also pass the -stand
and -sit
flags to customize the durations:
docker run --rm neonlift -stand=45m -sit=15m
- Restructure code.
- Add unit test
- Options for notification other than beeping.
I'm always looking to improve Neon Lift, so if you're keen to contribute, have at it! Fork the repo, work your magic, and send a pull request my way.