Mastodon Timeline Embed
Embeddable Mastodon timelines (profile/hashtag/local) using a client-side widget.
Updated

What it does
This is a small collection of static embed pages that render a Mastodon timeline inside a container using the MastodonTimeline JavaScript widget.
It’s useful when you want an embeddable feed UI (e.g., profile posts) without running a server.
How to use it
There are multiple entry pages under /tools/mastodon/ for different feed types:
- Profile timeline: https://tools.tedt.org/mastodon/profile.html
- Hashtag timeline: https://tools.tedt.org/mastodon/hashtag.html
- Local timeline: https://tools.tedt.org/mastodon/local.html
To point the embed at a different instance / account / hashtag, edit the page’s inline initialization block (it passes settings like instanceUrl, timelineType, and userId).
Notes
- The widget fetches public data via the instance’s API endpoints.
- Because this is client-side, the browser is the one making requests to the Mastodon instance.
Features
- Profile / hashtag / local timeline modes
- Light/dark theme (auto via prefers-color-scheme)
- Pure client-side embed (fetches from Mastodon API)