{"id":15817706,"url":"https://github.com/edsu/congresseditors","last_synced_at":"2025-03-14T22:33:41.132Z","repository":{"id":20190401,"uuid":"23461506","full_name":"edsu/congresseditors","owner":"edsu","description":"the code that runs the @congresseditors twitter bot","archived":false,"fork":false,"pushed_at":"2018-09-15T19:27:42.000Z","size":15,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T05:55:22.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://twitter.com/congresseditors","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-29T11:05:15.000Z","updated_at":"2021-11-12T13:28:57.000Z","dependencies_parsed_at":"2022-08-02T10:37:42.311Z","dependency_job_id":null,"html_url":"https://github.com/edsu/congresseditors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fcongresseditors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fcongresseditors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fcongresseditors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fcongresseditors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsu","download_url":"https://codeload.github.com/edsu/congresseditors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658061,"owners_count":20326459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-05T06:00:31.545Z","updated_at":"2025-03-14T22:33:36.123Z","avatar_url":"https://github.com/edsu.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# congresseditors\n\ncongresseditors is a bot that watches for edits to Wikipedia articles related \nto the US Congress and tweets them at \n[@congresseditors](http://twitter.com/congresseditors). \nThe @congresseditors Twitter account was originally run by an instance of \n[anon](http://github.com/edsu/anon), but it started getting enough custom\nfunctionality that it made sense to split it off into its own program.\n\nEvery hour congresseditors builds a watchlist of relevant articles by \nexamining these Wikipedia articles:\n\n* [List of current members of the United States House of Representatives](https://en.wikipedia.org/wiki/List_of_current_members_of_the_United_States_House_of_Representatives_by_age_and_generation)\n* [List of current United States Senators](https://en.wikipedia.org/wiki/List_of_current_United_States_Senators)\n* [List of bills in the 113th United States Congress](https://en.wikipedia.org/wiki/List_of_bills_in_the_114th_United_States_Congress) - you can configure the source for the bills for the current congress in your `config.json`\n\nOf course it''s unlikely that the current members change that often, but bills \nare more volatile. congressedits ignores changes if less than 10 characters\nin the article were changed (typos, etc). It also ignores repeated edits from\nof the same article by the same user.\n\n## Run\n\n    sudo apt-get install node\n    git clone https://github.com/edsu/congresseditors\n    cd congresseditors\n    npm install\n    cp config.json.template config.json\n\nEdit config.json to add your twitter credentials, and then:\n\n    node congresseditors.js\n\n## Develop\n\nYou will need to install coffeescript to be able to work on the code. \n\n    sudo apt-get install coffeescript\n\nAs you are working on your changes you can run with:\n\n    coffee congressedits.coffee\n\nJust make sure when you are done to compile it to JavaScript.\n\n    coffee -c congresseditors.coffee\n\n## Kubernetes\n\nThe congresseditors bot runs in the Wikimedia Wikitech environment in their\nKubernetes cluster.  Instructions on how to get access can be found on their\n[wiki](https://wikitech.wikimedia.org/wiki/Main_Page). \n\nThe `bin` and `etc` directories contain config files and a script to start and\nstop the Kubernetes jobs.\n\n## License:\n\n* [CC0](LICENSE) public domain dedication\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fcongresseditors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsu%2Fcongresseditors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fcongresseditors/lists"}