Mastodon logo

Mastodon embed timeline

When I was migrating my Twitter / X account to Mastodon, I was looking for a simple and easy way to integrate the timeline into my website. Everything I saw needed external libraries (like jQuery) or was developed in languages I didn't handle. So I forked an old project to remove the third party dependencies and update the code to make it compatible with modern browsers.

After seeing the rapid number of views on codepen and receiving feedback with some improvements, I have taken more time off to maintain and update the repository.

Currently I have been able to include accessibility and responsive support. Nowadays I am integrating features that Mastodon is including in the source code to improve the same experience to users who want to have their Timeline embed in their website.
Feel free to contact or open an issue if you have any ideas or improvements!

Here you can find the repository: