I hacked together rss2md to import my Mastodon posts into my personal site as “Chirps,” then republish them through my Astro site.
Source: https://github.com/kwo/rss2md
Treat it as a starting point to customize, not a finished product.
Right now my website is the source of truth for all posts. Eventually I’d like it to become a Fediverse node itself, without Mastodon.