All Projects → fenwick67 → mastofeed

fenwick67 / mastofeed

Licence: MIT License
ActivityPub feed => iframe embed. https://www.mastofeed.com

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
EJS
674 projects
SCSS
7915 projects

Projects that are alternatives of or similar to mastofeed

feedspora
FeedSpora posts RSS/Atom feeds to your social network accounts.
Stars: ✭ 31 (-43.64%)
Mutual labels:  atom, mastodon
Sdk
Make any URL embeddable. Turn any URL into a beautiful link preview.
Stars: ✭ 446 (+710.91%)
Mutual labels:  embed, iframe
Preact Habitat
Zero configuration Preact widgets renderer in any host DOM
Stars: ✭ 444 (+707.27%)
Mutual labels:  embed, iframe
react-responsive-embed
⚛️ Embed iframes responsively
Stars: ✭ 39 (-29.09%)
Mutual labels:  embed, iframe
prot16
Colour schemes mainly for highlighting code syntax. Each theme uses a 16-colour palette. It comes in light and dark variants.
Stars: ✭ 18 (-67.27%)
Mutual labels:  atom
colorstorm
A color theme generator for editors and terminal emulators
Stars: ✭ 101 (+83.64%)
Mutual labels:  atom
multi-cursor
🎉
Stars: ✭ 44 (-20%)
Mutual labels:  atom
merveilles-town
Fork of Mastodon repository with modifications to make Merveilles a town of our own.
Stars: ✭ 23 (-58.18%)
Mutual labels:  mastodon
Termination
Integrated terminal for Atom. Looks like terminal-plus, acts like your native terminal (except every other Friday). Looking for collaborators! :-)
Stars: ✭ 83 (+50.91%)
Mutual labels:  atom
focus-outside
📦 一个很棒的 clickOutside 库,它解决了 iframe 无法触发 clickOutside 的问题,并且它支持分组绑定处理。A good clickOutside library, which solves the problem that iframe cannot trigger clickOutside, and it supports grouping binding processing.
Stars: ✭ 74 (+34.55%)
Mutual labels:  iframe
tootbot
Python tool for mirroring Reddit posts to Twitter and Mastodon
Stars: ✭ 68 (+23.64%)
Mutual labels:  mastodon
qadmin
基于layui框架与Vue.js构建的QAdmin轻量级后台模板
Stars: ✭ 34 (-38.18%)
Mutual labels:  iframe
helloworld
federated social web blog and RSS reader
Stars: ✭ 22 (-60%)
Mutual labels:  atom
atom-languageclient
Provide integration support for adding Language Server Protocol servers to Atom.
Stars: ✭ 34 (-38.18%)
Mutual labels:  atom
pymolsnips
Pymolsnips is a library of PyMOL scripting language code fragments for several popular text editors.
Stars: ✭ 19 (-65.45%)
Mutual labels:  atom
embed-client
🎼 Sheet Music & Tabs Embed JavaScript Client
Stars: ✭ 43 (-21.82%)
Mutual labels:  embed
gotosocial
Golang fediverse server.
Stars: ✭ 400 (+627.27%)
Mutual labels:  mastodon
atom-package-sync
Synchronize your atom packages and settings easily
Stars: ✭ 22 (-60%)
Mutual labels:  atom
haskell-ghc-mod
haskell-ghc-mod atom package
Stars: ✭ 70 (+27.27%)
Mutual labels:  atom
baRSS
Menu Bar RSS reader for macOS
Stars: ✭ 39 (-29.09%)
Mutual labels:  atom

Mastofeed

Embed a mastodon feed in your blog et cetera.

https://www.mastofeed.com

User guide

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.

API

V2

GET /apiv2/feed

example: /api/feed?userurl=https%3A%2F%2Foctodon.social%2Fusers%2Ffenwick67&scale=90&theme=light

Returns a html page which displays a mastodon feed for a user URL. Note that URLs must be URI encoded (i.e. encodeURIComponent('https://octodon.social/users/fenwick67') ).

Querystring options:

option required description
userurl yes Mastodon/ActivityPub account URL (usually https://${instance}/users/${username})
feedurl no a URL to a page of an ActivityPub post collection. Only used for pages beyond the first.
theme no either dark, light or auto, to select the UI theme (default is dark). auto will appear light unless the user sets up dark mode on their device.
boosts no whether to show boosts or not
replies no whether to show replies or not
size no the scale of the UI in percent.

V1 (deprecated, will now just redirect you to the v2 API)

GET /api/feed

example: /api/feed?url=https%3A%2F%2Foctodon.social%2Fusers%2Ffenwick67.atom&scale=90&theme=light

Returns a html page which displays a mastodon feed for an atom feed URL. Note that URLs must be URI encoded (i.e. encodeURIComponent('https://octodon.social/users/fenwick67.atom') ).

Querystring options:

option required description
url yes Mastodon Atom feed URL
theme no either dark, light or auto, to select the UI theme (default is dark). auto will appear light unless the user sets up dark mode on their device.
size no the scale of the UI in percent.

Server Installation

This is a straightforward node project with zero databases or anything, you should just be able to run npm install and then npm start to get up and running. Set your PORT environment variable to change the port it listens on.

Improve me

Feel free to add a chaching layer, improve the styles and add more features.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].