This project combines e-paper, raspberry pi's, and StableDiffusion to make a picture frame that portrays anything you ask of it.
| E-Ink Screen + Raspi on an easel | Dashboard View |
|---|---|
![]() |
![]() |
poetry installpytest .bash .github/format.shbash .github/check_lint.shInstall docker
curl -sSL https://get.docker.com | sh
sudo groupadd docker
sudo usermod -aG docker $USERCreate a .env file in your current directory and fill in the API key:
REPLICATE_API_TOKEN=<your token here>
RENDERER=inkyBuild and run the image
docker compose up --build -dWhen using a Raspberry pi, make sure to enable the spi interface by going to raspi-config,
interface options, and selecting enable.
For local development, OpenCV is used to render images to a window. The .env file needs
to be updated to allow opencv to be installed (and used for rendering).
In the .env file, fill out the following:
REPLICATE_API_TOKEN=<your token here>
RENDERER=opencv
POETRY_EXTRAS=--extras opencv
Then, in terminal give docker access to the X window manager:
xhost +Then build and run using the above commands.

