Embed an activitypub feed in your blog et cetera.
This is a fork of mastofeed that adds support for more themes and Misskey.
The homepage has a tool for generating iframe code for you, with a sensible
sandbox attribute. The feeds fit comfortably in a 400px wide area.
Returns a html page which displays a feed for a user URL. Note that URLs must be URI encoded (i.e.
||*||Mastodon/Pleroma/Misskey account URL (usually
||**||Mastodon/Pleroma/Misskey instance URL (usually
||**||Mastodon/Pleroma/Misskey user ID (usually
||no||a URL to a page of an ActivityPub post collection. Only used for pages beyond the first.|
||no||whether to show boosts or not|
||no||whether to show replies or not|
||no||the scale of the UI in percent.|
userurl is required if
user are not specified.***
user are required if
userurl is not specified.***
user are mutually exclusive.
This is a straightforward node project with zero databases or anything, you should just be able to run
yarn install and then
yarn start to get up and running. Set your
PORT environment variable to change the port it listens on.
Feel free to add a caching layer, improve the styles and add more features.