pure web page proxy to google, zero configuration from client side. Reverse proxy to all internet. 一键部署,翻墙利器。
+----> google
+----------------+ |
| | |
user browser +-------------->+ siteproxy +-------> wikipedia
| | |
+----------------+ |
+----> chinese forums
- enter siteproxy's address, and go surf on internet without censorship
- no proxy setting from client side is needed. zero configuration from client browser
- easy deployment to now.sh
- support downloading files
1. user browser url: https://siteproxy.now.sh/https/www.google.com
2. siteproxy.now.sh received the url and request www.google.com, and get response from www.google.com
3. siteproxy replace all returned strings in javascript/html:
https://www.google.com => https://siteproxy.now.sh/https/www.google.com
url(/https/github.com/xxx) => url(/https/github.com/https/www.google.com/xxx)
https://xxx => https://siteproxy.now.sh/https/xxx
etc.
4. send back the modified html/javascript to user browser.
1. www.google.com, and search action.
2. zh.wikipedia.org, and search action.
3. facebook, login is not verified.
4. other websites.
1. register one now.sh account from https://zeit.co/home
2. npm install -g now
3. git clone https://github.com/netptop/siteproxy.git
4. cd siteproxy
5. now
6. find your domain name from now cli, then replace serverName in 'index.js', like:
serverName: 'siteproxy.now.sh' ====> 'your-domain-name.now.sh'
7. now --prod
8. done
- 部分网站加载有问题;
- twitter访问有问题;