Skip to content

tomekz/coincap-tui

Repository files navigation

coincap-tui

coincap-tui let's you check crypto prices in your terminal.

Features:

  • fetch crypto assets data from coincap REST API
  • display price history graph for selected asset
  • Favourties: save and view favourite coins
  • display results in tabular format
  • nice UI with bubble-tea

demo

table with crypto assets

demo

price history for the last 14 days

⌨️ keybindings

Key Description
r refresh data
enter show price history graph.
a show all assets.
f toggle favourite
F show favourites
b go back
j go down
k go up
g, home go to top
G, end go to end
ctrl-c exit

installation

go:

$ go install github.com/tomekz/coincap-tui@latest

apt:

echo 'deb [trusted=yes] https://apt.fury.io/tomekz/ /' | sudo tee /etc/apt/sources.list.d/fury.list

sudo apt update
sudo apt install coincap-tui

yum:

echo '[tomekz]
name=tomekz
baseurl=https://yum.fury.io/tomekz/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/fury.repo
sudo yum install coincap-tui

deb/rpm/apk:

Download the .apk, .deb or .rpm from the releases page and install with the appropriate commands.

usage

$ coincap-tui

Display the current version

$ coincap-tui version

dev

$ go run main.go

acknowledgments

Inspired by tinance