slash-twitter

Keeping a niche social account active is mostly a consistency problem. I built slash-twitter as a small bot that watched a subreddit, picked strong posts, and reposted them to Twitter with attribution.

It was simple on purpose: no dashboard, no database, just a scheduled script that kept a themed account alive with community content.


how it worked

Each run did five things:

  1. fetch recent tweets to avoid duplicates
  2. fetch hot Reddit posts above a score threshold
  3. skip pinned or low-quality posts
  4. post one matching item to Twitter
  5. stop

The logic was intentionally conservative so the feed felt curated instead of spammy.


stack

The project used:

  • PRAW for Reddit
  • Tweepy for Twitter
  • Heroku Scheduler for execution

Because the bot checked recent tweets before posting, it did not need a database at all.

The most useful part of the project was seeing how far a tiny automation can go when the scope is narrow and the filters are good.

live examples