This is a small html snippet that allows you to generate a weather dashboard to be displayed on an e-ink reader.
- I'm currently using it with a dying Kindle 4
- it has do be jailbroken
- it runs online-screensaver to load an image from a server I control
- This project requires the following environment variables to be set:
LAT
- a latitudeLON
- a longitudeOPENWEATHER_KEY
- a valid OpenWeather api key
- ensure GraphicsMagick is installed
- This is required to convert the screenshot to black and white
- install dependencies
yarn install
- start a http server (e.g.
python3 -m http.server 9999
) - run
node scrot.js
to take a screenshot of the html page - upload the generated screenshot to the server that is loaded by online-screensaver
Name | Screenshot |
---|---|
Rendered output | |
Displayed on a kindle |