The GYM I go to, Spor Istanbul, requires booking spots three days ahead. Manually checking availability makes me sick, and forgetting to do so often leads to missed workouts. So I've built this CLI to automate this process in three steps.
- Login
- Select the facility
- Select the spot you want to book
And that's it! If the app finds an empty spot, it plays an alarm and notifies you about it.
- Clone the repository.
- Run
go build cmd/main/main.go
- Run the built file.
Thanks to bubble tea and lip gloss libraries, I've designed the screens very quickly. I've used goquery to parse HTML. To play an audio for the alarm, I've used beep.