Server for e-paper client.
I've created this app for my project that uses Raspberry pico and Waveshare e-ink screen. It allows me to display calendar (or any other image actually) from e-paper server and I can have an e-ink display in photo frame from IKEA that shows me all of my events.
- When you call on
/calendarendpoint app is getting event data from .ics files from links inapplication.conffile. - Adds those events to HTML file.
- Gets weather data and adds it to HTML file.
- Creates a static web page with calendar.
- Takes screenshot of this calendar.
- Translate it to bytes and return it as response to query.
- Scala
- Play Framework
- Playwright
you can create a Docker Image using sbt command sbt docker:publishLocal
or fork project and use workflow to do a hard work. You only need to add DOCKERHUB_USERNAME and DOCKERHUB_TOKEN
to GitHub secrets, and it will create an image and push it to docker hub.
This app needs conf/application.conf file:
play.server.http.address = "0.0.0.0"
play.server.http.port = 9000
calendars = [
{
url = "<sample_url>",
tag = "<sample_tag>"
},
]
lat = "00.00"
long = "00.00"
counterStart="1990-03-01"
counterEnd="1990-03-15"
play.http.secret.key="changeme"
play.http.secret.key=${?APPLICATION_SECRET}
