Skip to content

reverse proxy, 反向代理,免翻墙访问Youtube/twitter/Google, 支持telegram web登录。请勿将本项目用于非法用途,否则后果自负。

License

Notifications You must be signed in to change notification settings

huarenlaowang/siteproxy

Repository files navigation

siteproxy

pure web page proxy, zero configuration from client side. Reverse proxy to all internet. 一键部署,翻墙利器。

                                                 +----> google
                             +----------------+  |
                             |                |  |
user browser +-------------->+ siteproxy      +-------> wikipedia
                             |                |  |
                             +----------------+  |
                                                 +----> chinese forums

features

  • 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

Mechanism

 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.

supported websites

1. www.google.com, and search action
2. zh.wikipedia.org, and search action
3. facebook, login is not verified.
4. other websites.

installation/deployment

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

Telegram群: @siteproxy

issues

  • 部分网站加载有问题;
  • 暂时无法看视频网站;
  • twitter访问有问题;
  • recaptcha验证码有问题;

About

reverse proxy, 反向代理,免翻墙访问Youtube/twitter/Google, 支持telegram web登录。请勿将本项目用于非法用途,否则后果自负。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 70.7%
  • HTML 27.2%
  • CSS 2.1%