firefly, (edited )
@firefly@neon.nightbulb.net avatar

Is there a way (via cli or by calling a snac function from a script) to poll and auto-accept follows to a certain profile, and then auto-boost all posts that mention that profile address?

The idea is to function like a group on the local server so that all followers will be able to see all toots addressed to the profile.

So user Bob is following user @boost. User Alice posts a status mentioning @boost. The account @boost automatically boosts the post from Alice. Then user Bob eventually can see the boosted post in the timeline.

If there is a way to hack or cobble this I'd probably rather go that route rather than trying to author C code for it. I haven't even tried to write C code for like 20 years, and even then I was not proficient at it. A hackety solution is just as good for my purpose, if anyone can suggest any.

I know I can emulate this behavior by scripting a mastodon client to do it with a cron job. But if there is a way to use snac commands or a config hack I would prefer it.

@grunfink

grunfink,
@grunfink@comam.es avatar

Hi. I'm afraid there is no easy way to automate what you want just using #snac 's command-line interface. As you say, doing it via the Mastodon API could be feasible. I don't know of an already written tool that does this, but it may exist out there.

The #ActivityPub actor of type Group was defined basically for this; to boost to their followers all posts that mention it. Programs like Lemmy and the Wordpress ActivityPub plugin implement 'channels' this way.

Implementing support for this in snac won't be too difficult, but I want to keep it as slim as possible. I don't totally discard the idea, though, so I'll write it down as a possible thing to be done in the future.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • Durango
  • ethstaker
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • osvaldo12
  • JUstTest
  • tacticalgear
  • cubers
  • cisconetworking
  • anitta
  • provamag3
  • modclub
  • mdbf
  • GTA5RPClips
  • tester
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines