https://github.com/makiftutuncu/exchange-bitbar
A CLI tool and a BitBar plugin for exchange rates
https://github.com/makiftutuncu/exchange-bitbar
bitbar-plugin exchange-rates shell
Last synced: 6 months ago
JSON representation
A CLI tool and a BitBar plugin for exchange rates
- Host: GitHub
- URL: https://github.com/makiftutuncu/exchange-bitbar
- Owner: makiftutuncu
- License: mit
- Created: 2020-09-03T08:38:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:46:29.000Z (almost 2 years ago)
- Last Synced: 2025-04-13T13:07:55.602Z (6 months ago)
- Topics: bitbar-plugin, exchange-rates, shell
- Language: Shell
- Homepage:
- Size: 44.9 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Exchange Rates BitBar
This is a command line script and a [BitBar](https://github.com/matryer/bitbar) plugin for showing exchange rates of currencies in your menu bar. It uses [exchange](https://github.com/makiftutuncu/exchange) to get its data.
## Dependencies
This script requires following to run
- curl - https://curl.haxx.se
- jq - https://stedolan.github.io/jqYou can install them with Homebrew using
```
brew install curl jq
```## Installation for Bitbar
Download [exchange-rates.5m.sh](https://github.com/makiftutuncu/exchange-bitbar/raw/master/exchange-rates.5m.sh), put it into your BitBar plugin directory and make it executable.## Configuration for BitBar
Open `exchange-rates.5m.sh` in your favorite text editor to edit `CURRENCY_PAIRS` array. By default, it is set to show `USD-TRY` and `EUR-TRY` exchange rates.## Running the Script on Its Own
The script can also run without BitBar, as a CLI tool. Just run `exchange-rates.sh`. It requires `--source` and `--target` parameters.## Contributing
All contributions are welcome. Please feel free to send a pull request. Thank you.## License
Exchange Rates BitBar is licensed with [MIT License](LICENSE.md).