{"id":27139600,"url":"https://github.com/upupming/mirror","last_synced_at":"2026-02-14T20:35:04.258Z","repository":{"id":55859771,"uuid":"132885462","full_name":"upupming/Mirror","owner":"upupming","description":"Deploy Google and Wikipedia mirror with one command using now.sh.","archived":false,"fork":false,"pushed_at":"2023-06-12T05:26:34.000Z","size":100029,"stargazers_count":101,"open_issues_count":6,"forks_count":32,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-03-18T15:45:53.460Z","etag":null,"topics":["certificate","gfw","http-proxy","mirror","nginx-configuration","ssl-certificate"],"latest_commit_sha":null,"homepage":"https://mirror.upupming.site","language":"JavaScript","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/upupming.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}},"created_at":"2018-05-10T10:29:46.000Z","updated_at":"2024-11-06T22:56:40.000Z","dependencies_parsed_at":"2022-08-15T08:00:25.496Z","dependency_job_id":null,"html_url":"https://github.com/upupming/Mirror","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upupming%2FMirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upupming%2FMirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upupming%2FMirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upupming%2FMirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/upupming","download_url":"https://codeload.github.com/upupming/Mirror/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247779696,"owners_count":20994573,"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":["certificate","gfw","http-proxy","mirror","nginx-configuration","ssl-certificate"],"created_at":"2025-04-08T04:58:51.276Z","updated_at":"2026-02-14T20:35:04.211Z","avatar_url":"https://github.com/upupming.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Archived due to the [Fair Use Policy](https://vercel.com/docs/platform/fair-use-policy) of vercel.\n\n# Mirror v0.0.2\n\n\u003e Note: if you have a server and want to implement something like [subs_filter](https://www.nginx.com/resources/wiki/modules/substitutions/) (eg. replace all `google.com` to `google.upupming.site` in web pages.), please consider using [v0.0.1](https://github.com/upupming/Mirror/tree/master). v0.0.1 can also proxy all subdomains of Google, it will be useful if you are a heavy Google user.\n\nUsing [now.sh](https://zeit.co/) to proxy mirror websites for Google and Chinese Wikipedia, keeping _to organize the world's information and make it universally accessible and useful_ in mind.\n\n- Google\n  - [Google Search][1]\n    - AMP is too difficult to support. If you see an AMP page, please request desktop site.\n  - [Google Scholar][2]\n  - [Google Maps][3]\n  - [Google Translate][4]\n  - [Google Docs][5]\n  - [Google Drive](https://drive.google.upupming.site/)\n  - [Google Codejam][8]\n  \u003c!-- - All other subdomains of google.com --\u003e\n- Chinese Wikipedia\n  - [Chinese Wikipedia Desktop][7]\n  - [Chinese Wikipedia Mobile][6]\n\n[1]: https://google.upupming.site/\n[2]: https://scholar.google.upupming.site/\n[3]: https://maps.google.upupming.site\n[4]: https://translate.google.upupming.site/\n[5]: https://docs.google.upupming.site\n[6]: https://mw.upupming.site\n[7]: https://w.upupming.site\n[8]: https://code.google.upupming.site/codejam/\n\n## How to use\n\n1. Clone this repo and edit [config.js](config.js) for your proxying configuration.\n\n    ```js\n    {\n      \"mirrors\": [ // an array which configures all websites you want to proxy\n        {\n          // project name for now.sh\n          \"key\": \"google\",\n          \"proxied\": \"https://www.google.com/\",\n          // If you don't need custom domain,\n          // simply leave `proxying` empty or commented\n          \"proxying\": \"google.upupming.site\"\n        }\n      ]\n    }\n    ```\n\n2. Install [now cli](https://zeit.co/download#now-cli) and login.\n\n    ```bash\n    npm i -g now\n    ```\n\n3. [Optional] Properly configure your custom domain according to [Aliasing a Deployment](https://zeit.co/docs/v2/domains-and-aliases/aliasing-a-deployment/). (Only if you need a custom domain.)\n4. Run `npm i` and then `npm run deploy`.\n\nSee the following log for example:\n\n\u003cdetails\u003e\n\u003csummary\u003eSample log of \u003ccode\u003eMirror\u003c/code\u003e\u003c/summary\u003e\n\n```txt\nMaking mirror google\nMaking mirror wiki\nMaking mirror mwiki\nFolder wiki created\nFolder wiki configured\nDeploying wiki to now\nnow.sh: \n\u003e Deploying D:\\github\\mirror\\wiki under upupming\n\u003e Using project wiki\n\u003e Ready! Aliases assigned [2s]\n- https://wiki.upupming.site\n- https://wiki.upupming.now.sh\n\nnow.sh: \nhttps://wiki-k5m0g45nr.now.sh\nFolder google created\nFolder google configured\nDeploying google to now\nnow.sh: \n\u003e Deploying D:\\github\\mirror\\google under upupming\n\u003e Using project google\n\u003e Ready! Aliases assigned [2s]\n- https://google.upupming.site\n- https://google.upupming.now.sh\n\nnow.sh: \nhttps://google-hnostj6ze.now.sh\nFolder mwiki created\nFolder mwiki configured\nDeploying mwiki to now\nnow.sh: \n\u003e Deploying D:\\github\\mirror\\mwiki under upupming\n\u003e Using project mwiki\n\u003e Ready! Aliases assigned [2s]\n- https://mwiki.upupming.site\n- https://mwiki.upupming.now.sh\n\nnow.sh: \nhttps://mwiki-agtv54c4l.now.sh\nD:\\github\\mirror\\wiki cleaned up\nD:\\github\\mirror\\google cleaned up\nD:\\github\\mirror\\mwiki cleaned up\n```\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupupming%2Fmirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupupming%2Fmirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupupming%2Fmirror/lists"}