I wrote a Steemit Bot that pretty prints twitter status links!

in #steemit8 years ago (edited)

I just finished writing up a python bot based on the lovely steem-piston library made by our very own @xeroc - and of course tweepy for the twitter part.

It is active at the moment and it's name is .. you guessed it ! @twitterbot

Concept

The idea is that it continously will read from the massive stream of comments that are currently floating in, scan for twitter status urls and render them neatly in the comments for an easy overview

I will open source it once I tidy up the code a bit (or even sooner if the demand is there) even though it's not overly complicated, a bit of optimization can always be done. It is after all a neat starting point for writing more bots in the future.

I really do hope that the steemit community will welcome something like this. So I can maybe do more projects like these in the future.

Features

  • Reply to both posts and comments
  • Render twitter avatar along with username and timestamp
  • Replace hashtags with appropiate link to search on twitter for that hashtag
  • Replace short url's in text with their real link title
  • A cache file to check whether it already replied to a given post
  • Concatenate multiple status links into the same reply
  • Double link detection (will filter out replies refering to the same tweet twice - or more - in the same comment)
  • It's Steem Powered! (yay)

Screenshots


Example 1:



Example 2:


Please leave as much feedback in the comments below as possible!

Sort:  

Congratulations @oleim! You have received a personal award!

2 Years on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @oleim! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

The Steem community has lost an epic member! Farewell @woflhart!
SteemitBoard - Witness Update
Do not miss the coming Rocky Mountain Steem Meetup and get a new community badge!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!