A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ben Kurtovic 12c71675d3 adding a !remind command from old EarwigBot, which spawns a new thread that sleeps until its time is up, so impimplementing in !tasks list; {} -> {0}, etc in tasks.py for Python 2.6 support; stripping indentation on blank lines in tasks.py 13 years ago
core switching from XML config to JSON config - it's just much easier to parse and little easier on the eyes (not to mention shorter in length) 13 years ago
irc adding a !remind command from old EarwigBot, which spawns a new thread that sleeps until its time is up, so impimplementing in !tasks list; {} -> {0}, etc in tasks.py for Python 2.6 support; stripping indentation on blank lines in tasks.py 13 years ago
lib argh - bugfix in lib/blowfish.py 13 years ago
wiki switching from XML config to JSON config - it's just much easier to parse and little easier on the eyes (not to mention shorter in length) 13 years ago
.gitignore switching from XML config to JSON config - it's just much easier to parse and little easier on the eyes (not to mention shorter in length) 13 years ago
LICENSE new blowfish.py module, some changes in Cryptography(), LICENSE cleanup 13 years ago
README.md update message in README to be a tad more verbose (and to match the github description) 13 years ago
earwigbot.py import lib.blowfish in core.config and decrypt passwords correctly; Exception -> Error in custom config exception names 13 years ago

README.md

EarwigBot is a Python robot that edits Wikipedia and interacts with people over IRC.

History

Development began, based on the Pywikipedia framework, in early 2009. Approval for its fist task, a copyright violation detector, was carried out in May, and the bot has been running consistently ever since (with the exception of Jan/Feb 2011). It currently handles several ongoing tasks, ranging from statistics generation to category cleanup, and on-demand tasks such as WikiProject template tagging. Since it started running, the bot has made over 45,000 edits.

A project to rewrite it from scratch began in early April 2011, thus moving away from the Pywikipedia framework and allowing for less overall code, better integration between bot parts, and easier maintenance.