I previously used a global data file to fetch all my public Mastodon posts so I could display them on my website.
Now, that same code is available as an #11ty plugin that exposes all your public Mastodon posts as a global data object.
https://www.npmjs.com/package/eleventy-plugin-mastoarchive
via Mastodon