TheAwiteb / pleroma-rss

[deprecated] A Pleroma and Mastodon bot that sends RSS feeds to your followers
GNU Affero General Public License v3.0
7 stars 1 forks source link

Any chance to modify bot to quit when done posting? #8

Open realkinetix opened 1 year ago

realkinetix commented 1 year ago

I have a feature request:

The setup of this bot is interesting, but I would like to have the bot post under different pleroma users for different feeds. It would require the bot terminating after doing it's current catch-up posting of a feed.

For example, I would like to run pleroma-rss with one access token and one feeds file. When it's posted everything from that feeds file, it should exit. Then I would like to run pleroma-rss with a different access token and a different feeds file. When it's posted everything from that feeds file, it should exit.

This would be so that users can follow news sources on my instance the same way they would have followed twitter news sources. One user per source.

I would then run a cron job that would run all the different pleroma-rss setups with the -n flag every 10-15 minutes or so.

Perhaps if waiting-new was set to 0 it could signal it to stop?

TheAwiteb commented 1 year ago

Hi Realkinetix, I don't see the need to add this in the bot, because you can run more than one instance of it and customize all of them individually.

realkinetix commented 1 year ago

Sure, but why would one want to leave them running all the time especially if you have tens or hundreds of them? Isn't that a waste of resources?