MIT License

项目介绍

cedricblondeau/world-cup-2018-cli-dashboard 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 544 个 Star、32 次 Fork。

仓库全名
cedricblondeau/world-cup-2018-cli-dashboard
开源许可证
MIT License
Star 数
544
Fork 数
32
未关闭 Issue
17

README 摘要

Check out the 2022 dashboard: cedricblondeau/world-cup-2022-cli-dashboard . ⚽🏆 Run it in docker 🐳 Pull it from Docker Hub: 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? Install using npm or yarn NPM: Yarn: Requires…

完整内容见 GitHub 原始 README 或本页 。

常见问题

world-cup-2018-cli-dashboard 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 544 个 Star。

world-cup-2018-cli-dashboard 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 world-cup-2018-cli-dashboard 的源码?

可以直接克隆仓库:git clone https://github.com/cedricblondeau/world-cup-2018-cli-dashboard.git;安装与运行步骤见仓库 README。

world-cup-2018-cli-dashboard 最近还在维护吗?

仓库最近一次更新为 2023年9月3日,当前有 17 个未关闭 Issue;Star 数为 544,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

⚽🏆 World Cup 2018 CLI dashboard: watch matches in your terminal.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1152
价值分
389
活跃状态
活跃

语言占比

Dockerfile
JavaScript

README

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

评论

暂无评论