Misbah6317 / anon

tweet about anonymous Wikipedia edits from particular IP address ranges

Home Page:https://twitter.com/congressedits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

anon

Build Status

This little coffee script will watch Wikipedia for edits from a set of named IP ranges and will tweet when it notices one. It was inspired by @parliamentedits and is used to make the @congressedits feed available.

If you are curious the default IP ranges for the US Congress in the config.json.template file came from govtrack. You can learn more about the significance of Congressional edits to Wikipedia here and here.

To run anon you will need to:

  1. install Node
  2. git clone https://github.com/edsu/anon.git
  3. cd anon
  4. npm install
  5. cp config.json.template config.json
  6. add twitter credentials for your bot to config.json
  7. add ip ranges/names to config.json
  8. coffee anon.coffee
  9. have some ☕ and wait

Develop

There is a small test suite for testing ip range logic:

npm test

License:

  • CC0 public domain dedication

About

tweet about anonymous Wikipedia edits from particular IP address ranges

https://twitter.com/congressedits

License:Creative Commons Zero v1.0 Universal