Not Providing Milkshakes

    twitterwall

    0.1.4 • Public • Published

    Twitterwall

    This is a very basic twitterwall. The project takes use of the Twitter Streaming API to show new tweets in soft realtime.

    A public instance is available via http://twitterwall.creal.de.

    ToDo

    • enable different filtering options (follow users, locations)
    • show images from tweets. Idea: do this by showing the tweet twice as long and alternating between text and image.

    Installation

    First you should get credentials for accessing the Twitter API. Those can be obtained via dev.twitter.com after setting up a new app.

    The npm (stable) way:

    npm install twitterwall
    cd node_modules/twitterwall/
    
    # create a file for twitter auth details
    cat > config.js
    exports.consumer_key = 'key';
    exports.consumer_secret = 'secret';
    exports.access_token_key = 'key';
    exports.access_token_secret = 'secret';
    ^C
    
    cd lib/ntwitter/
    npm install
    cd ../../
    
    # does your webserver support websockets? if not:
    # export NO_WS_SUPPORT=1
    
    node server.js
    

    Installing the development version:

    git clone https://github.com/cmichi/twitterwall.git
    cd twitterwall/
    
    # create a file for twitter auth details
    cat > config.js
    exports.consumer_key = 'key';
    exports.consumer_secret = 'secret';
    exports.access_token_key = 'key';
    exports.access_token_secret = 'secret';
    ^C
    
    # install the necessary dependencies from the package.json
    npm install	
    
    cd lib/ntwitter/
    npm install
    cd ../../
    
    # does your webserver support websockets? if not:
    # export NO_WS_SUPPORT=1
    
    node server.js
    

    Then open http://localhost:3000/. To stream a specific keyword use http://localhost:3000/?term=keyword.

    Libraries & Icons

    License

    Copyright (c) 2013
    
    	Michael Mueller <http://micha.elmueller.net/>
    
    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.
    

    Keywords

    none

    Install

    npm i twitterwall

    DownloadsWeekly Downloads

    23

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • cmichi