All Projects → stevelacy → twitter-bricks

stevelacy / twitter-bricks

Licence: other
Realtime Streaming Tweet feed written in JavaScript for node.js

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language

"Twitter Bricks

#Twitter Bricks

Realtime Streaming Tweet feed written in JavaScript for node.js

Twitter Bricks will display a real-time feed of all tweets based on the entered Hash tweeted. It uses Twit to connect to the Twitter 1.1 API.

####Features:

  • Real-time Socket.io streaming of tweets
  • Responsive CSS UI
  • Real time tweet feed on all connected browsers

Desktop view of hash #twitter "Twitter Bricks desktop"


#Installation instructions

Extract to desired folder and install the dependencies:

npm install

Use dev.twitter.com to create an app, ensure that the URL is set correctly and enable Access tokens

Create a file keys.js and insert your Twitter app keys:

module.exports = {
  consumer_key:         '',
  consumer_secret:      '',
  access_token:         '',
  access_token_secret:  ''
};

Edit js/jquery.js and change the host and port to your node server:

var socket = io.connect('http://localhost:5000');

Run the node.js app:

node server.js

or npm start

Twitter Bricks will now be running on http://localhost:5000

Once running click Change Hash to enter the desired Twitter hash to stream.


#License

The MIT License (MIT)

Copyright (c) 2014 Steve Lacy ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Bitdeli Badge

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].