📱 A React Native recipe management app with OCR scanning, shopping lists, and smart search features
A React Native recipe management app built with Expo — add, search, and manage recipes with OCR scanning and web import.
| Home | Recipe | Search |
|---|---|---|
![]() | ![]() | ![]() |
| Add Recipe | Shopping List |
|---|---|
![]() | ![]() |
corepack enable pnpmClone the repository
git clone https://github.com/AntoC-dev/Recipedia.git
cd Recipedia
Install dependencies
pnpm install
Start the development server
pnpm start
Run on your platform
pnpm run dev:androidpnpm run dev:iosLocal-first, single-user, no backend. All data lives in a SQLite database on-device.
src/
├── components/ # Reusable UI components (Atomic Design)
│ ├── atomic/ # Basic components (buttons, inputs)
│ ├── molecules/ # Composite components
│ └── organisms/ # Complex components
├── screens/ # App screens
├── navigation/ # Navigation configuration
├── context/ # React Context providers
├── hooks/ # Focused data hooks (useRecipes, useShopping, …)
├── utils/ # Utility functions and database
├── styles/ # Theme and styling
├── translations/ # i18n translations
└── customTypes/ # TypeScript type definitions
| Layer | Library |
|---|---|
| Framework | React Native + Expo |
| Database | SQLite via expo-sqlite |
| Navigation | React Navigation v6 |
| State | React Context + hooks |
| UI | React Native Paper |
| Search | MiniSearch (fuzzy, offline) |
| OCR | @react-native-ml-kit/text-recognition |
| i18n | i18next |
| Recipe scraping | recipe-scrapers via embedded Python (Chaquopy on Android, Pyodide in a WebView on iOS) |
| Testing | Jest + RNTL + Reassure + Maestro (E2E) |
pnpm run docs:build # Generate TypeDoc
pnpm run docs:clean # Clean build
pnpm run test:unit # Run unit tests (tests/unit/)
pnpm run test:unit:watch # Watch mode
pnpm run test:unit:coverage # With coverage report
pnpm run test:integration # Cross-module integration tests (tests/integration/)
pnpm run test:perf # Reassure render benchmarks
pnpm run workflow:build-install::android # Build + install E2E app on Android
cd tests/e2e && maestro test . --config=smoke.yaml # Run a Maestro suite
| Command | Description |
|---|---|
pnpm start | Start Expo development server |
pnpm run dev:android | Run on Android device/emulator |
pnpm run dev:ios | Run on iOS device/simulator |
pnpm run quality | Full quality suite (lint + format + typecheck + expo:doctor) |
pnpm run lint:fix | Auto-fix lint issues |
pnpm run format | Run Prettier |
pnpm run typecheck | TypeScript check |
pnpm run build:test:android | Build Android APK for testing |
pnpm run build:test:ios | Build iOS app for testing |
pnpm run release | Create semantic release |
explore: automatic backups written by the app
https://github.com/AntoC-dev/Recipedia/issues/792
Labels: exploration, p2-medium
explore: ingredients with multiple units
https://github.com/AntoC-dev/Recipedia/issues/791
Labels: exploration, p2-medium
feat(sharing): export a recipe as PDF
https://github.com/AntoC-dev/Recipedia/issues/790
Labels: enhancement, p2-medium
feat(backup): restore from a backup
https://github.com/AntoC-dev/Recipedia/issues/789
Labels: enhancement, p2-medium
feat(backup): full backup export
https://github.com/AntoC-dev/Recipedia/issues/788
Labels: enhancement, p2-medium
feat(sharing): share a selection of recipes
https://github.com/AntoC-dev/Recipedia/issues/787
Labels: enhancement, p2-medium
feat(sharing): share one recipe as a file
https://github.com/AntoC-dev/Recipedia/issues/786
Labels: enhancement, p2-medium
feat(sharing): .recipedia file format
https://github.com/AntoC-dev/Recipedia/issues/785
Labels: enhancement, p2-medium
Thank you for your interest in contributing to Recipedia! This guide will help you get started with contributing to this React Native recipe management app.
This project follows a Code of Conduct to ensure a welcoming environment for all contributors. Please be respectful, inclusive, and collaborative.
Before contributing, ensure you have:
corepack enable pnpm (version pinned by packageManager)For mobile development:
git clone https://github.com/YOUR_USERNAME/Recipedia.git
cd Recipedia
git remote add upstream https://github.com/ORIGINAL_OWNER/Recipedia.git
pnpm install
pnpm start
# Start Expo development server
pnpm start
# Run on Android
pnpm run dev:android
# Run on iOS
pnpm run dev:ios
The app uses SQLite for local storage. The database is managed through the RecipeDatabase singleton class.
databaseLogger for database operation logging# Development
pnpm start # Start Expo dev server
pnpm run dev:android # Run on Android
pnpm run dev:ios # Run on iOS
# Code Quality
pnpm run quality # Check all quality gates
pnpm run lint # ESLint check
pnpm run lint:fix # ESLint auto-fix
pnpm run format # Format with Prettier
pnpm run format:check # Check formatting
pnpm run typecheck # TypeScript check
# Testing
pnpm run test:unit # Run unit tests (tests/unit/)
pnpm run test:unit:watch # Run tests in watch mode
pnpm run test:unit:coverage # Run with coverage
pnpm run test:integration # Run integration tests (tests/integration/)
pnpm run workflow:build-install::android # Build + install E2E app (Android)
# Documentation
pnpm run docs:build # Generate API documentation
pnpm run docs:clean # Clean documentation build
# Building
pnpm run build:test:android # Build Android APK
pnpm run build:test:ios # Build iOS app
# Release
pnpm run release # Semantic release
Understanding the project structure is crucial for effective contributions:
src/
├── components/ # UI Components (Atomic Design)
│ ├── atomic/ # Basic components (buttons, inputs)
│ ├── molecules/ # Composite components
│ └── organisms/ # Complex components
├── screens/ # App screens
├── navigation/ # Navigation configuration
├── context/ # React Context providers
├── utils/ # Utilities and database logic
├── styles/ # Styling and theming
├── translations/ # i18n translations
└── customTypes/ # TypeScript definitions
tests/
├── unit/ # Unit tests
├── e2e/ # End-to-end tests
├── mocks/ # Test mocks
└── data/ # Test data
We follow Atomic Design principles:
We welcome various types of contributions:
mainUse descriptive branch names that include the issue number:
feature/123-recipe-import-export
bugfix/456-search-crash-android
docs/789-api-documentation
refactor/321-database-optimization
pnpm run quality)pnpm run test:unit)pnpm run docs:build)