Collector 是一个简约个人导航站点,帮助您高效管理和分类收藏的网站。
- 📁 网站多级分类管理
- 🔍 标题、描述模糊检索
- 🎨 主题切换
- 📱 响应式设计
- ⚙️ 自定义配置
- 前端框架: Svelte v5 + SvelteKit v2
- 构建工具: Vite v6
- UI库: DaisyUI v4 + TailwindCSS v3
- 图标库: Iconify
- 搜索: Fuse.js
- 点此 Fork 这个项目到你的 GitHub 账户
- 在你 Fork 的仓库下点击
Actions
->I understand my workflows, go ahead and enable them
启动流水线 - 点击
Actions
->Build and Deploy
->Run workflow
,选择main
分支并运行流水线,等待运行完成 - 在
Settings
->Pages
->Branch
中选择gh-pages
分支并Save
- 修改
static/data.json
文件并push到main
分支 - 访问你的站点:
https://your-github-username.github.io/collector/
- 确认已安装 Node.js (≥18.x)
- 安装 pnpm:
npm install -g pnpm
- 克隆项目:
git clone https://github.com/wefantasy/collector.git
- 安装依赖:
pnpm install
- 启动开发服务器:
pnpm run dev
collector/
├── src/ # 源代码
│ ├── lib/ # 共享工具和组件
│ ├── routes/ # 页面路由
│ └── app.css # 全局样式
├── static/ # 静态资源
├── package.json # 项目依赖
├── vite.config.js # Vite 配置
└── tailwind.config.js # Tailwind 配置
欢迎贡献代码、报告问题或提出改进建议!
Fork
这个仓库- 创建你的特性分支 (
git checkout -b feature/amazing-feature
) - 提交你的改动 (
git commit -m 'Add some amazing feature
) - 推送到分支 (
git push origin feature/amazing-feature
) - 提交
Pull Request
本项目采用 MIT 许可证。