Tweem 0.1.2, automatically tweet your new posts and resteems

in #utopian-io7 years ago (edited)

header.png
Click here to get redirected to the GitHub page of Tweem.

A couple of days ago, @planetenamek asked me if I could code a bot that would tweet all the new resteems coming from a specified account. I really liked the idea and immediately started working on it. After encountering lots and lots of technical issues that made me progress quite slowly, I'm finally ready to announce my new creation to you. This bot is called Tweem and if you are used to share your Steem activity on Twitter, it just might save you some time while also making the process of promoting Steem on Twitter simpler.

What is Tweem all about ?

Tweem is a bot that filters the new Steem blockchain operations and detects the new posts and resteems coming from a specified set of accounts. The posts obtained are then shared on Twitter, you don't even have to lift your finger ! It is necessary that you deploy this bot by yourself, refer to the instructions available on its GitHub page to learn more about that. You can see on the screenshot below an example of a tweet that was automatically sent by the bot when I resteemed a post made by @fundition. The relevant post data is included in the tweet, that is its title, its tags and a link to read it in its entirety.

tweet.png

Configure Tweem as much as you like !

Everyone has their own preferences, that's why Tweem aims to be as much configurable as possible. You can change the used nodes, the accounts to watch for, the way mentions and tags are handled, what should be included in the tweet... Of course, if you only want to tweet new posts or only new resteems, you can do that too. The bot configuration is done with a file named config.json, this file is explained in great detail on the GitHub page of this project. Don't worry if you have no clue what JSON is, it is not complicated at all to understand. However, if you are lost, you can contact me on Discord (RagePeanut#8078) or directly under one of my posts.

Choose what kind of links to authorize !

When a post is published on the Steem blockchain, it is more often than not intended to be read with the same application it came from. Even between Steemit and Busy, some posts change completely to the point that they don't even look alike (e.g. Steemit - Busy). That's why Tweem looks for the application from which the post was published and creates a link to its website if it supports viewing posts. For that to happen though, applications need to be known by the bot, otherwise it will link to Steemit. You can disable "intelligent" links site by site in the config.json file, these links will then no longer redirect to the website posts originated from but to Steemit. Here is a full list of websites that are known by the bot and that support viewing posts.
WebsiteOfficial description
BeScoutedPhotography community that rewards for creating quality content.
BusyEnsuring compensation for the creators of value.
DLiveThe first decentralized live streaming and video platform for you to share original content, and earn feeless rewards directly from your viewers.
dManiaMake money with memes, funny pictures and videos.
DSoundDecentralized Sound Platform.
DTubeThe first crypto-decentralized video platform, built on top of the STEEM Blockchain and the IPFS peer-to-peer network.
FunditionA next-generation, decentralized, peer-to-peer crowdfunding and collaboration platform.
ParleyThe place where conversations happen.
SteemhuntA Steem Fueled Product Hunt.
SteemitA social media platform where everyone gets paid for creating and curating content.
SteemKRKorean version of Steemit.
SteepshotPlatform that rewards people for sharing their lifestyle and visual experience.
UtopianRewarding Open Source Contributors.
ZapplDecentralized censorship resistant micro blogging Social Media site that pays.
If you are working on a website that can read and write posts but it's not in this list, let me know by commenting this post ! I'll add it as soon as I see your comment.

What's coming next ?

  • A written tutorial to help you run your own instance of Tweem: this tutorial will be precise and aimed at people knowing nothing about JSON and/or deploying an application on Heroku.
  • A better stream: the current stream is alright but it's not that good, the new stream I'm working on will miss less operations which means that it will be more reliable.
  • Specifying the author of a post in a customizable text added to the tweet content.
  • Two user lists: one for posts, the other one for resteems.
  • A special case processing for Twitter-like posts: Busy's quick posts, Zappl...
  • A better processing of resteems containing a comment: when they will be made available on Steem.

Contributions

If you want to contribute to this project or talk about an issue it has, feel free to visit its GitHub page. You can also clone it and follow the instructions written there to get it running. My social medias are listed at the end of the README.md file. If you add me on Steam, tell me the reason why on my wall, otherwise I won't accept your friend request.

Language and packages used

This bot is fully written in Node.js. At the moment, it only requires two packages to work. The first one is steem.js which allows it to interact with the Steem blockchain. The second one is Twit which allows it to interact with the Twitter API. This project wouldn't exist without those two packages, if you are a developer looking to make something related to Steem/Twitter, definitely go check them out !



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @ragepeanut

We're already looking forward to your next contribution!

Decentralised Rewards

Share your expertise and knowledge by rating contributions made by others on Utopian.io to help us reward the best contributions together.

Utopian Witness!

Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.

Want to chat? Join us on Discord https://discord.me/utopian-io

Hi !

Your publication are greatly appreciated and are very important to promote steem content across twitter.

I have some ideas for the future :

  • filter by app (eg : share only utopian and / or fundition)
  • share on Facebook and ReEdit (yeah, need to rebrand the bot ;) )

Thanks ! Those are some quite nice ideas, will definitely add them to my to-do list ! :D

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 18 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 38 SBD worth and should receive 110 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Thanks for the contribution. It has been approved.


Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.

[utopian-moderator]

Upvoted And Followed you. do The same for me and we could help each other Earn.

wow nice what's great post