Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.73 KB

README.md

File metadata and controls

63 lines (40 loc) · 1.73 KB

Neon Lift - Stand and Sit Timer

A wizard standing at a standing desk, using a computer

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.

asciicast

Features

  • Customizable standing and sitting durations.
  • Visual progress bar.
  • Audible alert when it's time to change positions.
  • Pause and resume functionality.

Usage

Running with Go

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.

Running with Docker

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

TODO / Improvements

  • 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.