Giter VIP home page Giter VIP logo

jacksonjs / tweather2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brandoniscool/tweather2

0.0 2.0 0.0 8 KB

This Twitter bot responds to @mentions with weather forecast data from OpenWeatherMap and selectively retweets interesting tweets from promising weather related accounts. Tweet your zipcode to @tweathertwo to try.

Home Page: https://www.twitter.com/tweathertwo

JavaScript 100.00%

tweather2's Introduction

Tweather 2.0

This Twitter bot responds to @mentions with weather forecast data from OpenWeatherMap and selectively retweets interesting tweets from promising weather related accounts. Tweet a valid US zipcode to @tweathertwo to try.

<img style="display:block;margin:0 auto;"src="http://i.imgur.com/ACxHvhk.jpg" width="400px"/>


##Preparation and installation

####Install Node.js

Node.js

####API Keys

Create a Twitter Application and generate application keys.

Create an OpenWeatherMap account and generate an API Key.

You will have to update config.js with the keys obtained from Twitter Dev and OpenWeatherMap.

####Downloading, Installing and Running Locally

Clone GitHub repo:

git clone https://github.com/brandoniscool/tweather2

Change directory, install the node module dependencies, start bot:

cd tweather2
npm install
npm start

##Deploying to Amazon's EC2

  1. Create an EC2 instance.
  2. Generate and download private key file.
  3. SSH into your instance.
  4. SFTP copy files into your instance.
  5. NPM install forever to allow your scripts to run continuously.

##Resources

tweather2's People

Watchers

James Cloos avatar  avatar

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.