一个免费产品的集合平台,同时提供每日 AI 新闻、AI 热榜、AI 站点导航等功能。
在线访问:https://xdxsb.top/FreeHub
- Node.js 18+
- npm 或 yarn
-
克隆项目
git clone https://github.com/zstar1003/FreeHub.git cd FreeHub -
安装依赖
npm install
-
启动开发服务器
npm run dev
-
访问应用
打开浏览器访问
http://localhost:5173
# 生产构建
npm run build
# 预览构建结果
npm run preview如果你有优质的免费产品想要收录到 FreeHub,可以通过以下方式:
- Fork 本仓库
- 编辑
public/projects.json文件 - 按照以下格式添加你的产品信息:
{
"name": "产品名称",
"nameEn": "Product Name",
"summary": "简短摘要",
"summaryEn": "Short summary",
"description": "详细描述",
"descriptionEn": "Detailed description",
"url": "https://product-url.com",
"categories": ["分类1", "分类2"],
"submittedBy": "提交者",
"submittedAt": "2024-01-01",
"logo": "product/logo.png"
}- 如果有 logo,将图片放到
public/product/文件夹 - 提交 PR 并等待审核
- 📧 邮箱:zstar1003@163.com
- 💬 微信:zstar1003
FreeHub/
├── public/
│ ├── product/ # 产品 logo 图片
│ ├── projects.json # 产品数据
│ └── ai-news.json # AI 资讯数据
├── scripts/
│ └── update-ai-news.js # AI 资讯自动更新脚本
├── src/
│ ├── components/ # React 组件
│ ├── contexts/ # React Context
│ ├── types/ # TypeScript 类型定义
│ ├── utils/ # 工具函数
│ └── App.tsx # 主应用组件
├── .github/
│ └── workflows/ # GitHub Actions 工作流
└── README.md
欢迎各种形式的贡献!
- Fork 本仓库
- 创建你的特性分支 (
git checkout -b feature/AmazingFeature) - 提交你的改动 (
git commit -m 'Add some AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 开启一个 Pull Request
本项目采用 MIT 协议开源。
