Skip to content

MastodonAvailable now

A Mastodon feed widget for any server in the fediverse.

Mastodon is not one website but thousands of independent servers that talk to each other. A Mastodon feed widget has to know which server an account lives on, ask that server directly, and respect the choices the author made about who sees what. Get those three right and it is one of the easiest networks to put on a page.

Mastodon works today on every plan, including Free. Every Mastodon server answers for its own public accounts, so there is nothing to sign in to and no key on either side.

Mastodon posts run longer than most social posts and often carry a described image. An editorial layout gives the text a column and the picture a frame.

The address

Two halves, one address.

Mastodon is thousands of servers, and an address names both the account and the server that holds it. Paste the whole address, or a profile link, which carries the server with it.

@studioThe name@mastodon.socialThe server it lives on

  • Asked directly

    We read each account from the server that holds it. The fediverse has no central index to ask instead.

  • Same name, another account

    @studio@mastodon.social and @studio@hachyderm.io are two accounts, and often two different people.

  • Followed by its id

    Once found, the account is followed by its id on its own server, so a new username does not break the feed.

What Mastodon hands over

What a Mastodon widget can show.

Every Mastodon server serves its members’ public posts to anyone who asks, so there is nothing to sign in to. This is what arrives with each post.

Any public account
As @name@server or a profile link, including one you found through another server.
The first image or video
With the author's image description as its alt text, so a described photo stays described on your page.
Video as a still
Its preview still, marked with its running time.
Favourites and replies
Counted at the moment of sync.
A link home
From each post to its page on the author's own server.

Left behind, on purpose

  • Replies and boostsThe wall shows what the account wrote itself.
  • Every attachmentA tile shows the first of up to four.
  • The fediverse's whole tagA tag is read from one server's view of it. More on that below.

Mastodon, in particular

The author's settings travel with the post.

Mastodon gives authors more say over each post than most networks do. A widget that ignores those settings puts things on your site that the author deliberately kept quieter. This one reads them, and only one kind of post makes it through.

Which Mastodon posts reach the wall, by the author’s setting
SettingWhat it meansOn the wall
PublicAnyone can see it, on any server.On the wall
UnlistedPublic, but kept out of timelines, trends and search by the author's choice.Left out
Followers onlyOnly the account's followers can see it.Left out
Private mentionOnly the accounts it mentions can see it.Left out
Content warningHidden behind a click the author asked for, which an embed cannot offer.Left out
Sensitive mediaBlurred until someone chooses to look. The wall leaves it out rather than show it uncovered.Left out

Setup

How to add a Mastodon feed to your website.

  1. Copy the full address

    Take the whole address from the profile, name and server, or copy the profile link. A name on its own is not enough to find the account.

  2. Add Mastodon as a source

    Paste it into Sources. We look the account up on its own server and read its recent public posts. There is no sign-in, because a public Mastodon post needs no permission to read.

  3. Choose a layout for text and images

    Mastodon posts run long, up to 500 characters on most servers, and often carry a described image. An editorial or compact layout gives both room.

  4. Embed it

    Paste the snippet into your site once. New public posts arrive at your plan's refresh cadence, daily on Free, with no redeploy.

Hashtags

A hashtag, as one server sees it.

There is no fediverse-wide search. A Mastodon hashtag is whatever has reached the server you ask, so you choose the server when you add the tag: mastodon.social, unless you name another.

Strangers write a tag, so every post it collects waits in your queue for approval. Planning one for an event? The hashtag wall guide shows how to test it first.

  • mastodon.social

    Large and well connected, so it sees a big slice of a busy tag.

  • A small server

    Sees only the tagged posts that have reached it, so the same tag looks thinner.

  • A closed server

    Closed to logged-out readers

    Shows tags only to signed-in users. You see an error when you add the tag, not an empty wall later.

Mastodon questions, answered.

No. Mastodon servers serve public posts to anyone, so there is nothing to sign in to. You need the account's full address, @name@server, or a link to its profile, and the posts you want on the wall have to be public.

Any server running Mastodon, from mastodon.social and hachyderm.io to a single-person instance. We ask the account's own server directly rather than going through a central service, because the fediverse does not have one.

From one server's view of it. A Mastodon hashtag is whatever has reached the server you ask, so a large, well-connected server gives the fullest picture of a busy tag. Servers that close public timelines to logged-out readers refuse the connection outright.

Usually because of a setting on the post itself. Replies and boosts are left out on purpose, and so are posts that are unlisted, followers-only, marked sensitive or behind a content warning. A public, uncovered post of your own arrives at the next refresh.

Yes. Reading a Mastodon server costs nothing and uses no shared quota, so Mastodon is one of the free sources on every plan. On Free it can be one of the two sources in your feed.

Install guides

On WordPress, Shopify or anything else.

Wherever your site is built, the feed goes in as one script tag and one element, inside its own shadow root, so nothing in your theme can restyle it. Each guide shows where to paste it.

More networks

Every network compared side by side, including what each one demands before it will hand anything over, is on the social media widgets overview.

  • Bluesky widget

    Public posts from any account, no sign-in needed

  • RSS widget

    Articles from any blog or publication feed

  • Twitter (X) widget

    Public posts from any account, a hashtag, or mentions

Build your first wall today.

Paste a Mastodon address, pick a layout, and put it on your site with one line of embed code.