{"id":17673640,"url":"https://github.com/codetheweb/interpain","last_synced_at":"2025-03-30T16:15:04.387Z","repository":{"id":85614008,"uuid":"65583550","full_name":"codetheweb/interpain","owner":"codetheweb","description":"Automatically complain to your ISP (Comcast, CenturyLink, etc) about your internet speed and/or log to ThingSpeak","archived":false,"fork":false,"pushed_at":"2016-08-16T01:24:28.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T17:38:36.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://thingspeak.com/channels/144852","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codetheweb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-12T21:06:22.000Z","updated_at":"2016-08-16T01:06:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b57ce6a-ecf1-4a9a-b327-25ef34930a88","html_url":"https://github.com/codetheweb/interpain","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/codetheweb%2Finterpain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Finterpain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Finterpain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codetheweb%2Finterpain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codetheweb","download_url":"https://codeload.github.com/codetheweb/interpain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246342994,"owners_count":20761947,"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-24T05:42:42.532Z","updated_at":"2025-03-30T16:15:04.338Z","avatar_url":"https://github.com/codetheweb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# interpain\n\nAutomatically complain to your ISP (Comcast, CenturyLink, etc) about your internet speed and/or automatically log it to ThingSpeak.\n\nMore polished version of [pastebin.com/WMEh802V](http://pastebin.com/WMEh802V).\n\n## Install\n\nIt's super easy to get started. Clone this repository in `pi`'s home folder:\n\n```\ngit clone https://github.com/codetheweb/interpain.git\n```\n\nThen\n\n```\ncd interpain\nsh setup\n```\nAdd ThingSpeak and/or Twitter credentials (see below section) to `main.py` with `nano main.py` (don't forget to update the speeds you pay for too!). If you don't want to use Twitter, set the `threshold` to `targetDownload`.\nThen add a line to crontab with `crontab -e` that looks something like:\n\n```\n*/30 * * * * env -i sh /home/pi/interpain/run.sh \u003e/dev/null 2\u003e\u00261\n```\n\nThis runs the script every half hour.\n\n## Credentials\n\n*Both* ThingSpeak and Twitter credentials are optional.  (Although your Raspberry Pi isn't going to do much if you don't fill in either.)\n\nThe easiest setup would be an automated logging device by just pasting in the required keys for ThingSpeak.\n\n### ThingSpeak\nThe keys for ThingSpeak are easiest to obtain.  Go to [thingspeak.com](http://thingspeak.com) and sign up for an account.  Create a channel, marking the fields as follows:\n\n* Field1: '**Ping (ms)**'\n* Field2: '**Download (MB/s)**'\n* Field3: '**Upload (MB/s)**'\n* URL: if you're in a giving mood, you can link to this repo: github.com/codetheweb/interpain\n\n\n### Twitter\nTwitter is a bit tricker.  You can either create a new account just for interpain or use your personal account.  Either way, go to [apps.twitter.com](https://apps.twitter.com) and create a new app get the keys.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodetheweb%2Finterpain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodetheweb%2Finterpain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodetheweb%2Finterpain/lists"}