https://github.com/christ0ph3r/cryptocurrency-cli
:moneybag: Cryptocurrency Portfolio On The Command Line :moneybag:
https://github.com/christ0ph3r/cryptocurrency-cli
api bitcoin bitcoincash cardano chainlink cli coin coinmarketcap command-line cryptocurrency dash ethereum iota js litecoin monero npm portfolio ripple siacoin
Last synced: about 2 months ago
JSON representation
:moneybag: Cryptocurrency Portfolio On The Command Line :moneybag:
- Host: GitHub
- URL: https://github.com/christ0ph3r/cryptocurrency-cli
- Owner: christ0ph3r
- License: mit
- Created: 2017-10-21T07:31:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-03T16:59:38.000Z (over 3 years ago)
- Last Synced: 2025-02-19T02:13:33.651Z (2 months ago)
- Topics: api, bitcoin, bitcoincash, cardano, chainlink, cli, coin, coinmarketcap, command-line, cryptocurrency, dash, ethereum, iota, js, litecoin, monero, npm, portfolio, ripple, siacoin
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 153
- Watchers: 16
- Forks: 27
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# Cryptocurrency CLI
Cryptocurrency CLI lets you monitor cryptocurrencies in your portfolio and track your earnings through the command line. It uses the coinmarketcap.com API to fetch crypto data.

## Features
### General
1. Command Line Interface
1. Supports all coins on CoinMarketCap
1. Track your portfolio holdings
1. Currency Support### Bar Graph
1. Percentage breakdown of holdings
2. Colored Horizontal Bars
3. Portfolio value### Crypto Table
1. Coin Rank
1. Price
1. Coins Owned
1. Net Worth
1. 24 Hour Volume
1. Market Cap
1. % Change 1 Hour
1. % Change 1 Day
1. % Change 1 Week
1. Last Updated## Installation Instructions
1. Git Clone the repo
```
git clone https://github.com/christ0ph3r/cryptocurrency-cli/
```1. Enter the repository
```
cd cryptocurrency-cli && npm install
```1. Run
```
npm start
```1. Edit portfolio.json
```json
{
"bitcoin": ".002",
"bitcoin-cash": ".002",
"chainlink": "666",
"dash": ".002",
"dogecoin": "10000",
"ethereum": ".0688",
"litecoin": ".1",
"monero": ".0036",
"siacoin": "1200",
"steem": "2"
}
```## Command Line Options
Currency: You can use `-c` or `--currency` to look up crypto data in another currency. The default currency is USD and the API supports 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.
```
npm start -- -c eur
npm start -- -c aud
```## Donations Welcome
| Coin | Address |
| -------------|:------------------------------------------:|
| Bitcoin | 1LFTccjYHbiVekdm8XYC1ucNqdGsAC3frc |
| Bitcoin Cash | 132iaE6MYW3hpupuyzA8AKVmYk7SAbrAA1 |
| Ethereum | 0x071Fe2Bb50430A3f6af398A410a78B67e1A783AE |
| Litecoin | Lh9eV96yhTyrkv2VkWG7RZvas9TzFuYZbR |