Soneliem / WEbPaper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WEbPaper

Description

A simple app that periodically takes a screenshot of a desired website and automatically sends it to a compatible e-Paper display. The project uses Omni-EPD to support a wide variety of displays.

Installation

Clone the repository and run the installation script.

git clone https://github.com/Soneliem/WEbPaper.git
cd WEbPaper
./install.sh

The script installs Node.js, creates a python virtual environment and the required dependencies.

Configuration

The application uses a .env file to configure the application. The following variables are required:

  • DISPLAY_WIDTH — The width of the display in pixels.
  • DISPLAY_HEIGHT — The height of the display in pixels.
  • URL — The URL of the website to take a screenshot of.
  • LOAD_TIME — The time in milliseconds to wait for the website to load before taking a screenshot.
  • UPDATE_INTERVAL — The interval in minutes to take a new screenshot.
  • NEGATIVE — A boolean value to invert the colors of the screenshot.

Usage

Run the application with the following command:

npm run prod

Credits

This project was loosely based on rpi-magicmirror-eink.

About


Languages

Language:TypeScript 55.0%Language:Shell 26.7%Language:Python 11.4%Language:JavaScript 6.8%