Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dillionverma/crypto-cli
The best cryptocurrency price CLI written in one line :moneybag:
https://github.com/dillionverma/crypto-cli
bash bitcoin btc cli cryptocurrency ethereum price-tracker ticker
Last synced: 4 months ago
JSON representation
The best cryptocurrency price CLI written in one line :moneybag:
- Host: GitHub
- URL: https://github.com/dillionverma/crypto-cli
- Owner: dillionverma
- License: mit
- Created: 2017-12-05T17:00:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T23:36:25.000Z (about 7 years ago)
- Last Synced: 2024-10-04T13:29:33.180Z (4 months ago)
- Topics: bash, bitcoin, btc, cli, cryptocurrency, ethereum, price-tracker, ticker
- Homepage:
- Size: 106 KB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crypto CLI
Crypto CLI is a __lightweight__ command line interface __written in one line__ to fetch the latest cryptocurrency prices and display them in the terminal.
[![GitHub stars](https://img.shields.io/github/stars/dillionverma/crypto-cli.svg?style=social&label=Stars)](https://github.com/dillionverma/crypto-cli)
[![GitHub code size in bytes](https://img.shields.io/github/size/dillionverma/crypto-cli/coin.svg)](https://raw.githubusercontent.com/dillionverma/crypto-cli/master/coin)
[![license](https://img.shields.io/github/license/dillionverma/crypto-cli.svg)](https://github.com/dillionverma/crypto-cli)![screenshot](https://github.com/dillionverma/crypto-cli/blob/master/screenshot.png)
All data is sourced from [coinmarketcap api](https://coinmarketcap.com/api/)
## Installation
First install jq which is a command line json parser [__here__](https://stedolan.github.io/jq/download/)
After you have installed jq, run the following commmand in your terminal:
```
curl "https://raw.githubusercontent.com/dillionverma/crypto-cli/master/coin" -o /usr/local/bin/coin && chmod +x /usr/local/bin/coin
```## Usage
The top 10 cryptocurrencies are shown by default by entering
```
coin
```For more coins, simply pass a number argument
```
coin 100
```To get a specific price, simply use grep
```
coin 100 | grep VTC
```
__note__ use "-i" flag on grep for case insensitive search## Development
```
git clone https://github.com/dillionverma/crypto-cli.git
cd crypto-cli
vim coin
```## License
MIT License