0.8.0 • Published 6 months ago

cricket-live-scores v0.8.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Cricket live scores cli

Basic CLI to stream live cricket scores (via cricket-live-scores API, which does require a free API key) in a terminal, for those engaged in technical work and too busy to view in browser, and just wishing to keep an eye on their match's score via an extra terminal window/tab.

Usage

Live cricket scores in terminal

  1. Sign up for API key, for free, at https://cricketdata.org/.
  2. Set environment variable API_KEY: export API_KEY=<api-key>
  3. Run:
    • Via Node (requires Node>=18):
      • Install: npm install -g cricket-live-scores
      • Run: cls <team-name, whose score is required> <wait-time between score refresh, in ms>
        • Example: cls England 60000, for England's score, refreshed every 1 minute.
    • Via Docker:
      • Set environment variables: API_KEY , TEAM and WAIT_TIME_IN_MS
      • docker run ghcr.io/asadhasan/cricket-live-scores-cli:main

To-do

Distribute via Homebrew also.

Contributing

Open a PR.

0.8.0

6 months ago

0.7.0

6 months ago

0.6.9

6 months ago

0.6.8

6 months ago

0.6.7

6 months ago

0.6.6

6 months ago

0.6.5

6 months ago

0.6.4

6 months ago

0.6.3

6 months ago

0.6.2

6 months ago

0.6.1

6 months ago

0.6.0

6 months ago

0.5.0

6 months ago

0.4.0

6 months ago

0.3.0

6 months ago

0.1.0

6 months ago