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!
— hugo (@uoya) March 26, 2021
Pleroma is an alternative to Mastodon, with a similar feature set, also using ActivityPub. ↩︎
On the web
A Fediverse Backup?Tue Mar 21 2023 by Kev Quirk
My Own Python Web FrameworkWed Feb 22 2023 by Andrew Healey's Blog
ESLint as a learning resource.Fri Feb 17 2023 by Ru
Local Environment Seeders in LaravelMon Jan 30 2023 by stefanzweifel.dev
7 Reasons why I don't writeMon Jan 30 2023 by Max Böck
Generated by openring