今天吃什么?的决策工具,帮助你快速选择合适的菜谱。
whatToEat 是一个基于 Nuxt 构建的应用,旨在解决日常饮食选择的困扰。通过提供丰富的菜谱数据,帮助用户随机选择或筛选适合的菜品,轻松解决"今天吃什么"的难题。
直接访问 体验
- 克隆仓库
git clone https://github.com/ryanuo/whatToEat.git
cd whatToEat- 安装依赖
pnpm install- 启动开发服务器
pnpm dev- 在浏览器中访问
http://localhost:3000
pnpm buildpnpm preview默认使用公开菜单(与原项目一致):https://eat.ryanuo.cc/recipes.json。
docker compose up -d --build仓库提交到 GitHub 后,会通过 GitHub Actions 自动构建并发布镜像到 GHCR。
在服务器上部署(无需构建):
docker pull ghcr.io/ryanuo/whattoeat:latest
docker run -d --name whattoeat \
-p 3000:3000 \
ghcr.io/ryanuo/whattoeat:latest菜谱数据来源于远程 JSON 接口,通过 server/routes/api/recipes.ts 进行获取和处理。
本项目基于 MIT 许可证 开源。
