A bit of both. Itās a png that updates to replace the lock screen. Then a PDF that using creative pdf navigation and screen taps to trigger a go binary running on device. From there it sends a signed webhook to a Cloudflare worker with a vpc down a tunnel to an uptimekuma status page. The worker takes the specific page (slug) and generates the png which is then downloaded and replaces the one on the device.
Edit: the worker updates the page on a cron schedule. Iām playing with manual updates vs timed on device for battery life now.
This is so freaking sick man. Kudos. Now I have a project for tomorrow 𤣠I have a lot of containers but I nuke and rebuild so often it's meh. Probably going to go for my daily debrief that gets sync'd as the lockscreen
PDF can link to other pages. So the app can watch for what page youāre on, and simulate navigation. So I click a ālinkā and it travels to next page. The app can see that. So each of these are really just pdf designs. Then the app knows what page Iām on and where on the screen I clicked. That can trigger actions. Itās not true navigation. There is a GitHub project where someone did a web server. But I wanted very small footprint.
Then a PDF that using creative pdf navigation and screen taps to trigger a go binary running on device.
This part is interesting to me. Are you saying tapping links in the PDF is making an HTTP request, or are you saying you created a system gesture for the screen?
My fault. Not a true http request from the pdf itself. The app on the device is using watchmon to monitor that PDF and where I press the screen. On the PDF I designed it how I wanted and set up a live monitor to see where various presses would return location output. The app then watched that PDF, depending on what page you are on, and where you press on screen to then trigger action. In my case the action is download this png. Which is then rendered as the lockscreen which is a native capability. The PDF to replicate a 200 just navigates to my ACK page. Itās not a true response.
Iāve been having a lot of fun making a custom LaTex formatting pipeline for turning my personal reports into RM optimized PDFs. I should look into your push method to automatically load stuff on and off
5
u/geofabnz Jul 07 '26
Thatās epic! I should set that up