{"id":15069367,"url":"https://github.com/linwin-cloud/openlinwin","last_synced_at":"2025-08-24T05:19:29.997Z","repository":{"id":61537094,"uuid":"552272158","full_name":"LinWin-Cloud/openLinwin","owner":"LinWin-Cloud","description":"LinWin Http Server，为性能而生。内置了很多的安全防护选项：XSS防护、SQL防护、ip黑名单、资源访问保护、恶意URL防护等。稳定，可持续运行在系统内安全可靠，内置管理命令行，安心省心。异步IO处理服务，快速部署调试开发，是网站开发的不二之选；页面部署灵活，支持对非服务目录的访问，大大提升便捷性；基本上不会使得服务器出现锆机，LinWInHttp十分的稳定安全","archived":false,"fork":false,"pushed_at":"2023-01-06T13:14:15.000Z","size":184551,"stargazers_count":19,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T14:51:21.778Z","etag":null,"topics":["css","html","http","io","java","javascript","jdk","linux","python","server","shell","socket","tcp","web"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinWin-Cloud.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":"2022-10-16T07:47:15.000Z","updated_at":"2025-02-10T23:52:45.000Z","dependencies_parsed_at":"2023-02-06T03:46:29.733Z","dependency_job_id":null,"html_url":"https://github.com/LinWin-Cloud/openLinwin","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinWin-Cloud%2FopenLinwin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinWin-Cloud%2FopenLinwin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinWin-Cloud%2FopenLinwin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinWin-Cloud%2FopenLinwin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinWin-Cloud","download_url":"https://codeload.github.com/LinWin-Cloud/openLinwin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261621,"owners_count":21074223,"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":["css","html","http","io","java","javascript","jdk","linux","python","server","shell","socket","tcp","web"],"created_at":"2024-09-25T01:42:02.470Z","updated_at":"2025-04-10T17:11:32.084Z","avatar_url":"https://github.com/LinWin-Cloud.png","language":"Java","readme":"# 目前最新版本\nV2.3 Community Build 2023.1.4\n\n# LinWin Http Server\n\n(安装后的操作)\n### 产品网站入口: https://linwin-cloud.github.io/linwin-http-server/\n### 文档入口: https://gitee.com//LinWin-Cloud/openLinwin/wiki/\n\n# 多服务器模块命令\n多服务器模块已经代替了原本的代理服务器和主服务器模块，新的多服务器模块是设计更加优秀的而且效率更高速度更快\n\n1. Enter: linwinmutli start                 Start the linwin Mutli Server\n2. Enter: linwinmutli proxy_start           Start the linwin Multi Proxy Service\n3. Enter: linwinmulti help                  Get the help\n4. Enter: linwinmulti version               view the version information\n\n## 更新与模块信息\n1. \u003ca href='./moudule.md'\u003e模块信息\u003c/a\u003e\n2. \u003ca href='./update.md'\u003e版本更新信息\u003c/a\u003e\n\n## 如何配置多个网站在服务器上\n在 /usr/LinWinHttp/config/Multi-Server/ 目录下,你可以随意命名一个新的配\n\u003cbr /\u003e\n置文件，但是拓展名必须是 '.json',文件内容如下:\n\t{\n    \t\t\"Server-Port\" : \"8080\", //Server-Port选项必须要,后面的这个8080是默认的服务端口，可以改称其他的.\n    \t\t\"Index\" : \"/usr/www/html\" //Index选项也必须要，用于配置服务目录.\n\t\t\"HttpVersion\" : \"1.1\" //Http协议版本，推荐1.1或者2.0\n\t}\n## 如何配置多个代理网站在服务器上\n代理服务器指的是在客户端与真实服务器之间一个代理的中继服务器，多用于\n隐藏真实服务器IP，提高访问效率和真实服务器安全以及隐私浏览等作用，对\n用户和服务器都很隐私安全\n\n在 /usr/LinWinHttp/config/Multi-Proxy/ 目录下,你可以随意命名一个新的配\n\u003cbr /\u003e\n置文件，但是拓展名必须是 '.json',文件内容如下:\n        {\n                \"Server-Port\" : \"8080\", //Server-Port选项必须要,后面的这个8080是默认的服务\n端口，可以改称其他的.\n                \"ProxyUrl\" : \"http://127.0.0.1:80/\" //ProxyUrl选项用于设置代理网址\n        }\n\n\n# 新版本 LinWin Http 优势\n1. 多服务器，多线程并行运算和服务，效率更高，效果更好，服务更加便捷\n\t2.0版本服务效率比较1.0版本提升了70%\n\t2.0版本服务效率比较1.3版本提升了45%\n\t2.0版本服务效率比较1.7版本提升了50%\n2. 修复了启动错误BUG，比 1.x 稳定了很多.\n3. 加入网站攻击和测试模块: 在命令行内使用 wsattacker 命令便可以策划一次命令行下的攻击和测试.\n4. 优化了编译结构和脚本\n5. 对各个服务器的兼容非常好: 源代码一份，各个平台的Linux都支持(除了android). \n6. 更新多代理服务器模块，比旧版本的更加稳定高效，速度非常快，可同时部署多个代理网站\n7. 优化了目录结构，使得代码和工作目录更加简洁和完善\n\n# 使用LinWin HttpServer必须的依赖项目\n### 1. python3 \n    LinWin HttpServer同样需要使用python3来管理和运行部分的服务\n### 2. linux运行环境 \u0026 windows运行环境\n    LinWin Http Server的源代码可以运行在任何的平台，但是其中部分的命令行\n    安装脚本、启动命令行并不支持windows，而是单单为Linux设计；但是同样可以\n    在windows上运行该应用。\n### 3. jdk \u003e= 1.8\n    本产品默认不内置jdk或者jre，所以必须要在目标计算机安装jdk并且配置好环境才\n    能够使用。\n# LinWin Http Server的安全性\nLinWin Http Server一直把服务器安全放在第一位，不仅仅采用了java这种安全的\n开发语言，而且内置了很多的安全策略以及服务器的安全访问，实现了用户的简单配置\n、严密防护。\n\n### XSS防护选项\nLinWin Http Server支持通过配置文件启动xss防护，服务器会自动判断来自前端\n发送的数据，一旦发现嵌入了非法的脚本、标签、内容便会及时停止用户的下一步访问\n\n### SQL注入防护选项\nLinWin Http Server注意到了很多前端网站会被其他恶意的攻击者发送非法的sql语句\n来被盗取服务器，LinWin一直非常关注这点，于是加入了sql防护，默认是打开的，一旦\n发送过来的数据含有非法sqlsql语句会停止用户的下一步访问操作。\n\n### 资源访问安全性\n在不经意间，很多开发者可能会将一些重要的文件、文件夹、日志和配置文件等放在web服务目录\n下，这可能会导致服务器不该被访问的资源被盗取，LinWin Http Server默认的策略内包含了\n很多的资源禁止访问。\n\n# LinWin Http Server的灵活性\n### 资源访问灵活\n    LinWin Http Server支持资源在服务器目录外的访问（每次单个资源），大大提升了开\n    发的快捷性质。\n### 安装灵活\n    安装方便简洁，毫不拖泥带水，从安装到完成不到10秒，快速部署快速开发。\n\n    \u003e\u003e\u003e 安装教程\n    git clone https://gitee.com/LinWin-Cloud/linwin-http-server #克隆源代码到本地\n    cd linwin-http-server                                       #进入源代码目录\n    python3 install.py                                          #启动安装脚本\n    (按1是安装，LinWinHttp将会安装在: /usr/LinWinHttp)\n    (按2是产看协议)\n    (按'exit'是退出安装)\n\n\n    》》》\n    推荐 \u003e\u003e 后端:LinWin Http Server + 数据库:Mysql + 前端:ux-js\n    《《《\n### 部署灵活\n    LinWin Http Server默认的服务目录在 /usr/www/html ，在开发的时候可以把文件直接都放在\n    这个目录，非常简单高效\n\n# 什么样类型的网站适合 LinWin Http Server\nLinWin Http Server主要设计用于中小型网站平台，这这其中LinWin Http Server有\n出色的表现。\n1. 博客类网站：LinWin Http对于综合的网页资源请求非常迅速，非常适合此类网站\n2. 产品官网类网站: 对于静态网页的托管LinWin Http得心应手\n3. 管理类网站: LinWin Http凭借着友好、灵活的特点，不仅仅可以提供静态服务，动态服务也是\n一大亮点\n4. 测试网站: LinWin Http安装方便、部署快速非常适合此类\n5. Web小程序网站: 基于java的稳定和高效率，web小程序网站再也合适不过\n\n# 说明\nLinWin Http Server 默认并不是开机自启动的，但是有专门的脚本启动LinWinHttp，位于\n/usr/LinWinHttp/sys/start_linwinhttp（安装过后的位置），可根据自己的需要添加自启动\n\n# 贡献\n1. LinWin Http Server 是一个开源软件，旨在通过大家一起来修改完善这个产品的源代码，\n所以免费。\n\n# 开发者、团队\n1. LinWin Cloud \n2. 萤火科技团队\n3. 优信团队\n\n# 源代码移植问题\n\n\n    除了安装程序、部分的配置文件（修改即可），其他的源代码都可以运行在windows和Mac操作\n    系统上面\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinwin-cloud%2Fopenlinwin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinwin-cloud%2Fopenlinwin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinwin-cloud%2Fopenlinwin/lists"}