Rendering static Pleroma posts
Following on from yesterday’s post about static tweets, I’ve also added a shortcode for fetching posts directly from Pleroma1. You can check out the code here.
Unlikey for the Twitter shortcode, I don’t have to proxy requests, because the Pleroma API does not require authorisation for public posts, making the implementation much less convoluted.
Check out the example below:
I wrote about statically rendering tweets with Hugo (the static site generator).
The tweets on my blog no longer use Twitter's oEmbed, but are rendered in at build time. When the page loads with a tweet in it, it's all static!
https://hugo.md/post/render-tweets-statically/
#100DaysToOffload— hugo (@uoya) March 26, 2021
Pleroma is an alternative to Mastodon, with a similar feature set, also using ActivityPub. ↩︎
On the web
Microsoft's Outage Showed Me Just How Distracting Email Can Be
Sat Nov 14 2026 by Kev QuirkFrankenstein
Wed Nov 11 2026 by joelchrono's blogDecompiling Fast Food Tycoon 2: Drawing the World
Sat Oct 24 2026 by Andrew Healey's BlogUsing R2 with Granted and the AWS CLI
Tue Jul 14 2026 by nicholas.cloudBack on a static site?!
Fri Mar 27 2026 by Articles by/from Ru Singh
Generated by openring