Embed The Fed

All it takes is a single javascript file & one new element in your markup to embed any fediverse feed you want!

<script src="https://cdn.jsdelivr.net/gh/andy-blum/fed-embed/dist/fed-embed.min.js"><script>

Get all posts by a user

<fed-embed data-user="https://mastodon.social/@mastodon"></fed-embed>
Demo

Get a single post

<fed-embed data-post="https://mastodon.social/@Mastodon/5258563"></fed-embed>
Demo

Style it however you want

fed-embed.styled { border: 10px dashed orange; background: darkviolet; color: white; text-transform: uppercase; font-weight: bolder; } <fed-embed class="styled" data-post="https://mastodon.social/@Mastodon/5258563"></fed-embed>
Demo