https://github.com/eallion/mastodon-embed-timeline
π§π§π§π§π§Mirrorπ§π§π§π§π§ Mirror of mastodon-embed-timeline. Source: https://gitlab.com/idotj/mastodon-embed-timeline
https://github.com/eallion/mastodon-embed-timeline
embed gotosocial masto mastodon timeline toot
Last synced: 3 months ago
JSON representation
π§π§π§π§π§Mirrorπ§π§π§π§π§ Mirror of mastodon-embed-timeline. Source: https://gitlab.com/idotj/mastodon-embed-timeline
- Host: GitHub
- URL: https://github.com/eallion/mastodon-embed-timeline
- Owner: eallion
- License: agpl-3.0
- Created: 2023-08-03T13:45:13.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T16:08:46.000Z (12 months ago)
- Last Synced: 2024-10-17T06:48:13.133Z (9 months ago)
- Topics: embed, gotosocial, masto, mastodon, timeline, toot
- Language: JavaScript
- Homepage: https://eallion.com/en/mastodon
- Size: 1.61 MB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# π Mastodon embed timeline

Embed a Mastodon timeline in your page with just a CSS and JS file.
Demo:
## π Table of contents
- [Installation](#-installation)
- [Setup](#-setup)
- [API](#-api)
- [Examples](#-examples)
- [Browser support](#-browser-support)
- [Improve me](#-improve-me)
- [License](#οΈ-license)
- [FAQ](#-faq)
- [Alternatives](#alternatives)## π οΈ Installation
Steps for installing the timeline in three different ways. [Click here](https://gitlab.com/idotj/mastodon-embed-timeline/-/blob/master/docs/INSTALLATION.md)
## βοΈ Setup
Steps to configure and customize your timeline. [Click here](https://gitlab.com/idotj/mastodon-embed-timeline/-/blob/master/docs/SETUP.md)
## π API
The current version has the following functions that can be performed:
| Function | Description |
| ------------------------- | ------------------------------------------------------------------------------- |
| `mtColorTheme(themeType)` | Apply a theme color. `themeType` accepts only two values: `'light'` or `'dark'` |
| `mtUpdate()` | Reload the timeline by fetching the lastest posts |## π Examples
The folder `examples/` contains different demos of timeline types to play with. Download the full project and open each HTML file in your favorite browser.
If you have any problems loading the examples in your browser (e.g. CORS error), check the documentation [CONTRIBUTING.md](https://gitlab.com/idotj/mastodon-embed-timeline/-/blob/master/CONTRIBUTING.md#testing) to run the examples using alternatives such as Docker or Http-server.
## π Browser support
Mastodon embed timeline is supported on the latest versions of the following browsers:
- Chrome
- Firefox
- Edge
- Safari
- Vivaldi
- Opera## π Improve me
Feel free to add your features and improvements.
In the file [CONTRIBUTING.md](https://gitlab.com/idotj/mastodon-embed-timeline/-/blob/master/CONTRIBUTING.md) you have detailed information that explains how to modify, build and collaborate with this project.## βοΈ License
GNU Affero General Public License v3.0
## π¬ FAQ
Check the [closed issues](https://gitlab.com/idotj/mastodon-embed-timeline/-/issues/?sort=created_date&state=closed&first_page_size=20), you might find your question there.
If nothing matches with your problem, check the [open issues](https://gitlab.com/idotj/mastodon-embed-timeline/-/issues/?sort=created_date&state=opened&first_page_size=20) or feel free to create a new one.
Looking for a previous version of Mastodon embed timeline?
Check on the tags list to see all the released versions: [Tags history](https://gitlab.com/idotj/mastodon-embed-timeline/-/tags)## Alternatives
Other projects to embed your Mastodon timeline:
- (fork of this project)
-
-
- (fork of mastofeed)
-
-