Skip to content

Biff coding #7: try to run untrusted Babashka code with Fly.io Machines

Photo of Jacob O'Bryant
Hosted By
Jacob O.
Biff coding #7: try to run untrusted Babashka code with Fly.io Machines

Details

Before the full glory of Platypub can be realized, we need a good setup for running untrusted user code on demand (see #21). I think Fly Machines might be the answer. We'll go through the docs on that page and hopefully get a hello-world Babashka script running in a sandbox before our time runs out.

Background: Platypub is a blogging platform that supports custom themes. A theme is just a Babashka script that spits out a folder of HTML files and such. That makes custom themes very flexible, but also means that we can't deploy a publicly-accessible production instance of Platypub until we have a safe way to run the theme code. The theme script will run whenever a user needs to preview or publish to their blog.

As always, this will be completely unscripted and un-prepared-for. Hopefully we don't end up having to sit and do nothing for 5 minutes while a Docker container builds, or something.

RSVP for access to the Zoom link.

---

Twice per month we'll hack on a Biff project together. One week I'll do a solo coding session, and the other we'll do pair programming if someone has signed up. It'll be relaxed, no preparation required. Afterwards we can chat if anyone has anything to talk about.

All meetups will be held on Zoom. We'll record the coding session, and the post-coding chat part will be unrecorded.

Photo of ......................... group
.........................
See more events