Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piero-vic/metronome
A small metronome for the terminal.
https://github.com/piero-vic/metronome
bubbletea metronome terminal
Last synced: about 1 month ago
JSON representation
A small metronome for the terminal.
- Host: GitHub
- URL: https://github.com/piero-vic/metronome
- Owner: piero-vic
- License: mit
- Created: 2024-07-31T04:00:36.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T19:18:41.000Z (5 months ago)
- Last Synced: 2024-11-13T21:47:38.743Z (about 2 months ago)
- Topics: bubbletea, metronome, terminal
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# metronome
A small metronome for the terminal made with [Bubble Tea](https://github.com/charmbracelet/bubbletea) and
[Beep](https://github.com/gopxl/beep).## Installation
Clone this repository and run:
```bash
go build
```or
```bash
go install
```## Usage
### Flags
```
Usage: metronome [options]Options:
-t, --tempo=[int] set the tempo in BPM (default 60)
-b, --beats=[int] set the number of beats per measure (default 4)
-p, --play start the metronome automatically
-h, --help print help
```### Keys
| Key | Description |
| ------------------------------------------------------------ | ------------------------------------ |
| Up Down or k j | Increase or decrease tempo |
| RightLeft or l h | Increase or decrease number of beats |
| Space or p | Play / Pause |
| Ctrl + c or q | Quit |## License
This project is licensed under the [MIT License](LICENSE).