MCPSERV.CLUB
Fork Recipes

Fork Recipes

Self-Hosted

Elegant recipe manager for the modern kitchen

Active(79)
58stars
0views
Updated 18 days ago
Fork Recipes screenshot 1
1 / 2

Overview

Discover what makes Fork Recipes powerful

Fork Recipes is a lightweight, fully‑self‑hosted recipe management web front‑end that pairs seamlessly with the ForkApi back‑end. Built on Django 5.x, it exposes a rich set of CRUD operations for recipes, categories, and shopping lists while leveraging the API’s OpenAI‑powered utilities (scraping, ingredient generation, translation, and audio narration). The application is intentionally minimalistic yet feature‑dense, aiming to give developers a quick way to deploy a personal or small‑team recipe hub without reinventing the wheel.

Framework

Containerization

Database

External Services

Overview

Fork Recipes is a lightweight, fully‑self‑hosted recipe management web front‑end that pairs seamlessly with the ForkApi back‑end. Built on Django 5.x, it exposes a rich set of CRUD operations for recipes, categories, and shopping lists while leveraging the API’s OpenAI‑powered utilities (scraping, ingredient generation, translation, and audio narration). The application is intentionally minimalistic yet feature‑dense, aiming to give developers a quick way to deploy a personal or small‑team recipe hub without reinventing the wheel.

Technical Stack

  • Framework: Django 5.x (Python 3.11+) – the choice ensures long‑term support, a mature ORM, and robust middleware for authentication, CSRF protection, and static file handling.
  • Containerization: A single docker-compose.yml orchestrates the web service, a Postgres database (or SQLite for lightweight setups), and optional SSL termination. The image is built from the repository’s Dockerfile, with separate tags for arm64 to support Raspberry Pi deployments.
  • Database: PostgreSQL is the recommended persistent store, accessed via a DATABASE_URL in the format postgres://user:pass@host:port/dbname. For quick local testing, SQLite is supported with the same environment variable.
  • External Services: The front‑end relies on ForkApi for all recipe data storage, OpenAI tokens for AI features, and an SMTP server for email notifications (e.g., recipe sharing or reminders).

Core Capabilities

  • Recipe CRUD: Full RESTful endpoints for creating, reading, updating, and deleting recipes. Images or videos can be attached; metadata such as categories, difficulty, and prep time is stored in the database.
  • Meal Planning Scheduler: A lightweight calendar view that assigns recipes to dates, persisting the schedule in a dedicated model.
  • Shopping List Aggregation: Ingredients from selected recipes are consolidated into a dynamic shopping list, automatically handling duplicates and quantity normalization.
  • AI‑Powered Tools: Through ForkApi’s OpenAI integration, the front‑end can scrape recipes from arbitrary URLs, generate new recipes from ingredient lists, translate text into multiple languages, and produce audio narration. These features are exposed via simple form submissions that internally call ForkApi’s endpoints.
  • Export/Import Snapshots: The UI allows users to download a JSON snapshot of their database or upload one, enabling backup and migration between installations.

Deployment & Infrastructure

The application is designed for zero‑config Docker deployment: copy .env.example to .env, fill secrets, and run docker compose up -d. It supports both HTTP and HTTPS out of the box; when SSL certificates are provided, the container automatically configures Django’s SECURE_SSL_REDIRECT and related settings. Scaling horizontally is straightforward—spin up additional web containers behind a reverse proxy (NGINX, Traefik) and share the same Postgres instance. For ARM devices like Raspberry Pi, simply switch the image tag to mikebgrep/forkapi:arm64 in the compose file.

Integration & Extensibility

While Fork Recipes is a ready‑made front‑end, its architecture encourages custom extensions. The Django project exposes all models via the Django admin and can be subclassed to add new fields or business logic. Developers can write custom management commands or Celery tasks to integrate with other services (e.g., push notifications, analytics). The front‑end consumes ForkApi’s REST endpoints; swapping out the API for a custom implementation is as simple as changing SERVICE_BASE_URL in .env. Additionally, the OpenAI features can be toggled or replaced by other LLM providers without touching core code.

Developer Experience

The project ships with comprehensive documentation in the ForkApi repo, including environment variable descriptions and example Docker setups. The codebase follows Django conventions, making it approachable for developers familiar with the framework. Community support is moderate; issues and feature requests are tracked on GitHub, and the BSD‑3 license allows commercial use without licensing fees. The emphasis on minimalism keeps the dependency tree shallow, reducing maintenance overhead.

Use Cases

  • Personal Recipe Vault: A hobbyist can host a private collection, sync with their mobile device via ForkApi’s API, and enjoy AI‑generated shopping lists.
  • Small Culinary Teams: Restaurants or food bloggers can share recipes internally, schedule menus, and generate multilingual versions for international audiences.
  • IoT‑Enabled Kitchens: Integrate the API with smart appliances; for example, a Raspberry Pi kitchen assistant can pull recipes from Fork Recipes and vocalize them using the audio narration feature.
  • Educational Projects: Students learning Django or containerization can use this as a real‑world example of full‑stack development, from database modeling to API consumption.

Advantages

  • Performance: Django’s ORM and caching layers keep response times low, even with large recipe collections.
  • Flexibility: The API‑first design allows swapping out the front‑end for a mobile app or a headless CMS without data loss.
  • Licensing: BSD‑3-Clause guarantees that the application can be used in proprietary deployments with no copyleft obligations.
  • Rapid Deployment: Dockerized stack means a new instance can be up and running in minutes, making it ideal for home labs or small business environments.

Fork Recipes delivers a turnkey recipe management solution that balances developer friendliness with powerful AI features, all while remaining

Open SourceReady to get started?

Join the community and start self-hosting Fork Recipes today

Weekly Views

Loading...
Support Us
Most Popular

Infrastructure Supporter

$5/month

Keep our servers running and help us maintain the best directory for developers

Repository Health

Loading health data...

Information

Category
other
License
BSD-3-CLAUSE
Stars
58
Technical Specs
Pricing
Open Source
Database
PostgreSQL
Docker
Community
Supported OS
LinuxDocker
Author
mikebgrep
mikebgrep
Last Updated
18 days ago