An open API service indexing awesome lists of open source software.

https://github.com/hartlco/masto_rss

Turn your Mastodon timeline into an RSS-Feed.
https://github.com/hartlco/masto_rss

docker mastodon rss rust

Last synced: 4 months ago
JSON representation

Turn your Mastodon timeline into an RSS-Feed.

Awesome Lists containing this project

README

          

# masto_rss

## Disclaimer
This code was thrown together quickly, without any security or quality considerations. I am running the Docker image locally, consumed by a locally hosted [FreshRSS](https://freshrss.org) instance.

## Intro
masto_rss turns your Mastodon timeline into an RSS-Feed.

## Installation
### Docker
`docker run --name masto_rss --env-file .env -p 6060:6060 -d hartlco/masto_rss:v0.0.2`

### Docker Compose
Copy the `docker-compose.yml` and run `docker-compose up -d` from within the folder.

## Compile and run
Install the Rust toolchain, clone the repository, `cargo run`.

## Environment
Create a `.env` file (see `.env.example`) with your Bluesky credentials.
Docker Compose will read the `.env` file via `env_file`.

## Fetching Feeds
Your feed is available at `http://localhost:6060//`
- MASTODON_INSTANCE: The domain-name of your instance. `mastodon.social` for [https://mastodon.social](https://mastodon.social)
- ACCESS_TOKEN: Create a read-only Mastodon-App in your Mastdon instance settings. Copy the `access_token`.

For Bluesky, use `http://localhost:6060/bluesky` and set credentials in `.env`.
- BLUESKY_IDENTIFIER: Your Bluesky handle or email.
- BLUESKY_PASSWORD: Your Bluesky password (app password recommended).

## License
The MIT License (MIT)