{"id":13758662,"url":"https://github.com/madnight/bitcoin-chart-cli","last_synced_at":"2025-05-15T19:04:40.487Z","repository":{"id":41125114,"uuid":"95926705","full_name":"madnight/bitcoin-chart-cli","owner":"madnight","description":"Bitcoin chart for the terminal as command line util","archived":false,"fork":false,"pushed_at":"2024-11-18T22:43:34.000Z","size":977,"stargazers_count":311,"open_issues_count":2,"forks_count":38,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-15T19:04:00.293Z","etag":null,"topics":["bitcoin","bitcoin-chart","bitcoin-price","charts","cli","coingraph","coinmarketcap","cryptocompare-api","cryptocurrencies","cryptocurrencies-graph","cryptocurrency","cryptocurrency-graph","es7-async","ethereum-price","functional-programming","javascript","nodejs","technical-analysis","terminal"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madnight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-30T21:56:01.000Z","updated_at":"2025-04-14T17:49:10.000Z","dependencies_parsed_at":"2024-04-01T16:57:48.967Z","dependency_job_id":"8192946b-d505-44e4-b06f-56e2d642defe","html_url":"https://github.com/madnight/bitcoin-chart-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Fbitcoin-chart-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Fbitcoin-chart-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Fbitcoin-chart-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madnight%2Fbitcoin-chart-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madnight","download_url":"https://codeload.github.com/madnight/bitcoin-chart-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254404357,"owners_count":22065641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","bitcoin-chart","bitcoin-price","charts","cli","coingraph","coinmarketcap","cryptocompare-api","cryptocurrencies","cryptocurrencies-graph","cryptocurrency","cryptocurrency-graph","es7-async","ethereum-price","functional-programming","javascript","nodejs","technical-analysis","terminal"],"created_at":"2024-08-03T13:00:34.231Z","updated_at":"2025-05-15T19:04:40.431Z","avatar_url":"https://github.com/madnight.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n    \u003ch1 align=\"center\"\u003ebitcoin-chart-cli\u003cbr\u003e\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003ca href=\"https://npmjs.com/package/bitcoin-chart-cli\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/bitcoin-chart-cli.svg\" alt=\"npm\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://nodejs.org/en/download/releases/\"\u003e\u003cimg src=\"https://img.shields.io/badge/node-%3E%3D%208.0-brightgreen.svg\" alt=\"License: MIT\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-brightgreen.svg\" alt=\"License: MIT\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://codeclimate.com/github/madnight/bitcoin-chart-cli/issues\"\u003e\u003cimg src=\"https://codeclimate.com/github/madnight/bitcoin-chart-cli/badges/issue_count.svg?maxAge=2592000\" alt=\"Issue Count\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://snyk.io/test/github/madnight/bitcoin-chart-cli\"\u003e\u003cimg src=\"https://snyk.io/test/github/madnight/bitcoin-chart-cli/badge.svg\" alt=\"Known Vulnerabilities\" /\u003e\u003c/a\u003e\n\u003cbr\u003e \u003cbr\u003e\n\n\u003cimg align=\"right\" src=\"bitcoin-chart-cli.png\" width=\"200\"\u003e\n\nBitcoin chart for the terminal as command line util.\u003cbr\u003e\nFor a list of supported cryptocurrencies see \u003ca href=\"COINS.md\"\u003ecoins\u003c/a\u003e.\u003cbr\u003e\nYou might also be interested in a similar project of \u003cbr\u003e\nmine [wallstreet](https://github.com/madnight/wallstreet), which provides information about \u003cbr\u003e\nstocks instead of cryptocurrencies.\n\n### Requirements\n\n- node 8.0 or higher\n- npm or yarn\n\n### Usage\n\n```bash\n# install\nnpm install bitcoin-chart-cli -g\n\n# (alternative) install with yarn\nyarn global add bitcoin-chart-cli\n\n# (alternative) run without install\nnpx bitcoin-chart-cli\n\n# run default\nbitcoin-chart-cli\n\n# run with options\nbitcoin-chart-cli --coin ETH -d 360 -w 80 -h 20\n\n# run with your own api key for higher requests limits\nexport CRYPTOCOMPARE_API_KEY=your_api_key\nbitcoin-chart-cli --coin XRP -ti RSI SMA BB EMA MACD\n```\n\n### Options\n\n```bash\nbitcoin-chart-cli --help\n\n\n  Usage: index [options]\n\n\n  Options:\n\n  -V, --version                         output the version number\n  -d, --days \u003cn\u003e                        number of days the chart will go back\n  --hours \u003cn\u003e                           number of hours the chart will go back\n  --mins \u003cn\u003e                            number of minutes the chart will go back\n  -w, --width \u003cn\u003e                       max terminal chart width\n  -h, --height \u003cn\u003e                      max terminal chart height\n  --max \u003cn\u003e                             max y-axis value\n  --min \u003cn\u003e                             min y-axis value\n  --min-range \u003cn\u003e                       min range between min and max y-axis value\n  -c, --coin \u003cstring\u003e                   specify the coin e.g. ETH (default: \"BTC\")\n  --currency \u003cstring\u003e                   specify the trading pair currency (default: \"USD\")\n  -l, --list                            list all available coins\n  -t, --toplist \u003cn\u003e                     list of top n coins\n  --disable-legend                      disable legend text\n  -ti, --technical-indicator \u003ctype...\u003e  add a technical indicator: RSI SMA BB EMA MACD\n  -h, --help                            display help for command\n```\n\n# Examples\n\n![](https://i.imgur.com/8jXYkHc.png)\n\n```bash\nbitcoin-chart-cli\n```\n\n![](https://i.imgur.com/ijwaYXir.png)\n\n```\nCreate terminal splits (tmux) with watch for live charts the unix way\nwatch -n 60 bitcoin-chart-cli --mins 30 --width 60\n```\n\n![](https://i.imgur.com/cTtFxy6.png)\n\n```bash\nIn combination with conky\nconky.text = [[ ${execi 120 bitcoin-chart-cli --coin ETH -w 140 -h 15} ]];\n```\n\n```\nbitcoin-chart-cli --toplist 15\nRank  Name                        Price     MktCap     Volume   Change/24h\n--------------------------------------------------------------------------\n1.    Bitcoin                 $57844.00    1081.8B      25.7B        4.05%\n2.    Ethereum                 $3521.65     407.7B      15.0B        2.47%\n3.    Binance Coin              $630.03      96.7B       2.2B        1.04%\n4.    Dogecoin                    $0.65      84.2B      11.5B       14.61%\n5.    XRP                         $1.60      72.6B       4.2B        0.90%\n6.    Tether                      $1.00      54.8B      80.8B       -0.00%\n7.    Cardano                     $1.66      53.0B       3.0B        8.59%\n8.    Polkadot                   $40.99      40.6B       1.3B        1.20%\n9.    Bitcoin Cash             $1341.36      25.1B       2.9B       -4.85%\n10.   Litecoin                  $344.02      23.0B       4.0B        5.05%\n11.   Uniswap                    $40.36      21.1B     390.2M        0.70%\n12.   Chainlink                  $49.73      20.8B       1.2B        8.07%\n13.   VeChain                     $0.23      15.0B       1.5B       14.39%\n14.   Stellar                     $0.64      14.7B     932.3M        1.50%\n15.   USD Coin                    $1.00      14.4B     736.5M       -0.05%\n```\n\n![image](https://user-images.githubusercontent.com/10064471/117548107-56bd4f80-b033-11eb-8f48-b16d2111cb0e.png)\n\n```bash\nCharts with technical indicators\nbitcoin-chart-cli --coin XRP -ti RSI SMA BB EMA MACD\n```\n","funding_links":[],"categories":["Utils","JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadnight%2Fbitcoin-chart-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadnight%2Fbitcoin-chart-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadnight%2Fbitcoin-chart-cli/lists"}