• Stars
    star
    545
  • Rank 81,084 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

βš½πŸ† World Cup 2018 CLI dashboard: watch matches in your terminal.

Check out the 2022 dashboard: cedricblondeau/world-cup-2022-cli-dashboard.

βš½πŸ†


World Cup 2018 CLI Dashboard Build Status

screenshot

forthebadge forthebadge forthebadge

Run it in docker 🐳

Pull it from Docker Hub:

docker pull cedricbl/world-cup-2018-cli-dashboard && \
docker run -ti -e TZ=America/Toronto cedricbl/world-cup-2018-cli-dashboard

Replace America/Toronto with your actual timezone. This image is for amd64 arch only.

Or build it:

Want to build this image from a Dockerfile instead? Or do you want to run this dashboard on a non-amd64 arch, let's say arm? On a Raspberry Pi?

docker build -t world-cup-2018-cli-dashboard github.com/cedricblondeau/world-cup-2018-cli-dashboard && \
docker run -ti -e TZ=America/Toronto world-cup-2018-cli-dashboard

Install using npm or yarn

NPM:

npm install -g world-cup-cli-dashboard

Yarn:

yarn global add world-cup-cli-dashboard

Requires NodeJS 6+.

Usage

POST_NOTIFICATIONS=0 wc2018
  • Use ⬅️ and ➑️ keys to navigate through different different matches.
  • Set POST_NOTIFICATIONS to 1 to enable native notifications when receiving new match events such as goals, cards or substitutions (won't work in Docker).

How does it work?

Data is sourced from the awesome worldcup.sfg.io. Matches get updated each 30 seconds. Groups get updated each 2 minutes.

Terminal interface built with react-blessed.

FAQ

Q: Data is not showing up?

If an API call fails, we log a debug message. Press F12 to see the debug console, some helpful messages may show up (a 503 or a 429 HTTP code for instance).

Development

git clone https://github.com/cedricblondeau/world-cup-2018-cli-dashboard
cd world-cup-2018-cli-dashboard
yarn install
USE_FIXTURES=1 yarn start

Set USE_FIXTURES to 0 to use the actual API in dev.

Contributions are very welcome.

LICENSE

MIT

More Repositories

1

world-cup-2022-cli-dashboard

Watch live World Cup 2022 matches in your terminal. βš½πŸ†
Go
436
star
2

magento2-module-catalog-import-command

Ⓜ️2️⃣ A Magento2 console command to import catalog files.
PHP
32
star
3

magento2-ansible-vagrant

Ⓜ️2️⃣ Ansible provisioned Ubuntu 16.04 vagrant box for Magento2 development.
25
star
4

sliding-puzzle

🎲🐱 A ReactJS sliding puzzle with a solver and cat GIFs as your rewards.
JavaScript
23
star
5

webpage2html-java

πŸ“ƒ Generates a single HTML file for a given URL by transforming external assets (css, js, images, fonts) into inline base64 strings. Java 1.7 and Android compatible.
Java
21
star
6

nhl-cli-dashboard

πŸ’πŸ†NHL CLI dashboard – Watch hockey games in your terminal
JavaScript
12
star
7

go-lww-element-set

A Last-Writer-Wins (LWW) CRDT Go implementation with Redis support.
Go
8
star
8

docker-letsencrypt-webroot

πŸ³πŸ” Docker-gen friendly Certbot docker image that runs with a non-root user.
Shell
5
star
9

interactive-cover-letter

πŸ’¬πŸŒ‡ An attempt to make cover letters less boring.
CSS
5
star
10

ansible-role-h2o-docker-proxy-letsencrypt

πŸ―πŸ³πŸ” Ansible role that sets up an automated H2O reverse proxy for docker containers with automatic creation of Let's Encrypt certificates using docker-gen.
Shell
5
star
11

magento2-module-simple-custom-xml-reader

A Magento2 simple custom XML/XSD reader sample module. Ⓜ️2️⃣
PHP
4
star
12

footballdata-api-js

NodeJS wrapper for the football-data.org JSON API ⚽
JavaScript
3
star
13

php-moneris-eselectplus

πŸ’³ An alternative way to access the Moneris eSELECTplus API with PHP 5.3+.
PHP
3
star
14

presto-card-cli

A CLI tool for checking your PRESTO card balance. πŸš‹
JavaScript
3
star
15

go-wattpad

πŸ“š Simple Wattpad API wrapper written in Go.
Go
2
star
16

sports-react-blessed-components

A library of reusable react-blessed components for building awesome sports CLI UIs.
JavaScript
2
star
17

tensorflow-model-server-universal-docker

TensorFlow Serving docker image - that runs on Macbook M1 Pro (under emulation).
Dockerfile
2
star
18

magento2-module-simple-controller

A Magento2 simple controller sample module. Ⓜ️2️⃣
PHP
2
star
19

php-enigma2

πŸ“Ί A PHP library and CLI for updating Enigma2/Dreambox bouquets.
PHP
1
star
20

presto-card-puppeteer

Get your presto card balance using Puppeteer.
JavaScript
1
star
21

wifi-repeater-ansible

πŸ“Ά A simple and straightforward playbook to set up a WiFi repeater service using create_ap.
1
star
22

board-game-recs

Board game recommendations with collaborative filtering and BoardGameGeek data. πŸŽ²πŸ€–
Jupyter Notebook
1
star