I wrote a Steemit Bot that pretty prints twitter status links!
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.
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!
Looks fine.
I'll be waiting for the code.
Sure thing!
It's pretty late here (in Denmark) I'll probably get around to it in the morning
Maybe as late as here in Spain!
It's not a hurry ;-)
Hey @twitterbot, Are you still working. I was just mucking around with a comment on this post https://steemit.com/census/@brendio/australian-census-online-fail#@brendio/re-brendio-australian-census-online-fail-20160809t123054440z to try to get your nicely format copy of the tweet.
It's getting late, maybe you are asleep? Or does my post not fit some criterion for you?
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
Congratulations @oleim! You received a personal award!
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:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!