{"id":13813122,"url":"https://github.com/scola/twittrouter","last_synced_at":"2025-04-30T15:27:46.859Z","repository":{"id":14534800,"uuid":"17249551","full_name":"scola/twittrouter","owner":"scola","description":"replace the wifi password verification with twitter friends,works on openwrt router","archived":false,"fork":false,"pushed_at":"2015-05-14T13:47:24.000Z","size":836,"stargazers_count":50,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T04:42:32.282Z","etag":null,"topics":["c","router","twitter"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-27T13:27:30.000Z","updated_at":"2023-08-23T23:44:35.000Z","dependencies_parsed_at":"2022-08-29T19:40:27.505Z","dependency_job_id":null,"html_url":"https://github.com/scola/twittrouter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scola%2Ftwittrouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scola%2Ftwittrouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scola%2Ftwittrouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scola%2Ftwittrouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scola","download_url":"https://codeload.github.com/scola/twittrouter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251731208,"owners_count":21634535,"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":["c","router","twitter"],"created_at":"2024-08-04T04:01:03.722Z","updated_at":"2025-04-30T15:27:46.805Z","avatar_url":"https://github.com/scola.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Twittrouter\n===========\nTwittrouter is used to verify your wifi client by twitter friends.It runs on [openwrt](https://openwrt.org/) router.Maybe it also support on dd-wrt or tomato router,I have not tested it.\n\n[中文说明](http://scola.github.io/update-twittrouter-about-auth-and-arp-method/)\nHow to build\n------------\nBuild the source code,this project requires [liboauth](http://liboauth.sourceforge.net/) library,but I have include in the source code for static build\n```bash\n# At OpenWRT build root\npushd package\ngit clone https://github.com/scola/twittrouter.git\npopd\n\n# Enable twittrouter in network category \nmake menuconfig\n\n# Optional\nmake -j\n\n# Build the package\nmake V=s package/twittrouter/compile\n```\n\nUsage\n-----\nIf you trust me,you can skip the build step and [download the ipk package here](https://github.com/scola/twittrouter/tree/master/release) and install.You must config your source address correctly in /etc/opkg.conf.iptables are required\n\n    opkg install iptables\n    \nand the install twittrouter ipk packages,it will automatically download and install the required library(libcurl,libpthread)\n    \n    opkg update\n    opkg install twittrouter\n\nGet the usage of twittrouter\n\n    twittrouter -h \n\nYour own devices need not to be verified,so just add it into whitelist.00:00:00:00:00:00 is invalid mac address,so keep it in whitelist.You could append your device mac address that's split by '|'.\n\nEdit /etc/conf/twittrouter.json\n    \n    \"whitelist\":\"00:00:00:00:00:00|d8:57:ef:33:86:93\"\n\nRun this program,and I recommend you add this program when system startup.\n    \n    twittrouter -a   #authorize your own twitter username\n    twittrouter      #run this application\n    /etc/init.d/twittrouter enable  #execute twittrouter when system startup\n\nChinese user only\n-----------------\nBecause of the evil GFW,chinese user must make your route cross the GFW.You can take a look of [my blog](http://scola.github.io/deploy-proxy-on-openwrt--client-need-not-to-set/).Of course, you can use other network tools,such as VPN.**It makes no sense to run this program on your router unless your wifi client can cross the GFW**.Because your wifi client need to connect to [twitter.com](https://twitter.com) without any setting.This program call twitter api and api.twitter.com is blocked too,so you must config your router to make your router cross the GFW internally.Please refer to [this topic](http://scola.github.io/add-twitter-follower-verification-over-wifi/)\n\nso I strongly suggest you test whether you configure you network correctly to go throuth the GFW.\n\n    twittrouter -u [username]    #test the oauth to check your network config firstly,username is one of you twitter friends.\n\nKnown issues\n-------------\n * until now the web page do not support english\n\n * the verify web page looks ugly on computer\n\nThanks\n------\nThanks to the developer of [goagent](https://code.google.com/p/goagent/),[shadowsocks](http://www.shadowsocks.org/),[dnsproxy](https://github.com/phuslu/dnsproxy), [bestroutetb](https://github.com/ashi009/bestroutetb),[liboauth](https://github.com/x42/liboauth) and other bloggers\n\nLicense\n-------\nCopyright (C) 2014 Scola \u003cshaozheng.wu@gmail.com\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see \u003chttp://www.gnu.org/license/\u003e\n\nScreenshot\n----------\n![verification-page.png](https://raw.github.com/scola/twittrouter-python/master/verification-page.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscola%2Ftwittrouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscola%2Ftwittrouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscola%2Ftwittrouter/lists"}