Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

RSS to ActivityPub bridge

License

NotificationsYou must be signed in to change notification settings

jehna/mastofeeder

Repository files navigation

MastoFeeder

RSS to ActivityPub proxy

This is a simple Mastodon/ActivityPub server that has a virtual@website@mastofeeder.com user for every RSS feed in the Internet. Just searchfor your favourite RSS-enabled website from Mastodon's search and follow theuser! All RSS items will be posted as toots.

Examples:

  • @xkcd.com@mastofeeder.com
  • @engadget.com@mastofeeder.com
  • @techcrunch.com@mastofeeder.com
  • Or any other website that has an RSS feed!@YOUR_WEBSITE_HERE@mastofeeder.com
  • Convert slashes to dots:indiegames.com/blog ->@indiegames.com.blog@mastofeeder.com
  • Remove.rss and.xml extensions:https://feeds.yle.fi/uutiset/v1/majorHeadlines/YLE_UUTISET.rss ->@feeds.yle.fi.uutiset.v1.majorHeadlines.YLE_UUTISET

Developing

You can run the project locally:

yarnSERVER_HOSTNAME=your-domain.com yarn dev

This runs the project usingts-node. Note that you need to have a public DNSfor the project to work; you can use e.g.ngrok orlocalhost.run for this.

Building

Running the project in dev mode is not recommended for production, as it takes alot more memory and yields in longer startup time. You can run the project inproduciton mode by building it first:

yarn buildyart start

This compiles the project tobuild/ folder usingtsc and runs the built app.

Deploying

This project is deployed automatically when pushed tomaster branch usinggh-actions.

Features

This project tries to achieve:

  • Following any RSS feed directly from Mastodon
  • No login, no registration, no ads
  • Being a super simple ActivityPub server

Configuration

This project uses environment variables for configuration. The followingenvironment variables are available:

SERVER_HOSTNAME

Required:true

Needed so that the server knows what domain it's running on.

DATABASE_FILENAME

Default:./database.db

This project uses SQLite as a database; it's the simplest sane option forsingle-server fly.io persistence. You can specify the filename of the databasehere.

Other RSS → ActivityPub projects

There are other awesome projects that are very similar to Mastofeeder, so makesure to check them out too!

Contributing

If you'd like to contribute, please fork the repository and use a featurebranch. Pull requests are warmly welcome.

Licensing

The code in this project is licensed under MIT license.


[8]ページ先頭

©2009-2025 Movatter.jp