WallpaperMachine
The wallpapers you love. A new home on your Mac.
Track pantry items, plan meals and generate shopping lists
AI summary · website content
LifestylePython · JavaScriptGitHub @npforrealOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Ứng dụng lập kế hoạch bữa ăn dựa trên nguyên liệu sẵn có trong tủ lạnh, tự động tính toán định lượng mâm cơm gia đình Việt, trừ kho theo nguyên tắc FIFO và tái sử dụng đồ ăn dư để chống lãng phí thực phẩm.
EasyMeals được xây dựng theo nguyên tắc Zero Server-side Personal Data (Không lưu dữ liệu cá nhân trên máy chủ) và Local-first:
catalogue.json) được đóng gói sẵn trong ứng dụng; toàn bộ thuật toán tính toán và trừ kho chạy trực tiếp trên thiết bị với số học Decimal chính xác.g, kg, ml, l, piece). Cảnh báo thực phẩm sắp hết hạn và hỗ trợ gia hạn độ tươi.Truy cập https://easymeals-nine.vercel.app.
⋮ $\rightarrow$ Cài đặt EasyMeals.Tải tệp cài đặt mới nhất từ GitHub Releases:
EasyMeals-vX.Y.Z-android-debug.apk và cài đặt trực tiếp.# 1. Clone mã nguồn
git clone https://github.com/npforreal/EasyMeals.git
cd EasyMeals
# 2. Khởi tạo môi trường ảo Python & cài đặt dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
pip install ruff pytest
# 3. Cài đặt Node dependencies
npm install
# 4. Cấu hình môi trường dev
cp .env.example .env
# Mặc định APP_ENV=development, hệ thống tự động nạp FixtureCatalogueRepository
# (không cần kết nối Supabase thật để chạy test và dev cục bộ)
# 5. Khởi chạy máy chủ phát triển
uvicorn app.main:app --reload --port 8000
Mở trình duyệt tại: http://localhost:8000
Dự án áp dụng quy chuẩn kiểm thử một lệnh duy nhất:
# Chạy nhanh trong quá trình code (bỏ qua Playwright e2e):
bash scripts/check.sh --fast
# Chạy kiểm tra toàn diện trước khi phát hành:
bash scripts/check.sh
Quy trình tự động xác minh:
tokens.json & labels.json) và số phiên bản ở tất cả nền tảng.ruff check, ruff format).pytest - thuật toán FIFO, quy tắc thực đơn, an toàn RLS, xử lý lỗi).npm run test:js - IndexedDB, tính tương đương của Engine).www/.Với mã nguồn Native Mobile:
# Kiểm tra Android Unit Tests & iOS Swift Tests:
bash scripts/check_mobile.sh
EasyMeals/
├── app/ # Backend FastAPI stateless & Web Frontend
│ ├── main.py # Khởi tạo FastAPI, middleware bảo mật, xử lý lỗi
│ ├── schemas.py # Pydantic schemas xác thực request/response
│ ├── api/ # Endpoints tính toán không trạng thái (/planner, /catalogue...)
│ ├── domain/ # Logic nghiệp vụ độc lập (inventory, planner, models)
│ ├── storage/ # Repository danh mục: Fixture (dev) vs Supabase (prod)
│ ├── static/ # Mã nguồn giao diện Web: app.js, css, icons
│ │ └── js/ # IndexedDB (db.js), Engine tính toán cục bộ (engine.js)
│ └── templates/ # Giao diện Jinja2 HTML (index, planner, recipes, shopping, settings)
├── data/ # Dữ liệu danh mục chuẩn hoá (catalogue.json, open/*.jsonl)
├── mobile/ # Ứng dụng di động Native 100%
│ ├── android/ # Mã nguồn Android (Kotlin / Jetpack Compose)
│ └── ios/ # Mã nguồn iOS (SwiftUI)
├── supabase/ # Migration SQL và schema danh mục chỉ đọc
│ ├── full_schema.sql # Toàn bộ schema 6 bảng danh mục chuẩn
│ └── migrations/ # Các bản migration có đánh số phiên bản
├── docs/ # Tài liệu kỹ thuật chi tiết
│ ├── architecture.md # Thiết kế kiến trúc Local-first & Zero Server-side Personal Data
│ ├── deploy.md # Hướng dẫn triển khai Supabase & Vercel
│ ├── release.md # Chính sách phiên bản và quy trình phát hành
│ └── parity.md # Bảng đối sánh tính năng giữa Web, Android và iOS
└── scripts/ # Bộ script tiện ích tự động hoá
├── check.sh # Kiểm tra tổng hợp toàn bộ dự án
├── check_mobile.sh # Kiểm tra toàn bộ mã nguồn Android & iOS
└── upload_catalogue_to_supabase.py # Nạp danh mục lên Supabase
data/ được cấp phép theo Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (xem data/LICENSE).