{"release":{"tag":{"name":"v1.0.0","path":"/agstar/httpserver/tags/v1.0.0","tree_path":"/agstar/httpserver/tree/v1.0.0","message":"v1.0.0 - 首个正式发布版本","commit":{"id":"7c23c9aef3b5f38c45e68c5ba2dc8b6da0784498","short_id":"7c23c9a","title":"📝 docs: 将 README 改为中文","title_markdown":"📝 docs: 将 README 改为中文","description":"","description_markdown":"","message":"📝 docs: 将 README 改为中文\n","message_markdown":"📝 docs: 将 README 改为中文","detail_path":"/agstar/httpserver/commit/7c23c9aef3b5f38c45e68c5ba2dc8b6da0784498","commits_path":"/agstar/httpserver/commits/7c23c9aef3b5f38c45e68c5ba2dc8b6da0784498","tree_path":"/agstar/httpserver/tree/7c23c9aef3b5f38c45e68c5ba2dc8b6da0784498","author":{"name":"agstar","email":"agstar@123.com","username":null,"user_path":null,"enterprise_user_path":null,"image_path":"no_portrait.png#agstar-","is_gitee_user":false,"is_enterprise_user":null,"widget_url":null},"committer":{"name":"agstar","email":"agstar@123.com","username":null,"user_path":null,"enterprise_user_path":null,"image_path":"no_portrait.png#agstar-","is_gitee_user":false,"is_enterprise_user":null,"widget_url":null},"authored_date":"2026-04-21T16:03:33+08:00","committed_date":"2026-04-21T16:03:33+08:00","signature":null,"build_state":null},"archive_path":"/agstar/httpserver/repository/archive/v1.0.0","signature":null},"operating":{"edit":false,"download":true,"destroy":false,"enterprise_forbid_zip":false},"release":{"title":" 首个正式发布版本，一个用 Rust 编写的轻量级 HTTP 文件服务器启动工具","path":"/agstar/httpserver/releases/tag/v1.0.0","tag_path":"/agstar/httpserver/tree/v1.0.0","project_id":47056895,"created_at":"2026-04-21T16:11:46+08:00","is_prerelease":false,"description":" ### 功能特性\r\n\r\n  - 自动检测 Python 版本（Python 2/3），使用正确的内置 HTTP 模块\r\n  - 自动检测本机 IPv4 地址，过滤虚拟网卡\r\n  - 端口占用时自动递增寻找可用端口\r\n  - 支持自定义端口、绑定地址和服务目录\r\n  - 启动时列出当前目录可用文件及访问地址\r\n  - 支持 `Ctrl+C` 优雅关闭服务器\r\n  - 跨平台支持（Windows / Linux / macOS）\r\n  - Release 构建体积优化（strip + LTO + opt-level z）\r\n\r\n  ### 命令行参数\r\n\r\n  | 参数 | 简写 | 说明 | 默认值 |\r\n  |------|------|------|--------|\r\n  | `--port` | `-p` | 监听端口 | `8000` |\r\n  | `--bind` | `-b` | 绑定地址 | 自动检测 |\r\n  | `--directory` | `-d` | 服务目录 | 当前目录 |\r\n\r\n  ### 用法\r\n\r\n  ```bash\r\n  httpserver -p 3000 -b 0.0.0.0 -d ./public\r\n  ```\r\n\r\n  ### 依赖\r\n\r\n  - Rust 2021 edition\r\n  - Python 2 或 Python 3","author":{"name":"agstar","username":"agstar","path":"/agstar","avatar_url":"no_portrait.png#agstar-agstar"},"attach_files":[{"download_url":"/agstar/httpserver/attach_files/2688931/download/httpserver.exe","name":"httpserver.exe","cli_download_url":"https://gitee.com/agstar/httpserver/releases/download/v1.0.0/httpserver.exe","censor_failed":false,"censor_tip":null}],"zip_download_url":"/agstar/httpserver/releases/tag/v1.0.0.zip","tar_download_url":"/agstar/httpserver/releases/tag/v1.0.0.tar.gz"}}}