Git Product home page Git Product logo

susi_tweetbot's Introduction

susi_tweetbot

Build Status

How to chat with Susi AI bot on Twitter

Visit your twitter account and tweet to @SusiAI1 with your query and enjoy a tweet back from the Susi AI bot account!

Also, you can enjoy personal chatting with Susi. Follow the SUSI AI account on twitter here and have a personal chat with it. twitter chat

Getting Started : Twitter Susi AI Bot Installation

We will make a Susi messenger bot account on Twitter. This account will tweet back when it's name is mentioned in a tweet. Also, 1-on-1 auto chat will be inculcated to our account.

Make a new account, which you want to use as the bot account. You can make one from here.

Prerequisites

To create your account on -:

  1. Twitter
  2. Github
  3. Heroku

Setup your own Messenger Bot

  1. Fork this repository.

  2. Make a new app here, to know the access token and other properties for our application. These properties will help us communicate with Twitter. twitter app

Click "modify the app permissions" link, as shown here: twitter keys

Select the Read, Write and Access direct messages option: twitter permissions

Don't forget to click the update settings button at the bottom.

Click the Generate My Access Token and Token Secret button.

  1. Create a new heroku app here.

This app will accept the requests from Twitter and Susi api. create heroku app

  1. Create a config variable by switching to settings page of your app.

    The name of your first config variable should be HEROKU_URL and its value is the url address of the heroku app created by you. config variables

    The other config variables that need to be created will be these: twitter config variables

    The corresponding names of these variables in the same order are:

    1. Access token
    2. Access token secret
    3. Consumer key
    4. Consumer secret

    We need to visit our app from here, the keys and access tokens tab will help us with the values of these variables.

  2. Connect the heroku app to the forked repository.

Connect the app to Github by selecting the name of this forked repository. heroku github connect

  1. Deploy on development branch. If you intend to contribute, it is recommended to Enable Automatic Deploys.

Branch Deployment. branch selection

Successful Deployment. heroku deployment

  1. Visit your own personal account and tweet to this new bot account with your query and enjoy a tweet back from the bot account!

  2. Also, you can enjoy personal chatting with Susi. twitter chat

Feel free to play around with the already made SUSI AI account on twitter here. Follow it, to have a personal chat with it.

susi_tweetbot's People

Contributors

aliayub007 avatar hoangvanthien avatar manveer695 avatar mariobehling avatar niranjan94 avatar pri22296 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

susi_tweetbot's Issues

Implementing kubernetes deployment for SUSI tweetbot

Actual Behaviour

Currently, tweet bot is not deployed on Google container engine.

Expected Behaviour

It should be deployed on Google container engine using kubernetes.

Would you like to work on the issue?

Yes

Adding GPL 3 License

Currently, there is no GPL3 License in this repository so I will add License.

Fix markdown for yaydoc

Actual Behaviour

The images aren't rendering in the generated docs.

Expected Behaviour

The images should render in the docs

Would you like to work on the issue?

Yes

Suggestions in the issue template should be commented out

Actual Behaviour

Suggestions are simply written in the issue template.

Expected Behaviour

Rather, they should be commented out so that contributor doesn't have to delete them manually.

Would you like to work on the issue?

Yes

Add app.json for heroku deployment and its auto deploy button

Actual Behaviour

Currently, there is no auto deployment button of Heroku and no app.json present.

Expected Behaviour

Adding app.json and thus auto-deployment button for Heroku.

Steps to reproduce it

Add steps to reproduce bugs or add information on the place where the feature should be implemented. Add links to a sample deployment or code.

LogCat for the issue

Provide logs for the crash here

Screenshots of the issue

Where-ever possible attach a screenshot of the issue.

Would you like to work on the issue?

Yes

To introduce buttons to the bot

To introduce buttons to the bot, wherever possible. Like this:

Screenshots of the issue
twitterbuttons

Would you like to work on the issue?
Yes, working on it.

Remove redundant files and hide config file

As you can see, I am keeping some access token, consumer key, and secret things in config.js.
It would be bad if other people get these code. Please suggest and fix the current situation.

Additionally, I'm wondering if we should keep node_modules folder as it can be generated by some lines of code (?).
:)

Bug in updating deployment image on each commit

Actual Behaviour

Currently, there is a bug due to which updates are not being pushed to kubernetes deployment.

Expected Behaviour

Deployment image should be updated

Would you like to work on the issue?

Yes

Susi tweetbot is not working.

susi_tweetbot is not working.

I tried tweeting to it and got no replies, which can be seen here:
susi_tweetbotfinalpng

Would you like to work on this issue?
Yes.

Repetetion of time in retweet.

When the susi server is down. The retweet by SUSI includes repetition of time.

Screenshot of the issue:
dateduplicateissue

Would you like to work on it?
yes.

Heroku app constantly crashes

I deployed it on Heroku in order to keep Twitter bot alive. For some reasons, the app constantly crashes, giving the errors as in this screenshot.
screen shot 2016-12-11 at 19 56 29
Because of this, Susi on Twitter cannot be working.

Close issues automatically when a PR is merged

Actual Behaviour

Error in PR template. In PR template it says

Fixes issue #number

Expected Behaviour

Change this to

Fixes #number

This will close the issue automatically when PR is merged.
Title suggestion should be commented out.

Would you like to work on the issue?

Yes

Add auto-deployment button for Docker

Actual Behaviour

Currently, no auto-deployment button is present for Docker.

Expected Behaviour

Adding auto-deployment button for Docker.

Steps to reproduce it

Add steps to reproduce bugs or add information on the place where the feature should be implemented. Add links to a sample deployment or code.

LogCat for the issue

Provide logs for the crash here

Screenshots of the issue

Where-ever possible attach a screenshot of the issue.

Would you like to work on the issue?

Yeah

To show RSS or table replies as clickable links.

The web search results and universities should be shown like this:

clickweb

Clicking on any result should redirect to the url corresponding to that result.
I will research, if this feature can be added to the SUSI Tweetbot.

Would you like to work on the issue?
Yes, working on it.

No link to join susi chat on gitter in README.md

Actual Behaviour

There is no link to join SUSI chat channel on gitter in README.md

Expected Behaviour

There should be a link in README.md to join gitter chat of SUSI.

Would you like to work on the issue?

Yes

To guide text input to user

To guide the user what to input into the text field at a point of time. refer docs

Would you like to work on the issue?
Yes, working on it.

Update Readme

The readme file should have an explanation about how the integration of Susi AI bot to Twitter is achieved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.