Code Monkey home page Code Monkey logo

wikimon's Introduction

WikiMon

Monitors a MediaWiki Instance for page creation and deletion events in a loop.
Designed to monitor the 32c3 wiki for fun.
Oh, it also alerts/logs if the Wiki is not responding properly, as it has less uptime than a not-up thing. I might be able to make some cool charts of wiki uptime over time as the event goes on :)

Configuration

Just edit the config.json file. Auth can be 0 or 1. Credentials are ignored if auth is 0.

{
    "wiki": "https://events.ccc.de/congress/2015/wiki/",
    "auth": 0,
    "username": "blank",
    "password": "blank"
}

Requirements

Depends on the mwclient library, so just do pip install mwclient. Written for Python2, don't expect it to actually work on Python3.

Running

Just run it with the config file as the arg.

Cool ideas

I'll be logging downtime/wiki not respond properly using this script throughout the event, and might be able to generate some cool graphs from the logs, maybe :)
If it works out, next version will have an IRC notifier and twitter bot for 33c3, or maybe I will code that during 32c3 as I am stuck on my arse at home trying to avoid studying for exams :P

Licence

Licenced under the WTFPL, so do whatever.

Documentation

Most of the code is self-documenting with comments, if anything is unclear as to why I did it, let me know in the issue tracker or on twitter.

Beer?

Send yer cryptologically generated beer tokens to fuel further opensource software:
coinbase, for convenience, or the following bitcoin address: 13rZ67tmhi7M3nQ3w87uoNSHUUFmYx7f4V

Bug Reports and Feature Requests

Please submit all bug reports and feature requests to the Github Issue Tracker

Footnote

This script is not intended for serious purposes. Just curious about what gets created/rm'd as congress goes on.

wikimon's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

laudarch

wikimon's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.