This is the source code for an e-paper/Raspberry Pi frame I made.
The main source is frame-server.go. You'll need to go get github.com/dce/rpi/epd7in5 to build the project, but otherwise it should be pretty straightforward. I've included a couple scripts in bin to making development easier:
docker-shell.shspins up a session you can compile the project inbuild.shcompiles the projectbuild-arm.shcompiles the project for running on the Pideploy.shlogs into the Pi, stops the program, uploads the new version, and starts the program
In etc, you'll find a couple useful utilities:
frame-server.serviceis asystemdconfiguration to control the programrandom-photois a script you can put in/etc/cron-hourlythat fetches new photos from S3 and displays a random photo on the Pi