Skip to content

yuzulabo/Mastodon-Activity-Embed

Repository files navigation

日本語 / Japanese

Mastodon-Activity-Embed

image

image
Easy to display activities of your own instance.

How to use

  • It needs Mastodon v2.1.2 or later, and Publish aggregate statistics about user activity must be enabled. (Please check administration panel.)

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.

About

Easy to display activities of your own instance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published