Display coronavirus stats on the Onion OLED Expansion
This project uses the coronavirusapi.me GraphQL API to fetch recent coronavirus stats. It then displays them on the OLED screen. Data refetch happens every hour.
- Onion Omega2/2+/2 Pro IoT computer
- OLED Expansion
- Install Node.js & npm for Onion (follow this guide)
- Install git for Onion (follow this guide)
- Run
git clone https://github.com/xxczaki/onion-omega2-coronavirus-oled/
- Run
cd onion-omega2-coronavirus-oled
- Run
node --max_old_space_size=64 $(which npm) install --production
- Run
node index.js
- Done!
MIT