An open API service indexing awesome lists of open source software.

https://github.com/halvves/node-wikimon

A Wikipedia Event Stream (public stream avail at: https://wikimon.glitch.me)
https://github.com/halvves/node-wikimon

event-source event-stream wikipedia wikipedia-api

Last synced: 10 months ago
JSON representation

A Wikipedia Event Stream (public stream avail at: https://wikimon.glitch.me)

Awesome Lists containing this project

README

          

# Wikimon

Live event stream of wikipedia updates (a spinoff of [hatnote/wikimon](https://github.com/hatnote/wikimon)) deployed to glitch.

Github: [halvves/node-wikimon](https://github.com/hatnote/wikimon)

Test page: [https://wikimon.glitch.me/test](https://wikimon.glitch.me/test)

Subscribe to a public version of the stream:
```javascript
const es = new EventSource("https://wikimon.glitch.me");
es.onmessage = function(e) {
const dat = JSON.parse(e.data);
processData(dat);
};
```

## Format

Here are a couple example messages, as broadcast over SSE:

```json
{
"action": "edit",
"change_size": 191,
"flags": "!N",
"hashtags": [],
"is_anon": false,
"is_bot": false,
"is_minor": false,
"is_new": true,
"is_unpatrolled": true,
"mentions": [],
"ns": "",
"page_title": "User:Abhisirohi5",
"rev_id": "783343086",
"summary": "[[WP:AES|←]]Created page with '[[Abhishek Sirohi]] Abhishek Sirohi is a Master of Computer Science Student at the University of Melbourne. He is a published scientific author and wants to achi...'",
"url": "https://en.wikipedia.org/w/index.php?oldid=783343086&rcid=947971474",
"user": "Abhisirohi5"
}, {
"action": "create",
"change_size": null,
"flags": null,
"hashtags": [],
"is_anon": false,
"is_bot": false,
"is_minor": false,
"is_new": false,
"is_unpatrolled": false,
"mentions": [],
"ns": "",
"page_title": "Special:Log/newusers",
"summary": "New user account",
"url": null,
"user": "BernJL"
}
```

## See also

* [wikimon](https://github.com/hatnote/wikimon)
* [hatnote](https://github.com/hatnote)
* [Stephen LaPorte](https://github.com/slaporte)
* [Mahmoud Hashemi](https://github.com/mahmoud)