Home

Awesome

日本語 / Japanese

Mastodon-Activity-Embed

image

image
Easy to display activities of your own instance.

How to use

Only default theme and mastodon-light

<iframe src="https://yuzulabo.github.io/Mastodon-Activity-Embed/embed.html?<Put your instance domain here.>" style="width: 100%;height: 190px;" frameborder="0" scrolling="no" id="mae-frame"></iframe>
<script>var t = document.querySelectorAll('link[rel=stylesheet]')[1].href;document.getElementById('mae-frame').src+='&'+(t.match(/mastodon-light/i)?'000':'fff')</script>

Use custom theme

Please generate the code with Embed-Generator.

Please add that code to Custom extended information or Instance description.
image

If you want to run this on your own server, you can download to use it.