{"id":13493291,"url":"https://github.com/zuiidea/antd-admin","last_synced_at":"2026-05-26T10:00:43.488Z","repository":{"id":37664975,"uuid":"50334710","full_name":"zuiidea/antd-admin","owner":"zuiidea","description":"AI-friendly enterprise front-end best practices","archived":false,"fork":false,"pushed_at":"2026-04-28T10:52:46.000Z","size":26252,"stargazers_count":9756,"open_issues_count":33,"forks_count":2489,"subscribers_count":290,"default_branch":"master","last_synced_at":"2026-05-04T18:39:32.127Z","etag":null,"topics":["admin","antd","dashboard","mock","react"],"latest_commit_sha":null,"homepage":"https://antd-admin.zuiidea.top","language":"TypeScript","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/zuiidea.png","metadata":{"files":{"readme":"README-zh_CN.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-25T07:46:15.000Z","updated_at":"2026-04-30T08:17:34.000Z","dependencies_parsed_at":"2024-04-09T21:47:39.810Z","dependency_job_id":"60be6279-61db-4ba4-9824-db1bdcf3fcbc","html_url":"https://github.com/zuiidea/antd-admin","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/zuiidea/antd-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuiidea%2Fantd-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuiidea%2Fantd-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuiidea%2Fantd-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuiidea%2Fantd-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuiidea","download_url":"https://codeload.github.com/zuiidea/antd-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuiidea%2Fantd-admin/sbom","scorecard":{"id":1244845,"data":{"date":"2026-03-09","repo":{"name":"github.com/zuiidea/antd-admin","commit":"9989aa4de5bf01d4add234653c7fd49888f3dd21"},"scorecard":{"version":"v5.4.1-0.20260302234127-4dbf14294ff1","commit":"4dbf14294ff1c660e93a2c6b70159f8f9b7e1051"},"score":3.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 4/22 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#token-permissions"}},{"name":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/4dbf14294ff1c660e93a2c6b70159f8f9b7e1051/docs/checks.md#sast"}}]},"last_synced_at":"2026-03-14T04:11:46.228Z","repository_id":37664975,"created_at":"2026-03-14T04:11:46.228Z","updated_at":"2026-03-14T04:11:46.228Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33514912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["admin","antd","dashboard","mock","react"],"created_at":"2024-07-31T19:01:13.956Z","updated_at":"2026-05-26T10:00:43.465Z","avatar_url":"https://github.com/zuiidea.png","language":"TypeScript","funding_links":[],"categories":["JavaScript","Projects Using UmiJS","Boilerplates","TypeScript","Projects"],"sub_categories":["Open Source","Themes"],"readme":"\u003cp align=\"center\"\u003e\n\t\u003ca href=\"http://github.com/zuiidea/antd-admin\" target=\"_blank\"\u003e\n\t\t\u003cimg alt=\"antd-admin-logo\" height=\"80\" src=\"./public/logo.svg\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eAntD Admin\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n基于 Ant Design 6、Umi 4 与 TypeScript 构建的企业级前端解决方案。\n\n\u003c/div\u003e\n\n---\n\n## 📖 项目简介\n\n**AntD Admin** 是一个轻量、高性能的管理后台模板，旨在为构建企业级应用提供干净、可扩展的起点。项目使用 **Ant Design 6**、**Umi 4** 与 **TypeScript** 的最新特性，减轻样板代码，提升开发体验。\n\n无论您要构建仪表盘、管理系统，还是集成 AI 功能的工具，本项目都能提供必要的基础。\n\n## ✨ 主要特性\n\n- 🚀 **现代栈**：基于 **Ant Design 6** + **Umi 4** + **TypeScript**。\n- 🎨 **清晰架构**：使用 `zustand` 进行轻量状态管理。\n- 🛠 **良好的开发体验**：内置本地 mock 服务器（`mock/index.js`），无需后端即可开发前端功能。\n- 📦 **丰富示例页面**：包含可直接使用的页面示例：\n\t- 📊 **仪表盘**：数据可视化概览。\n\t- 👥 **用户管理**：CRUD 操作示例。\n\t- 🧩 **菜单管理**：动态路由配置示例。\n\t- 🤖 **AI 聊天示例**：大模型（LLM）接口集成示例。\n- ✅ **CI/CD 支持**：预配置的 GitHub Actions 工作流，用于 lint 和构建。\n\n## 🚀 快速开始\n\n建议使用 **pnpm** 进行包管理。\n\n```bash\n# 1. 克隆仓库\ngit clone https://github.com/zuiidea/antd-admin.git -b master --depth=1\ncd antd-admin\n\n# 2. 安装依赖\npnpm install\n\n# 3. 启动本地开发（含 mock 数据）\nnpm run dev\n\n# 4. 构建生产包\nnpm run build\n\n# 5. 代码质量检查\nnpm run lint\nnpm run format\n```\n\n🔌 开发说明\n\n#### Mock 服务\n\n项目包含位于 `mock/index.js` 的内置 mock 服务，方便在没有后端的情况下独立开发前端功能。\n\n如需关闭 mock 或切换到真实 API，请修改项目的代理配置（例如 Umi 项目可能的配置文件 `config/proxy.ts`、`.umirc.ts` 或 `config/config.ts`），以匹配您的实际项目结构。\n\n#### 常用路由\n\n| 路由 | 说明 |\n| --- | --- |\n| `/` 或 `/dashboard` | 主仪表盘 |\n| `/users` | 用户列表与管理 |\n| `/sys/menu` | 系统菜单配置 |\n| `/ai/chat` | AI 聊天示例界面 |\n\n#### 定制化\n\n- **API 集成：** 在 `src/services` 中更新 API 接口以对接真实后端。\n- **组件扩展：** 在 `src/components` 中复用或扩展现有组件（例如 `DropOption`、`StandardTable`）。\n- **主题：** 在主题配置中自定义 Ant Design 变量以匹配品牌视觉。\n\n#### GitHub Actions（CI）\n\n仓库包含预配置的 GitHub Actions 工作流（见 `.github/workflows/ci.yml`），用于保证代码质量：\n\n- 使用 `pnpm` 安装依赖。\n- 运行 lint 检查。\n- 构建生产包。\n\n- **工作流位置：** `.github/workflows/ci.yml`\n- **提示：** 若要在 CI 中加入自动化测试，请在 `package.json` 中添加测试脚本并更新 workflow YAML。\n\n## 🤝 贡献\n\n欢迎各类贡献：修复 bug、添加新示例页面或组件、完善类型定义与 lint 规则、改进国际化等。\n\n常见贡献流程：\n\n1. Fork 仓库。\n2. 新建分支：`git checkout -b feature/AmazingFeature`。\n3. 提交变更：`git commit -m 'Add some AmazingFeature'`。\n4. 推送分支：`git push origin feature/AmazingFeature`。\n5. 提交 Pull Request。\n\n## 📄 许可证\n\n本项目采用 MIT 许可证。\n\n由 zuiidea 与贡献者共同维护，Made with ❤️。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuiidea%2Fantd-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuiidea%2Fantd-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuiidea%2Fantd-admin/lists"}