CLI tool made by cryptohead for cryptoheads. π€―
- Check cryptocurrency prices from your terminal! π°
- It will auto refresh the data every 10 seconds.
- Price data is provided by Coincapβs public API. β
Install
- Install with npm.
$ npm install -g tinance
- You can install from AUR. Install with your favorite AUR helper.
$ yay -S tinance
- You can get binaries from releases. (currently only
.rpmand.deb)
Usage
- Use with default parameters. (USD, Top 20 currencies, Run once)
$ tinance
-
Options
--help: Show help text$ tinance --help--topor-t: Get topxcryptocurrencies. Default:20$ tinance --top 30 # Get top 30--convertor-c: Convert price to preferred currency. Default:USD$ tinance --currency EUR # Convert to your prefered currency like 'EUR' or 'CAD'--filteror-f: Filter by preferred cryptocurrency.$ tinance --filter bitcoin ethereum # Filter by your favorite cryptocurrency. It will convert to USD by default.--refresh: Enable auto refresh. (Every 10 seconds)
-
Valid currencies to convert price
- USD
- AUD
- BRL
- CAD
- CHF
- CLP
- CNY
- CZK
- DKK
- EUR
- GBP
- HKD
- HUF
- IDR
- ILS
- INR
- JPY
- KRW
- MXN
- MYR
- NOK
- NZD
- PHP
- PKR
- PLN
- RUB
- SEK
- SGD
- THB
- TRY
- TWD
- ZAR
- BTC
Contribution
- Please use ES6 syntax, we are using babel and prettier to keep tidy our code. Any PR is welcome.
- If you canβt code, you can leave a star! π
License
This project is under the GPLv3 license.