Skip to content
This repository

displays edit activity on wikipedia

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 conf
Octocat-spinner-32 public
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 app.js
Octocat-spinner-32 package.json
Octocat-spinner-32 stream.py
README.md

wikistream

Wikistream is a Node webapp for helping visualize current editing activity in Wikipedia. The app sits in the wikimedia IRC chat rooms (where updates are published by the various Mediawiki instances), and makes them available on the Web in realtime. The code for listening to the IRC update stream was split out into a separate Node module called wikichanges.

Installation

These instructions assume you have Ubuntu. If you don't you'll need to figure out the equivalent instructions. It shouldn't be too complicated.

First, you need to get Node and dependencies:

sudo apt-get install nodejs
npm install

Next you''ll want to use and/or adjust the default configuration:

cp conf/config.json.example config.json

You may want to adjust the ircNick that is in the example to something unique, so that you will be able to join the channels without a collision. Also you can adjust the wikipedia language channels that are being monitored.

Then, start the webapp;

node app.js

wait 10-15 seconds for the app to join the irc channels, and then point your browser at:

http://localhost:3000/

For production deployments an upstart script and varnish config are included, which you should be able to install and use.

sudo cp conf/wikistream.conf /etc/init/wikistream.conf
sudo apt-get install varnish
sudo cp conf/default.vcl /etc/varnish/
sudo start wikistream

The icons were created by Delphine Ménard, and are separately available at:

Authors

License

  • CC0
Something went wrong with that request. Please try again.