DEV Community

neuralmint
neuralmint

Posted on

Crypto News CLI - Latest Headlines from CoinDesk, Cointelegraph & CryptoSlate in Your Terminal

Stay on top of crypto news without doomscrolling through Twitter.

This CLI tool fetches the latest headlines from CoinDesk, Cointelegraph, and CryptoSlate - three of the biggest crypto news sources - and shows them in your terminal. No API keys, no browser tabs, no noise.

What It Does

python3 crypto_news.py
Enter fullscreen mode Exit fullscreen mode

Output:

  [1] 2h ago | CoinDesk
      Bitcoin ETFs See Record Inflows as Institutional Adoption Grows
      https://coindesk.com/...

  [2] 1h ago | Cointelegraph
      Solana DeFi TVL Hits New All-Time High Above $10B
      https://cointelegraph.com/...

  [3] 3h ago | CryptoSlate
      Ethereum Layer 2s Process Record Transaction Volume in Q2
      https://cryptoslate.com/...
Enter fullscreen mode Exit fullscreen mode

Filter by source:

python3 crypto_news.py --source Cointelegraph --limit 5
Enter fullscreen mode Exit fullscreen mode

Machine-readable output:

python3 crypto_news.py --json
Enter fullscreen mode Exit fullscreen mode

Install

No pip needed. Just grab the script:

curl -L https://raw.githubusercontent.com/neuralmint/crypto-news/main/crypto_news.py -o crypto_news.py
python3 crypto_news.py
Enter fullscreen mode Exit fullscreen mode

Or clone:

git clone https://github.com/neuralmint/crypto-news.git
cd crypto-news
python3 crypto_news.py
Enter fullscreen mode Exit fullscreen mode

The Tech

  • RSS feeds from 3 major crypto outlets
  • Deduplication and sorting by date
  • Pure Python stdlib - zero dependencies
  • MIT license

Support

If this saved you time:

SOL: 4TGyiYBjaYhFFPNYyCoJjf16ctUsWVBiMR1FXQxEfhWi
ETH: 0xe07f177E0725c11EEc8BeA34C5b5193CaF2a1A6a


Follow for more Python tools.

Top comments (0)