npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cryptoink

v1.0.1

Published

Beautiful terminal-based cryptocurrency and stock tracker

Readme

🚀 CryptoInk

A beautiful terminal-based cryptocurrency and stock tracker built with React Ink.

CryptoInk Screenshot

CryptoInk Bun License

✨ Features

Market Data

  • 📊 Live Crypto Prices - Top 50 cryptocurrencies from Binance
  • 📈 Stock Tracking - DAT (MSTR, COIN, MARA), MAG7 (AAPL, MSFT, GOOGL), AI stocks (PLTR, AI, SNOW)
  • 💹 Fear & Greed Index - Real-time market sentiment
  • 📉 BTC Dominance - Bitcoin market share
  • 💰 24h Volume - Trading volume for each asset
  • 🏦 Market Cap - From CoinGecko API

Charts

  • 🕯️ Candlestick Charts - OHLC price visualization
  • 📈 Line Charts - Braille-based high-resolution rendering
  • ⏱️ Multiple Timeframes - 1H, 4H, 1D, 1W, 1M
  • 📐 Log Scale - Toggle logarithmic price scaling
  • 🖥️ Fullscreen Mode - Expand chart to full terminal

Portfolio

  • 💼 Portfolio Tracker - Track holdings with P&L
  • 📊 Value History - Daily portfolio value chart
  • 🔔 Price Alerts - Get notified when price crosses target
  • Watchlist - Mark favorite assets

UI/UX

  • 🎨 4 Themes - Cyber, Matrix, Sunset, Ocean
  • 🔍 Fuzzy Search - Quick jump to any asset
  • 📱 Responsive - Adapts to terminal size
  • ⌨️ Keyboard Driven - Full keyboard navigation

📦 Installation

NPX (Easiest)

npx cryptoink

Quick Install (macOS/Linux)

curl -fsSL https://raw.githubusercontent.com/faisalnazir/cryptoink/main/install.sh | bash

Manual Install

Requires Bun runtime.

# Install Bun (if not installed)
curl -fsSL https://bun.sh/install | bash

# Clone the repo
git clone https://github.com/faisalnazir/cryptoink.git
cd cryptoink

# Install dependencies
bun install

# Run
bun start

# Or compile to binary
bun build src/cli.jsx --compile --outfile cryptoink
./cryptoink

⌨️ Keyboard Controls

Navigation

| Key | Action | |-----|--------| | | Navigate list | | | Change timeframe | | Tab | Switch Crypto/Stocks/Portfolio | | / | Search (fuzzy match) | | Enter / Esc | Exit search |

Actions

| Key | Action | |-----|--------| | P | Add to portfolio (enter amount) | | B | Set buy price | | A | Set price alert | | V | View active alerts | | W | Toggle watchlist ⭐ | | U | Update to latest version |

Display

| Key | Action | |-----|--------| | C | Toggle Candlestick/Line chart | | L | Toggle Log scale | | S | Cycle sort (rank/price/change/volume/cap) | | T | Change theme | | F | Fullscreen chart | | M | Cycle minimal mode | | Q | Quit |

🔄 Update

Update to the latest version:

# From within the app
Press U

# Or manually
curl -fsSL https://raw.githubusercontent.com/faisalnazir/cryptoink/main/update.sh | bash

📁 Configuration

Data is stored in ~/.cryptoink/:

~/.cryptoink/
├── portfolio.json      # Your holdings
├── portfolio_history.json  # Daily value snapshots
├── alerts.json         # Price alerts
└── watchlist.json      # Starred assets

Portfolio Format

{
  "holdings": [
    { "symbol": "BTC", "amount": 0.5, "buyPrice": 42000 },
    { "symbol": "MSTR", "amount": 10, "buyPrice": 450, "isStock": true }
  ]
}

📡 Data Sources

| Data | Source | Rate Limit | |------|--------|------------| | Crypto Prices | Binance API | No key required | | Stock Prices | Yahoo Finance | No key required | | Market Cap | CoinGecko | No key required | | Fear & Greed | Alternative.me | No key required |

🛠️ Tech Stack

📸 Screenshots

Main View

━━ CRYPTO (RANK) ━━          ━━ STOCKS ━━
▶ ★BTC   $97,234  ▲ 2.34%    ━ DAT ━
  ETH    $3,456   ▼ 1.23%    ● MSTR  $380.50  ▲ 5.2%
  SOL    $198.45  ▲ 5.67%    ● COIN  $265.30  ▲ 3.1%
  ...                         ...

📊 BTC/USDT $97,234 ▲ 2.34%   1H 4H [1D] 1W 1M
$100k│████████████████████████████████████
 $95k│██████████  ████████████████████████
 $90k│████████████████████████████████████
     └────────────────────────────────────
▸ Low: $89,500 │ High: $100,200 │ 167 candles

● Live │ F&G: 72 │ BTC.D: 54.2%    /Search SSort

📄 License

MIT

🤝 Contributing

Pull requests welcome! Please open an issue first to discuss changes.


Made with ☕ and React Ink