{"id":20482101,"url":"https://github.com/uk0/web-container-proxy","last_synced_at":"2025-07-17T03:34:02.554Z","repository":{"id":103060987,"uuid":"143118920","full_name":"uk0/web-container-proxy","owner":"uk0","description":" Static server + reverse proxy server 🚀 🚀 Thx ","archived":false,"fork":false,"pushed_at":"2018-08-02T05:23:02.000Z","size":8266,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-15T13:37:28.374Z","etag":null,"topics":["proxy","proxy-server","static","static-web","static-website"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/uk0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-01T07:19:55.000Z","updated_at":"2019-09-09T09:02:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"934234c4-4608-4f4e-a0f3-074c395b36e8","html_url":"https://github.com/uk0/web-container-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uk0/web-container-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fweb-container-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fweb-container-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fweb-container-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fweb-container-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uk0","download_url":"https://codeload.github.com/uk0/web-container-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uk0%2Fweb-container-proxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265563060,"owners_count":23788638,"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":["proxy","proxy-server","static","static-web","static-website"],"created_at":"2024-11-15T16:11:29.713Z","updated_at":"2025-07-17T03:34:02.504Z","avatar_url":"https://github.com/uk0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 这是一个简单的 静态服务器，自带反向代理.\n\n\n### quick\n\n  * 1，如何配置\n  ```bash\n    {\n        \"firsh.cc\": {# 这个url需要在 host文件里面修改一下下面会讲\n        \"/api\": \"localhost:8005\",  # 需要代理的服务器地址 与mock一致即可 忽略POST，GET DELETE等方法\n        \"*\": \"/Users/zhangjianxin/home/GO_LIB/src/github.com/breakEval13/libs/lib/staticweb/root\"\n        # 上面的文件路径为dist目录\n        }\n    }\n  ```\n\n\n  * 2 host如何进行映射\n\n  ```bash\n\n➜  Desktop cat /etc/hosts\n##\n# Host Database\n#\n127.0.0.1    firsh.cc # 这里\n\n  ```\n  * windows 同理进行修改hosts文件\n\n\n\n### 如何启动\n\n  * start\n  ```bash\n    \b#windows 直接双击\n    #mac or linux\n    chmod +x  xxxx\n    ./xxx #即可\n    \n  ```\n  * 配置文件和可执行文件放在统一目录(目录级别一致)))\n    \n\n  * \b需要修改代理的服务器IP直接编辑文件即可,\b程序会自动更新代理。\n\n\n\n###  演示\n  * GIF\n\n  ![](http://zmatsh.b0.upaiyun.com/demos/1f4abb63-ed08-4004-a612-427a32ee6fb5.gif)\n\n\n\n## ！！！\b小白手段，大佬勿喷。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuk0%2Fweb-container-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuk0%2Fweb-container-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuk0%2Fweb-container-proxy/lists"}