This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
twitterwall with all
npm packages installed. Try it out:
twitterwall lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
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.
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
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.