Awesome Open Source
Awesome Open Source


反向代理, 免翻墙访问youtube/twitter/google, 支持telegram web登录. pure web page proxy to google/youtube, zero configuration from client side. Reverse proxy to all internet. 一键部署,翻墙利器。

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




  • 代码量只有jsproxy的四分之一左右
  • 不使用service worker,不会和网站本身的service worker冲突
  • 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
  • support downloading files


 1. user browser url:
 2. received the url and request, and get response from
 3. siteproxy replace all returned strings in javascript/html: =>
    url(/xxx) => url(/https/
    https://xxx =>
 4. send back the modified html/javascript to user browser.


1., and search action.
2., only firefox browser is supported.
3., and search action.
4. facebook, login is not verified.
5. twitter, search in twitter, login is not supported.
6. telegram web login
7. 中文论坛等


1. 注册一个cloudflare账户
2. 在cloudflare上创建一个worker, 使用自己的域名,或者生成的这个worker的子域名, 比如
3. 下载文件,用文本编辑器打开,搜索,替换成你的子域名
4. 在cloudflare上编辑刚刚创建的worker, 将worker.js所有内容拷贝,覆盖粘贴到worker里面,保存
5. 现在应该可以在浏览器中 访问你的子域名了


1. 注册一个now账户
2. 没有github账户的话, 注册一个github账户,fork本repo
3. 在now的控制台里面创建一个应用, 且绑定到你刚才fork的repo上, 会得到一个域名类似的域名
4. 在github上修改你刚fork的repo, 将config.js里的serverName修改为你的新域名:
   serverName: '' ====> ''
5. 现在可以在浏览器里面访问你的新域名了:


1. 注册一个heroku账户:
2. 没有github账户的话, 注册一个github账户,fork本repo
3. 在heroku的控制台里面创建一个应用, 且绑定到你刚才fork的repo上, 会得到一个域名类似的域名
4. 在heroku的'Deloy'页面, 点击'Enable Automatic Deploys'按钮
5. 在github上修改你刚fork的repo, 将procfile里的域名修改为你的新域名(记得不要加https前缀):
         "web: npm run start"
   ====> "web: npm run start"
6. 现在可以在浏览器里面访问你的新域名了:


1. 创建一个ssl website(使用certbot and nginx, google下用法), 配置nginx,
   /etc/nginx/sites-enabled/default 需要包含以下内容:
   server {
      location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
2. 执行:sudo systecmctl start nginx
3. 用户环境下执行下列命令安装node环境, 如果你已经有node环境, 忽略这一步
   (1)curl -o- | bash
   (2)source ~/.bashrc
   (3)nvm install v12.16.3
3. 执行:npm install -g forever
4. 执行:git clone;
5. 执行:cd siteproxy; npm install;
6. 打开config.js文件, 找到serverName定义的地方, 如下修改:
   serverName: '' ====> '这填你的域名'
7. 执行:forever start -c 'node --tls-min-v1.0' index.js
8. 现在就可以在浏览器中访问你的域名了.
9. 如果想套CloudFlare加速, 可以参考CloudFlare说明


1. register a cloudflare account
2. create a worker in cloudflare, remember worker's sub-domain name, like
3. download, open it in a text editor, search and replace '' with your sub-domain name.
4. edit the worker just created in cloudflare, replace worker's content with content of build/worker.js, save.
5. done.


Note: massive usage might lead to account being blocked
1. register one account from
2. npm install -g now
3. git clone
4. cd siteproxy
5. now
6. find your domain name from now cli, then replace serverName in 'config.js', like:
   serverName: '' ====> ''
7. change "blockedSites = ['', '']" ====> "blockedSites = []" if you want to support youtube
8. now --prod
9. done


Note: massive usage might lead to account being blocked
1. registration on heroku:
2. hook this repo on github(a github account is needed)
3. create an application in heroku, binding to the github repo which you just forked. you will get an subdomain name:
4. on heroku page 'Deloy', click 'Enable Automatic Deploys' button.
5. modifiying the github repo, to change domain name to your heroku subdomain name in procfile, without 'https' prefix. like:
         "web: npm run start"
   ====> "web: npm run start"
6. now you can access your heroku subdomain name:


1. create ssl website(using certbot and nginx), and configure nginx as follow:
   vi /etc/nginx/sites-enabled/default:
   server {
      location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
2. systecmctl start nginx
3. npm install -g forever
4. git clone; 
5. cd siteproxy; npm install;
6. replace serverName in 'config.js', like:
   serverName: '' ====> ''
7. forever start -c 'node --tls-min-v1.0' index.js
8. done, now you can access your domain name from browser.


Telegram群: @siteproxy
email: [email protected]

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,090,062
Deployment (57,113
Google (36,662
Proxy (24,689
Twitter (21,416
Youtube (13,404
Telegram (12,049
Cloudflare (2,549
Vps (1,683