Easy to display activities of your own instance.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
README_ja.md
embed.html
generator.html
getActivity.js
language.js
style.css

README.md

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