复旦大学开源软件镜像站前端项目
本项目是复旦大学开源软件镜像站的前端展示页面,基于 VitePress 构建,提供镜像列表展示、实时同步状态查询等功能。
- 📦 镜像列表展示与搜索
- 🔄 实时同步状态监控
- 📊 镜像大小与更新时间显示
- 🎨 现代化响应式设计
- ⚡ 快速导航与键盘快捷键支持(按
/快速搜索)
npm installnpm run docs:dev访问 http://localhost:18080/ 查看开发环境页面。
npm run docs:build构建后的文件将输出到 docs/.vitepress/dist 目录。
npm run docs:preview.
├── docs/ # VitePress 文档目录
│ ├── .vitepress/ # VitePress 配置
│ ├── index.md # 首页(镜像列表)
│ ├── help.md # 使用帮助
│ ├── about.md # 关于页面
│ └── status.md # 同步状态
├── fancyindex-theme/ # Nginx FancyIndex 主题
│ ├── header.html # 页头
│ ├── footer.html # 页脚
│ └── style.css # 样式文件
└── package.json # 项目依赖配置
项目需要配合 Nginx 的 FancyIndex 模块使用,用于展示镜像文件列表。
- 构建项目:
npm run docs:build - 将
docs/.vitepress/dist目录部署到 Web 服务器 - 配置 Nginx 反向代理和静态文件服务
欢迎提交 Issue 和 Pull Request!
- Fork 本仓库
- 创建特性分支:
git checkout -b feature/your-feature - 提交更改:
git commit -am 'Add some feature' - 推送到分支:
git push origin feature/your-feature - 提交 Pull Request
- 问题反馈:GitHub Issues
- 邮箱:support@fducslg.com
- QQ 群:926958092
Copyright (c) 2024 Fudan University Open Source Community