Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcosrjjunior/bun-shell-min-timer
⏳ CLI timer. Simple version of the pomodoro using bun-shell.
https://github.com/marcosrjjunior/bun-shell-min-timer
bun bun-shell pomodoro
Last synced: 22 days ago
JSON representation
⏳ CLI timer. Simple version of the pomodoro using bun-shell.
- Host: GitHub
- URL: https://github.com/marcosrjjunior/bun-shell-min-timer
- Owner: marcosrjjunior
- Created: 2024-02-10T04:42:33.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-19T08:34:45.000Z (11 months ago)
- Last Synced: 2024-12-01T09:08:24.289Z (about 1 month ago)
- Topics: bun, bun-shell, pomodoro
- Language: TypeScript
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bun-shell-min-timer ⏳ 🎧 🧘
Simple version of the pomodoro timer. Project created to test bun-shell update.
![rest](https://github.com/marcosrjjunior/bun-shell-min-timer/blob/main/assets/rest-output.png?raw=true)
![work](https://github.com/marcosrjjunior/bun-shell-min-timer/blob/main/assets/work-output.png?raw=true)
After building and setting the to my .zshrc I can now just run anywhere:
```sh
// $ timer [work|rest] &
$ timer work &
$ timer rest &
```Or you can set a custom time for each one of the actions:
```sh
$ timer work 10 &
$ timer rest 10 &
```#### How to contribute
Install dependencies:
```sh
bun install
```Run:
```sh
bun index.ts work
bun index.ts rest
```#### How to build
```sh
bun run build
```