Skip to content

A bot that posts deeplinks from a given subreddit to up-and-coming federated platforms, helping to seed them with content.

License

Notifications You must be signed in to change notification settings

tweedge/xpost-reddit-to-fediverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bring Link Aggregator Subreddits to the Fediverse

License Code Style

An example bot (meant for deployment in Lambda) that cross-posts direct links from a given subreddit to up-and-coming federated platforms, helping to seed them with content without simply linking back to Reddit.

This posts direct links only, so for the example post:

Used By

I use this bot to cross-post my favorite link aggregator subreddits to the social media sites where I now spend my time:

Moderation

To limit the chance that spam or other unwanted content is cross-posted by this bot, some useful features are on and enabled by default:

  • Time delay: This bot includes a short delay before new posts are eligible for cross-posting so the Reddit community's automated tools (such as AutoModerator) are ~guaranteed to have run. This also increases the chance that any unwanted content has been reported and removed by the subreddit's moderators and Reddit administration, but does not guarantee it (ex. subreddit moderators are volunteers, and may be offline).
  • Vote count and ratio filter: This bot can be configured to require a certain number of upvotes or a certain post ratio before posting. This can help avoid irrelevant content that was posted by non-community-members, as well as intentional spam. While this can be bypassed with bought votes, that increases the chance the content is removed by Reddit administration.
  • DNS filtering: This bot also includes a DNS-based filtering mechanism to limit what links are posted, and is set by default to prevent posting any known-NSFW (e.g. pornography) sites. You can use a DNS filter of your choice, ex. NextDNS, to pare down what sites can be posted (I recommend doing this so you can also filter new domains). If DNS filtering is not wanted, you can disable filtering by placing a non-filtering DNS resolver ex. Google DNS instead (this will instead ensure the link contains a valid and resolvable domain - so it's still a value add).

However, the bot is not "smart" and does not have other features to limit unwanted content. If it sees links that pass the above checks, it will post them. Therefore this bot should only be used on active, well-moderated subreddits.

If you are 'hunting for an occasional gem' on a subreddit, just post links that interest you manually, don't use a bot!

Considerations

Because the bot only posts direct links and doesn't have readers go through Reddit as an interstitial/doesn't link to the comment section, it will only work for subreddits which are primarily used as link aggregators.

The decisions made in this bot are generally good for people who may object to using Reddit directly but find value in the communities that have formed on Reddit, or are moving away from Reddit gradually, etc.

I also wrote a bot oriented towards discussion-focused subreddits, the "Best Of" r/cybersecurity bot, which summarizes posts and links to Reddit so people can read the full discussion including comments.

About

A bot that posts deeplinks from a given subreddit to up-and-coming federated platforms, helping to seed them with content.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published