Skip to content

halfak/Raun

 
 

Repository files navigation

Raun

See it running at Tool Labs.

ra·un v conv inspect; guard; patrol;

Raun is a tool to watch the recent changes of Wikimedia Foundation projects in real time. This tool is inspired from Ronda, by @ivanlanin. This project is started by Kenrick (User:Kenrick95) around November 2013.

Bit of History

I realised that the original Raun was a mess. At first, I made it quickly (by quickly, I also mean without proper coding style) and just for fun before I publish it to the Indonesian Wikipedia community. Hosting it in GitHub, someone noticed it and asked for localisation; I quickly made it and hence this tool grew larger and larger, but now it has come to some point that the inconsistencies among the functions made me unproductive, hence I started to "rewrite" the tool in object-oriented manner.

Then after a while, I started to look on the performance and started the "streamlined" branch. Although Server-Sent Events has been used since the original version, I noticed that it was the bottleneck here because most of the times it failed in establishing a SSE connection and fallback to polling. I then stripped out SSE completely after @Aldnonymous introduced me to RCStream from stream.wikimedia.org which uses socket.io to live-stream the recent changes data.

Features

  • Watch Wikimedia Foundation project recent changes in real time
  • Statistical information of the selected project
  • Filtering: admin, editor, anon, minor, redirect, new page
  • Combined edits for a same page
  • Responsive design (provided by Bootstrap)
  • ORES score for supported projects.

How It Works

The tool calls MediaWiki API to get user list of admin rights and editor rights. Next, it calls MediaWiki API for getting Recent Changes list (because the "stream" cannot show past changes). Finally, connect to RCStream from stream.wikimedia.org to live-stream the recent changes data in real time. On projects supported by ORES, a request to ORES server is made for each entry. On the other side, statistics are updated using polling.

Browser Support

Browsers that supports jQuery 2 and Bootstrap 3.1.1

Dependencies

Credits & License

Unless otherwise stated, this project source code is licensed under MIT License.

About

Tool to watch the recent changes of Wikimedia Foundation projects, live.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.3%
  • PHP 39.1%
  • CSS 4.6%