Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.3 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.3 KB

日本語 / 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.