Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luizpicolo/mastobot
Bot to consume RSS data and make it available on the social network Mastodon
https://github.com/luizpicolo/mastobot
feed hacktoberfest mastodon rss
Last synced: 14 days ago
JSON representation
Bot to consume RSS data and make it available on the social network Mastodon
- Host: GitHub
- URL: https://github.com/luizpicolo/mastobot
- Owner: luizpicolo
- License: agpl-3.0
- Created: 2020-03-24T01:28:14.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T10:05:14.000Z (almost 2 years ago)
- Last Synced: 2024-11-30T17:53:10.941Z (23 days ago)
- Topics: feed, hacktoberfest, mastodon, rss
- Language: Ruby
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# MastoBot
Bot to consume RSS data and make it available on the social network Mastodon
# How to use
First step is to clone the repository
git clone https://github.com/luizpicolo/mastobot
cd mastobot
bundle installSecond step is to create an access key in your Mastodon account (For this step we believe that you already have an account and know how to generate an access key).
Go to `/config/initializers` and change with the requested data
# Your instance mastodong (mastodon.social)
ENV['BASE_URL'] = 'https://exemplo.social'# Your access key
ENV['BEARER_TOKEN'] = ''# Feed for consumption
ENV['URI_RSS'] = 'https://feed.example'To test run in the terminal
rake toot:create
If everything went well you will have a news from the feed published in your instance.
Each call to the task publishes only one news item. So, you will have to create a Cron task for automatic publication in your instance.
# License
This software uses the same license as Mastodon
https://github.com/luizpicolo/mastobot/blob/master/LICENSE