{"id":15717451,"url":"https://github.com/ccapton/brook-web","last_synced_at":"2025-05-07T13:20:47.951Z","repository":{"id":176290728,"uuid":"155268184","full_name":"Ccapton/brook-web","owner":"Ccapton","description":"💻brook程序服务端Web后台管理。✈️通过网页直接管理Brook、ShadowSocks、Socks5服务(Telegram可用)！","archived":false,"fork":false,"pushed_at":"2019-04-10T17:50:10.000Z","size":18060,"stargazers_count":215,"open_issues_count":12,"forks_count":65,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-31T10:22:32.133Z","etag":null,"topics":["brook","brook-web","caddy","linux","macos","macosx","shadowsocks","socks5","telegram"],"latest_commit_sha":null,"homepage":"","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/Ccapton.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-29T19:22:05.000Z","updated_at":"2024-08-12T19:42:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"47685842-1782-49b8-b5e4-9cc2e21fd17b","html_url":"https://github.com/Ccapton/brook-web","commit_stats":null,"previous_names":["ccapton/brook-web"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ccapton%2Fbrook-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ccapton%2Fbrook-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ccapton%2Fbrook-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ccapton%2Fbrook-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ccapton","download_url":"https://codeload.github.com/Ccapton/brook-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252883397,"owners_count":21819170,"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":["brook","brook-web","caddy","linux","macos","macosx","shadowsocks","socks5","telegram"],"created_at":"2024-10-03T21:50:09.158Z","updated_at":"2025-05-07T13:20:47.927Z","avatar_url":"https://github.com/Ccapton.png","language":"JavaScript","readme":"# [brook](https://github.com/txthinking/brook)-web ![](https://sonarcloud.io/api/project_badges/measure?project=Ccapton_brook-web\u0026metric=alert_status)[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)\n\n\n### [brook](https://github.com/txthinking/brook)程序服务端Web后台管理服务器（Linux|MacOS），基于python、flask、flask-restful\n\n### [安全性说明WiKi](https://github.com/Ccapton/brook-web/wiki/%E5%AE%89%E5%85%A8%E6%80%A7%E8%AF%B4%E6%98%8E)\n### [点我查看项目WiKi](https://github.com/Ccapton/brook-web/wiki)\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Ccapton/brook-web/master/image/brook-web.jpeg\" height=\"350\" width=\"400\" \u003e        \n\u003cimg src=\"https://raw.githubusercontent.com/Ccapton/brook-web/master/image/brook-web6.png\" height=\"350\" width=\"400\" \u003e \n\u003cimg src=\"https://raw.githubusercontent.com/Ccapton/brook-web/master/image/brook-web7.png\" height=\"350\" width=\"400\" \u003e \n\u003cimg src=\"https://raw.githubusercontent.com/Ccapton/brook-web/master/image/brook-web8.png\" height=\"350\" width=\"400\" \u003e \n\u003cimg src=\"https://raw.githubusercontent.com/Ccapton/brook-web/master/image/brook-web4.jpeg\" height=\"350\" width=\"400\" \u003e  \n\u003cimg src=\"https://raw.githubusercontent.com/Ccapton/brook-web/master/image/brook-web5.jpeg\" height=\"350\" width=\"400\" \u003e  \n\u003c/div\u003e\n\n# 方式一、[Docker部署](https://github.com/Ccapton/brook-web/wiki/Docker%E9%83%A8%E7%BD%B2%E6%95%99%E7%A8%8B) \n\n\n# 方式二、常规部署\n### 1、打开终端，以root用户登录\n### 2、使用 cd 命令 进入brook-web文件夹 \n### 3、安装所依赖的库、框架\n``` bash\npip install -r requirements.txt\n```\n或 python3环境下的pip3安装\n``` bash\npip3 install -r requirements.txt\n```\n### 4、下载brook主体程序到brook-web文件夹内\n``` bash\npython install-brook.py\n```\n\n### 5、开启brook-web服务\n前台模式\n``` bash\npython brook-web.py\n```\n后台模式\n``` bash\nnohup python brook-web.py \u003e/dev/null 2\u003elog \u0026\n```\n\n**默认端口5000**\n若要修改服务端口，参考：\n``` bash\npython brook-web.py --port=8080\n```\n或\n``` bash\npython brook-web.py 8080\n```\n\n### 说明\n**请确保你的服务器（Linux|MacOS）已安装 python、curl**\n- **python** \n\n本项目依赖的语言环境\n- **curl** \n\ninstall-brook.py程序用到的下载程序\n\n# 开始访问\n\n### 请访问 http://主机ip:端口号 例如：\n\n\u003e ##  http://123.123.123.123:5000 \n\n### 初始用户信息\n#### 初始账号 admin \n\n#### 初始密码 admin\n\n# [安全性说明](https://github.com/Ccapton/brook-web/wiki/%E5%AE%89%E5%85%A8%E6%80%A7%E8%AF%B4%E6%98%8E)\n# License\n``` bash\nMIT License\n\nCopyright (c) 2018 Ccapton\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n# 996.ICU License\n``` bash\nCopyright (c) 2019 ccapton\n\n\"Anti 996\" License Version 1.0 (Draft)\n\nPermission is hereby granted to any individual or legal entity\nobtaining a copy of this licensed work (including the source code,\ndocumentation and/or related items, hereinafter collectively referred\nto as the \"licensed work\"), free of charge, to deal with the licensed\nwork for any purpose, including without limitation, the rights to use,\nreproduce, modify, prepare derivative works of, distribute, publish \nand sublicense the licensed work, subject to the following conditions:\n\n1. The individual or the legal entity must conspicuously display,\nwithout modification, this License and the notice on each redistributed \nor derivative copy of the Licensed Work.\n\n2. The individual or the legal entity must strictly comply with all\napplicable laws, regulations, rules and standards of the jurisdiction\nrelating to labor and employment where the individual is physically\nlocated or where the individual was born or naturalized; or where the\nlegal entity is registered or is operating (whichever is stricter). In\ncase that the jurisdiction has no such laws, regulations, rules and\nstandards or its laws, regulations, rules and standards are\nunenforceable, the individual or the legal entity are required to\ncomply with Core International Labor Standards.\n\n3. The individual or the legal entity shall not induce, metaphor or force\nits employee(s), whether full-time or part-time, or its independent\ncontractor(s), in any methods, to agree in oral or written form, to\ndirectly or indirectly restrict, weaken or relinquish his or her\nrights or remedies under such laws, regulations, rules and standards\nrelating to labor and employment as mentioned above, no matter whether\nsuch written or oral agreement are enforceable under the laws of the\nsaid jurisdiction, nor shall such individual or the legal entity\nlimit, in any methods, the rights of its employee(s) or independent\ncontractor(s) from reporting or complaining to the copyright holder or\nrelevant authorities monitoring the compliance of the license about\nits violation(s) of the said license.\n\nTHE LICENSED WORK IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN ANY WAY CONNECTION WITH THE\nLICENSED WORK OR THE USE OR OTHER DEALINGS IN THE LICENSED WORK.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccapton%2Fbrook-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccapton%2Fbrook-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccapton%2Fbrook-web/lists"}