diff --git a/.dockerignore b/.dockerignore
index e89ac3deb..e601eb503 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,3 +1,27 @@
+.git
+.github
+.dockerignore
+.gitignore
+
+.idea
+.vscode
+
+__pycache__/
+*.py[cod]
+*$py.class
+*.so
+htmlcov/
+.coverage
+.coverage.*
+.pytest_cache/
+.venv
+venv
+
+.DS_Store
+.AppleDouble
+.LSOverride
+._*
+
*/node_modules
*/dist
*/data/db
diff --git a/.github/workflows/dockerbuild.prod.yml b/.github/workflows/dockerbuild.prod.yml
index cf025b3c2..b07908b7c 100644
--- a/.github/workflows/dockerbuild.prod.yml
+++ b/.github/workflows/dockerbuild.prod.yml
@@ -45,4 +45,4 @@ jobs:
run: |
docker build --push \
--tag hkotel/mealie:latest \
- --platform linux/amd64,linux/arm64 .
+ --platform linux/amd64,linux/arm/v7,linux/arm64 .
diff --git a/.github/workflows/dockerbuild.release.yml b/.github/workflows/dockerbuild.release.yml
index 723b22bf9..bb0bfdc6d 100644
--- a/.github/workflows/dockerbuild.release.yml
+++ b/.github/workflows/dockerbuild.release.yml
@@ -53,4 +53,4 @@ jobs:
run: |
docker build --push \
--tag hkotel/mealie:${{ steps.mealie_version.outputs.tag }} \
- --platform linux/amd64,linux/arm64 .
+ --platform linux/amd64,linux/arm/v7,linux/arm64 .
diff --git a/.gitignore b/.gitignore
index 7fc2d4d47..34ea61503 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,6 +55,7 @@ eggs/
lib/
lib64/
parts/
+!frontend/src/components/Recipe/Parts/
sdist/
var/
wheels/
diff --git a/Caddyfile b/Caddyfile
index 35d776724..9e08f53c8 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,35 +1,34 @@
{
auto_https off
- admin off
+ admin off
}
:80 {
- @proxied path /api/* /docs /openapi.json
+ @proxied path /api/* /docs /openapi.json
- @static {
- file
- path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.webp
- }
-
- encode gzip zstd
-
-
- # Handles Recipe Images / Assets
- handle_path /api/media/recipes/* {
- header @static Cache-Control max-age=31536000
- root * /app/data/recipes/
- file_server
- }
+ @static {
+ file
+ path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.webp
+ }
- handle @proxied {
- uri strip_suffix /
- reverse_proxy http://127.0.0.1:9000
- }
+ encode gzip zstd
- handle {
- header @static Cache-Control max-age=31536000
- root * /app/dist
- try_files {path}.html {path} /
- file_server
- }
-}
\ No newline at end of file
+ # Handles Recipe Images / Assets
+ handle_path /api/media/recipes/* {
+ header @static Cache-Control max-age=31536000
+ root * /app/data/recipes/
+ file_server
+ }
+
+ handle @proxied {
+ uri strip_suffix /
+ reverse_proxy http://127.0.0.1:9000
+ }
+
+ handle {
+ header @static Cache-Control max-age=31536000
+ root * /app/dist
+ try_files {path}.html {path} /
+ file_server
+ }
+}
diff --git a/Dockerfile b/Dockerfile
index bdceaa1cd..7fe66a057 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,59 +1,140 @@
-# build
-FROM node:lts-alpine as build-stage
+###############################################
+# Frontend Builder Image
+###############################################
+FROM node:lts-alpine as frontend-build
WORKDIR /app
COPY ./frontend/package*.json ./
RUN npm install
COPY ./frontend/ .
RUN npm run build
+###############################################
+# Base Image
+###############################################
+FROM python:3.9-slim as python-base
-FROM python:3.9-slim-buster
+ENV MEALIE_HOME="/app"
-ENV PRODUCTION true
-ENV POETRY_VERSION 1.1.6
+ENV PYTHONUNBUFFERED=1 \
+ PYTHONDONTWRITEBYTECODE=1 \
+ PIP_NO_CACHE_DIR=off \
+ PIP_DISABLE_PIP_VERSION_CHECK=on \
+ PIP_DEFAULT_TIMEOUT=100 \
+ POETRY_HOME="/opt/poetry" \
+ POETRY_VIRTUALENVS_IN_PROJECT=true \
+ POETRY_NO_INTERACTION=1 \
+ PYSETUP_PATH="/opt/pysetup" \
+ VENV_PATH="/opt/pysetup/.venv"
+# prepend poetry and venv to path
+ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
-RUN apt-get update && apt-get install -y --no-install-recommends \
- gcc g++ \
+# create user account
+RUN useradd -u 911 -U -d $MEALIE_HOME -s /bin/bash abc \
+ && usermod -G users abc \
+ && mkdir $MEALIE_HOME
+
+###############################################
+# Builder Image
+###############################################
+FROM python-base as builder-base
+RUN apt-get update \
+ && apt-get install --no-install-recommends -y \
curl \
- gnupg gnupg2 gnupg1 \
- apt-transport-https \
- debian-archive-keyring \
- debian-keyring \
+ build-essential \
libpq-dev \
libwebp-dev \
+ gnupg gnupg2 gnupg1 \
+ debian-keyring \
+ debian-archive-keyring \
+ apt-transport-https \
&& curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | apt-key add - \
- && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee -a /etc/apt/sources.list.d/caddy-stable.list \
- && apt-get update && apt-get install -y --no-install-recommends \
+ && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list \
+ && apt-get update \
+ && apt-get install --no-install-recommends -y \
caddy \
- && apt autoremove \
- && rm -rf /var/lib/apt/lists/* \
- && apt-get remove -y curl apt-transport-https debian-keyring g++ gnupg gnupg2 gnupg1
+ && pip install -U --no-cache-dir pip
+# install poetry - respects $POETRY_VERSION & $POETRY_HOME
+ENV POETRY_VERSION=1.1.6
+RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
-RUN pip install --no-cache-dir "poetry==$POETRY_VERSION"
+# copy project requirement files here to ensure they will be cached.
+WORKDIR $PYSETUP_PATH
+COPY ./poetry.lock ./pyproject.toml ./
-# project dependencies
-WORKDIR /app
-COPY pyproject.toml poetry.lock /app/
-RUN poetry config virtualenvs.create false
-RUN poetry install -E pgsql --no-dev --no-interaction --no-ansi
+# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
+RUN poetry install -E pgsql --no-dev
-COPY ./mealie /app/mealie
-RUN poetry config virtualenvs.create false \
- && poetry install -E pgsql --no-dev
+###############################################
+# Development Image
+###############################################
+FROM python-base as development
+ENV PRODUCTION=false
+
+# copying poetry and venv into image
+COPY --from=builder-base $POETRY_HOME $POETRY_HOME
+COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
+
+# copy backend
+COPY ./mealie $MEALIE_HOME/mealie
+COPY ./poetry.lock ./pyproject.toml $MEALIE_HOME/
#! Future
-# COPY ./alembic /app
-# COPY alembic.ini /app
-COPY ./Caddyfile /app
-COPY ./dev/data/templates /app/data/templates
+# COPY ./alembic ./alembic.ini $MEALIE_HOME/
-# frontend build
-COPY --from=build-stage /app/dist /app/dist
+# venv already has runtime deps installed we get a quicker install
+WORKDIR $MEALIE_HOME
+RUN . $VENV_PATH/bin/activate && poetry install
+WORKDIR /
-VOLUME [ "/app/data/" ]
+RUN chmod +x $MEALIE_HOME/mealie/run.sh
+ENTRYPOINT $MEALIE_HOME/mealie/run.sh "reload"
-EXPOSE 80
+###############################################
+# Production Image
+###############################################
+FROM python-base as production
+ENV PRODUCTION=true
-CMD /app/mealie/run.sh
+# curl for used by healthcheck
+RUN apt-get update \
+ && apt-get install --no-install-recommends -y \
+ curl \
+ && apt-get autoremove \
+ && rm -rf /var/lib/apt/lists/*
+
+# copying poetry and venv into image
+COPY --from=builder-base $POETRY_HOME $POETRY_HOME
+COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
+
+# copying caddy into image
+COPY --from=builder-base /usr/bin/caddy /usr/bin/caddy
+
+# copy backend
+COPY ./mealie $MEALIE_HOME/mealie
+COPY ./poetry.lock ./pyproject.toml $MEALIE_HOME/
+COPY ./gunicorn_conf.py $MEALIE_HOME
+
+#! Future
+# COPY ./alembic ./alembic.ini $MEALIE_HOME/
+
+# venv already has runtime deps installed we get a quicker install
+WORKDIR $MEALIE_HOME
+RUN . $VENV_PATH/bin/activate && poetry install -E pgsql --no-dev
+WORKDIR /
+
+# copy frontend
+COPY --from=frontend-build /app/dist $MEALIE_HOME/dist
+COPY ./dev/data/templates $MEALIE_HOME/data/templates
+COPY ./Caddyfile $MEALIE_HOME
+
+VOLUME [ "$MEALIE_HOME/data/" ]
+ENV APP_PORT=80
+
+EXPOSE ${APP_PORT}
+
+HEALTHCHECK CMD curl -f http://localhost:${APP_PORT} || exit 1
+
+RUN chmod +x $MEALIE_HOME/mealie/run.sh
+ENTRYPOINT $MEALIE_HOME/mealie/run.sh
diff --git a/Dockerfile.dev b/Dockerfile.dev
deleted file mode 100644
index 20e0b4817..000000000
--- a/Dockerfile.dev
+++ /dev/null
@@ -1,33 +0,0 @@
-FROM python:3.9-slim-buster
-
-
-ENV PRODUCTION false
-ENV POETRY_VERSION 1.1.6
-
-RUN apt-get update && apt-get install -y --no-install-recommends \
- gcc g++ \
- curl \
- gnupg gnupg2 gnupg1 \
- apt-transport-https \
- debian-archive-keyring \
- debian-keyring \
- libwebp-dev \
- && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | apt-key add - \
- && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee -a /etc/apt/sources.list.d/caddy-stable.list \
- && apt-get update && apt-get install -y --no-install-recommends \
- && apt autoremove \
- && rm -rf /var/lib/apt/lists/* \
- && apt-get remove -y curl apt-transport-https debian-keyring g++ gnupg gnupg2 gnupg1
-
-RUN pip install --no-cache-dir "poetry==$POETRY_VERSION"
-
-WORKDIR /app/
-
-# Copy poetry.lock* in case it doesn't exist in the repo
-COPY ./pyproject.toml /app/
-COPY ./mealie /app/mealie
-RUN poetry config virtualenvs.create false \
- && poetry install
-
-RUN chmod +x /app/mealie/run.sh
-CMD ["/app/mealie/run.sh", "reload"]
diff --git a/README.md b/README.md
index a73b05c68..34585313d 100644
--- a/README.md
+++ b/README.md
@@ -6,9 +6,9 @@
[![Docker Pulls][docker-pull]][docker-pull]
[](https://www.codefactor.io/repository/github/hay-kot/mealie)
[](https://github.com/hay-kot/mealie/actions/workflows/dockerbuild.release.yml)
-[](https://github.com/hay-kot/mealie/actions/workflows/pytest.yml)
+[](https://github.com/hay-kot/mealie/actions/workflows/test-all.yml)
[](https://github.com/hay-kot/mealie/actions/workflows/dockerbuild.dev.yml)
-[](https://github.com/hay-kot/mealie/actions/workflows/pytest.yml)
+[](https://github.com/hay-kot/mealie/actions/workflows/test-all.yml)
diff --git a/dev/scripts/output/app_routes.py b/dev/scripts/output/app_routes.py
index 17e182212..5a53e863c 100644
--- a/dev/scripts/output/app_routes.py
+++ b/dev/scripts/output/app_routes.py
@@ -8,6 +8,7 @@ class AppRoutes:
self.about_events = "/api/about/events"
self.about_events_notifications = "/api/about/events/notifications"
self.about_events_notifications_test = "/api/about/events/notifications/test"
+ self.about_recipes_defaults = "/api/about/recipes/defaults"
self.auth_refresh = "/api/auth/refresh"
self.auth_token = "/api/auth/token"
self.auth_token_long = "/api/auth/token/long"
@@ -31,6 +32,7 @@ class AppRoutes:
self.migrations = "/api/migrations"
self.recipes_category = "/api/recipes/category"
self.recipes_create = "/api/recipes/create"
+ self.recipes_create_from_zip = "/api/recipes/create-from-zip"
self.recipes_create_url = "/api/recipes/create-url"
self.recipes_summary = "/api/recipes/summary"
self.recipes_summary_uncategorized = "/api/recipes/summary/uncategorized"
@@ -108,6 +110,9 @@ class AppRoutes:
def recipes_recipe_slug_image(self, recipe_slug):
return f"{self.prefix}/recipes/{recipe_slug}/image"
+ def recipes_recipe_slug_zip(self, recipe_slug):
+ return f"{self.prefix}/recipes/{recipe_slug}/zip"
+
def recipes_slug_comments(self, slug):
return f"{self.prefix}/recipes/{slug}/comments"
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index 4e2ebdfd3..682dd0d9c 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -23,7 +23,8 @@ services:
image: mealie-api:dev
build:
context: ./
- dockerfile: Dockerfile.dev
+ target: development
+ dockerfile: Dockerfile
restart: always
ports:
- 9921:9000
diff --git a/docker-compose.yml b/docker-compose.yml
index 09452c92c..4d48fe068 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -3,6 +3,7 @@ services:
mealie:
build:
context: ./
+ target: production
dockerfile: Dockerfile
container_name: mealie
restart: always
@@ -17,6 +18,9 @@ services:
POSTGRES_SERVER: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
+ # WORKERS_PER_CORE: 0.5
+ # MAX_WORKERS: 8
+ WEB_CONCURRENCY: 2
postgres:
container_name: postgres
image: postgres
diff --git a/docs/docs/assets/js/extra.js b/docs/docs/assets/js/extra.js
new file mode 100644
index 000000000..20e0e43b5
--- /dev/null
+++ b/docs/docs/assets/js/extra.js
@@ -0,0 +1,11 @@
+/* Add target="_blank" to external links */
+/* Source: https://html.com/attributes/a-target/#:~:text=browser */
+function externalLinks() {
+ for (var c = document.getElementsByTagName("a"), a = 0; a < c.length; a++) {
+ var b = c[a];
+ b.getAttribute("href") &&
+ b.hostname !== location.hostname &&
+ (b.target = "_blank");
+ }
+}
+externalLinks();
diff --git a/docs/docs/assets/stylesheets/custom.css b/docs/docs/assets/stylesheets/custom.css
index 8cad0f7ba..45dc642f4 100644
--- a/docs/docs/assets/stylesheets/custom.css
+++ b/docs/docs/assets/stylesheets/custom.css
@@ -33,6 +33,12 @@ a.md-button.md-button:hover {
color: #ffffff;
}
+/* Add icon after external links */
+/* Ignore auto-generated material theme links */
+a[target="_blank"]:not([class*="md-"]):after {
+ content: " " url("../svg/open-in-new.svg");
+}
+
/* Site width etc.*/
.md-grid {
max-width: 64rem !important;
diff --git a/docs/docs/assets/svg/open-in-new.svg b/docs/docs/assets/svg/open-in-new.svg
new file mode 100644
index 000000000..683740e5b
--- /dev/null
+++ b/docs/docs/assets/svg/open-in-new.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/docs/docs/changelog/v0.5.0.md b/docs/docs/changelog/v0.5.0.md
index 210b2ac26..8376233c4 100644
--- a/docs/docs/changelog/v0.5.0.md
+++ b/docs/docs/changelog/v0.5.0.md
@@ -18,7 +18,7 @@
If you have been using the API directly, many of the routes and status codes have changed. You may experience issues with directly consuming the API.
#### Arm/v7 Support
- Mealie will no longer build in CI/CD due to a issue with the rust compiler on 32 bit devices. You can reference [this issue on the matrix-org/synapse](https://github.com/matrix-org/synapse/issues/9403){:target="_blank"} Github page that are facing a similar issue. You may still be able to build the docker image you-self.
+ Mealie will no longer build in CI/CD due to a issue with the rust compiler on 32 bit devices. You can reference [this issue on the matrix-org/synapse](https://github.com/matrix-org/synapse/issues/9403) Github page that are facing a similar issue. You may still be able to build the docker image you-self.
!!! warning "Potential Data Loss"
With this release comes a major rework of how files are stored on disk and where things belong. Migration of files should be done automatically. We have tested extensively with many different backups and user bases and have found that no one experienced data-loss. HOWEVER, with all the major changes that have occurred, it is vital that to prevent any data-loss you must create a backup and store that backup outside of your mealie instance. If you do not do this, you may lose your data.
@@ -44,7 +44,7 @@
### Highlights
- Recipe Parser
- Recipes can now be imported with a bookmarklet!
- - Significant improvement in supported sites with the new [Recipe Scraper Library](https://github.com/hhursev/recipe-scrapers){:target="_blank"}
+ - Significant improvement in supported sites with the new [Recipe Scraper Library](https://github.com/hhursev/recipe-scrapers)
- UI Debugging now available at `/recipes/debugger`
- Better error messages on failure
- ⚠️ last_recipe.json is now depreciated
diff --git a/docs/docs/changelog/v0.5.1.md b/docs/docs/changelog/v0.5.1.md
index d75d21916..ad54dface 100644
--- a/docs/docs/changelog/v0.5.1.md
+++ b/docs/docs/changelog/v0.5.1.md
@@ -1,4 +1,4 @@
-# vx.x.x COOL TITLE GOES HERE
+# v0.5.1
**App Version: v0.5.1**
diff --git a/docs/docs/changelog/v0.5.2.md b/docs/docs/changelog/v0.5.2.md
new file mode 100644
index 000000000..a11dfdbf7
--- /dev/null
+++ b/docs/docs/changelog/v0.5.2.md
@@ -0,0 +1,65 @@
+# v0.5.2
+
+**App Version: v0.5.2**
+
+**Database Version: v0.5.0**
+
+## Bug Fixes
+- Fixed #617 - Section behavior when adding a step
+- Fixed #615 - Recipe Settings are not available when creating new recipe
+- Fixed #625 - API of today's image returns strange characters
+- Fixed [#590](https://github.com/hay-kot/mealie/issues/590) - Duplicate Events when using Gunicorn Workers
+
+## Features and Improvements
+
+### General
+- Recipe Instructions now collapse when checked
+- Default recipe settings can be set through ENV variables
+- Recipe Ingredient lists can now container ingredient sections.
+- You can now download and upload individual recipes
+
+
+### Localization
+
+Huge thanks to [@sephrat](https://github.com/sephrat) for all his work on the project. He's very consistent in his contributions to the project and nearly every release has had some of his code in it! Here's some highlights from this release
+
+ - Lazy Load Translations (Huge Performance Increase!)
+ - Tons of localization additions all around the site.
+ - All of the work that goes into managing and making Crowdin a great feature the application
+
+#### Here a list of contributors on Crowding who make Mealie possible in different locals
+
+| Name | Languages | Translated (Words) | Target Words |
+| ---------------------------- | ------------------ | :----------------: | :----------: |
+| retmas-gh | Polish | 550 | 625 |
+| startos | Italian | 310 | 322 |
+| CMBoii | Spanish | 256 | 291 |
+| sephrat | French | 255 | 296 |
+| Daniel Tildeman (tildeman) | Swedish | 233 | 228 |
+| Rourke | Dutch | 216 | 214 |
+| Andreas Waschinski (Wascha) | German | 207 | 202 |
+| wengtad | Chinese Simplified | 176 | 343 |
+| Matthias Borremans (MrBorri) | Dutch | 96 | 89 |
+| Adam Syndoman (pypckompsite) | Polish | 68 | 65 |
+| JonasSchubert | German | 22 | 23 |
+| ThrawnJL | Danish | 7 | 7 |
+| NicholasBrody | Dutch | 7 | 7 |
+| Giel Janssens (gieljnssns) | Dutch | 4 | 4 |
+| kentora | Danish | 3 | 2 |
+
+
+
+### Docker
+
+#### Huge thanks to [@wengtad](https://github.com/wengtad) for all his work on improving the deployment with docker.
+
+ - Optimize Docker Dev Size (Frontend: from ~1.52GB to ~429MB | API: from ~657MB to ~380MB)
+ - Optimize Docker Prod Size (from ~542MB to ~373MB)
+ - Add Gunicorn
+ - Add Gunicorn and Webworkers to Dockerfile #550
+ - Add Docs for Gunicorn
+ - Add PUID/PGID to Docker. Fixes Initialization scripts fail to run when not executing as root user inside container #350,
+ - Not able to run correctly in docker if user permissions are specified #429
+ - Merge Dockerfile.dev into Dockerfile (dev shared same base together with prod)
+ - Add Docs for PUID/PGID
+ - Add Docker healthcheck (for this is not necessary, I could remove if you want)
\ No newline at end of file
diff --git a/docs/docs/contributors/developers-guide/code-contributions.md b/docs/docs/contributors/developers-guide/code-contributions.md
index 8573fbc3f..4e17067a0 100644
--- a/docs/docs/contributors/developers-guide/code-contributions.md
+++ b/docs/docs/contributors/developers-guide/code-contributions.md
@@ -1,12 +1,12 @@
# Contributing to Mealie
-[Please Join the Discord](https://discord.gg/QuStdQGSGK){:target="_blank"}. We are building a community of developers working on the project.
+[Please Join the Discord](https://discord.gg/QuStdQGSGK). We are building a community of developers working on the project.
## We Develop with Github
We use github to host code, to track issues and feature requests, as well as accept pull requests.
-## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html){:target="_blank"}, So All Code Changes Happen Through Pull Requests
-Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html){:target="_blank"}). We actively welcome your pull requests:
+## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests
+Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:
1. Fork the repo and create your branch from `dev`.
2. Checkout the Discord, the PRs page, or the Projects page to get an idea of what's already being worked on.
@@ -17,10 +17,10 @@ Pull requests are the best way to propose changes to the codebase (we use [Githu
7. If you make changes to the dev branch reflect those changes in the active changelog to keep track of changes. Don't forget to add your name/handle/identifier!
## Any contributions you make will be under the MIT Software License
-In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/){:target="_blank"} that covers the project. Feel free to contact the maintainers if that's a concern.
+In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.
-## Report bugs using Github's [issues](https://github.com/hay-kot/mealie/issues){:target="_blank"}
-We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/hay-kot/mealie/issues/new){:target="_blank"}; it's that easy!
+## Report bugs using Github's [issues](https://github.com/hay-kot/mealie/issues)
+We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/hay-kot/mealie/issues/new); it's that easy!
## Write bug reports with detail, background, and sample code
**Great Bug Reports** tend to have:
@@ -28,7 +28,7 @@ We use GitHub issues to track public bugs. Report a bug by [opening a new issue]
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- - Give sample code if you can. [This stackoverflow question](http://stackoverflow.com/q/12488905/180626){:target="_blank"} includes sample code that *anyone* with a base R setup can run to reproduce what I was seeing
+ - Give sample code if you can. [This stackoverflow question](http://stackoverflow.com/q/12488905/180626) includes sample code that *anyone* with a base R setup can run to reproduce what I was seeing
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
@@ -40,4 +40,4 @@ People *love* thorough bug reports. I'm not even kidding.
By contributing, you agree that your contributions will be licensed under its MIT License.
## References
-This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md){:target="_blank"}
+This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
diff --git a/docs/docs/contributors/developers-guide/starting-dev-server.md b/docs/docs/contributors/developers-guide/starting-dev-server.md
index d71ec7a35..21510750d 100644
--- a/docs/docs/contributors/developers-guide/starting-dev-server.md
+++ b/docs/docs/contributors/developers-guide/starting-dev-server.md
@@ -48,4 +48,4 @@ code-gen 🤖 Run Code-Gen Scripts
Before you commit any changes on the backend/python side you'll want to run `make format` to format all the code with black. `make lint` to check with flake8, and `make test` to run pytests. You can also use `make test-all` to run both `lint` and `test`.
-Run into another issue? [Ask for help on discord](https://discord.gg/QuStdQGSGK){:target="_blank"}
\ No newline at end of file
+Run into another issue? [Ask for help on discord](https://discord.gg/QuStdQGSGK)
\ No newline at end of file
diff --git a/docs/docs/contributors/non-coders.md b/docs/docs/contributors/non-coders.md
index 2f79b5fa1..f5e8a8dea 100644
--- a/docs/docs/contributors/non-coders.md
+++ b/docs/docs/contributors/non-coders.md
@@ -9,7 +9,7 @@ We love your input! We want to make contributing to this project as easy and tra
- Becoming a maintainer
- Help translate to a new language or improve current translations
-[Remember to join the Discord and stay in touch with other developers working on the project](https://discord.gg/QuStdQGSGK){:target="_blank"}!
+[Remember to join the Discord and stay in touch with other developers working on the project](https://discord.gg/QuStdQGSGK)!
Additionally, you can buy me a coffee and support the project. When I get financial support it helps me know that there's real interest in the project and that it's worth the time to keep developing.
diff --git a/docs/docs/contributors/translating.md b/docs/docs/contributors/translating.md
index a39862127..b4fa608f6 100644
--- a/docs/docs/contributors/translating.md
+++ b/docs/docs/contributors/translating.md
@@ -1,11 +1,11 @@
# Contributing with Translations
Translations can be a great way **for non-coders** to contribute to project.
-We use **[Crowdin](https://crowdin.com/project/mealie){:target="_blank"}** to allow several contributors to work on translating Mealie.
+We use **[Crowdin](https://crowdin.com/project/mealie)** to allow several contributors to work on translating Mealie.
You can simply help by voting for your preferred translations, or even by completely translating Mealie into a new language.
Translations are regularly pulled from Crowdin and included in each new release.
-Please use Crowdin as much as possible if you have any question/issue regarding a particular string. You can take a look at [Crowdin Knowledge base](https://support.crowdin.com/for-volunteer-translators/){:target="_blank"} if you want to know more about how to use this tool.
+Please use Crowdin as much as possible if you have any question/issue regarding a particular string. You can take a look at [Crowdin Knowledge base](https://support.crowdin.com/for-volunteer-translators/) if you want to know more about how to use this tool.
## My language is missing in Mealie
Once your language is translated on Crowdin, we need to manually add it in Mealie. If you believe your language is ready for use, please create an issue on GitHub.
@@ -13,9 +13,9 @@ Once your language is translated on Crowdin, we need to manually add it in Meali
## I can't find a particular text in Crowdin
There can be several reasons:
- The text you're looking for is outdated: someone has already changed it or it will be removed/changed in the next release.
-- It is possible some texts are not translatable (yet) for technical reasons. If you spot one, please reach out to us on [Discord](https://discord.gg/QuStdQGSGK){:target="_blank"} or raise an issue on GitHub.
+- It is possible some texts are not translatable (yet) for technical reasons. If you spot one, please reach out to us on [Discord](https://discord.gg/QuStdQGSGK) or raise an issue on GitHub.
## Technical information
-We use vue-i18n package for internationalization. Translations are stored in json format located in [frontend/src/locales/messages](https://github.com/hay-kot/mealie/tree/master/frontend/src/locales/messages){:target="_blank"}.
+We use vue-i18n package for internationalization. Translations are stored in json format located in [frontend/src/locales/messages](https://github.com/hay-kot/mealie/tree/master/frontend/src/locales/messages).
-[i18n Ally for VScode](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally){:target="_blank"} is helpful for generating new strings to translate. It also has a nice feature, which shows translations in-place when editing code.
\ No newline at end of file
+[i18n Ally for VScode](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) is helpful for generating new strings to translate. It also has a nice feature, which shows translations in-place when editing code.
\ No newline at end of file
diff --git a/docs/docs/documentation/admin/backups-and-exports.md b/docs/docs/documentation/admin/backups-and-exports.md
index 859c561e4..099208e1b 100644
--- a/docs/docs/documentation/admin/backups-and-exports.md
+++ b/docs/docs/documentation/admin/backups-and-exports.md
@@ -3,7 +3,7 @@
All recipe data can be imported and exported as necessary from the UI. Under the admin page you'll find the section for using Backups and Exports.
!!! danger
- As this is still a **BETA** It is recommended that you backup your data often and store in more than one place. Ad-hear to backup best practices with the [3-2-1 Backup Rule](https://en.wikipedia.org/wiki/Backup){:target="_blank"}. Prior to upgrading you **should** perform a backup to limit any data loss.
+ As this is still a **BETA** it is recommended that you backup your data often and store in more than one place. Adhere to backup best practices with the [3-2-1 Backup Rule](https://en.wikipedia.org/wiki/Backup). Prior to upgrading you **should** perform a backup to limit any data loss.
!!! tip "Mealie data that is saved on backups"
- [x] Recipe Data
@@ -15,7 +15,7 @@ All recipe data can be imported and exported as necessary from the UI. Under the
To create an export simply add the tag and the markdown template and click "Create" and your backup will be created on the server. The backup is a standard zipfile containing all the images, json files, and rendered jinaj2 templates for each recipe. To view the available variables, open a recipe in the json editor.
-To import a backup it must be in your backups folder. If it is in the backup folder it will automatically show up as a source to restore from. Selected the desired backup and import the backup file. Backups can be uploaded from the UI as well as added on the file system
+To import a backup it must be in your backups folder. If it is in the backup folder it will automatically show up as a source to restore from. Selected the desired backup and import the backup file. Backups can be uploaded from the UI as well as added on the file system.
## Demo
@@ -60,7 +60,7 @@ wget http://localhost:9000/api/utils/download?token={fileToken}
## Jinja2 Templating
-On export you can select a template to use to render files using the jinja2 syntax. This can be done to export recipes in other formats besides regular .json.Look at this example for rendering a markdown recipe using the jinja2 syntax.
+On export you can select a template to use to render files using the jinja2 syntax. This can be done to export recipes in other formats besides regular .json. Look at this example for rendering a markdown recipe using the jinja2 syntax.
### Input
```jinja2
@@ -128,4 +128,4 @@ Categories: []
Original URL: https://www.bonappetit.com/recipe/five-spice-popcorn-chicken#intcid=_bon-appetit-recipe-bottom-recirc_3cad5ce9-734a-46f8-b503-78c33d2e7279_similar2-3
```
-If you decide you don't like mealie. This is a good way to export into a format that can be imported into another.
\ No newline at end of file
+If you decide you don't like mealie: This is a good way to export into a format that can be imported into another.
diff --git a/docs/docs/documentation/admin/building-pages.md b/docs/docs/documentation/admin/building-pages.md
index c6ce2dfc7..a3c14b3b8 100644
--- a/docs/docs/documentation/admin/building-pages.md
+++ b/docs/docs/documentation/admin/building-pages.md
@@ -1,13 +1,13 @@
# Building Pages
!!! warning
- The page building is still experimental and may change. You can provide feedback on any changes you'd like to see on [github](https://github.com/hay-kot/mealie/discussions/229){:target="_blank"}
+ The page building is still experimental and may change. You can provide feedback on any changes you'd like to see on [github](https://github.com/hay-kot/mealie/discussions/229)
Custom pages can be created to organize multiple categories into a single page. Links to your custom pages are displayed on the home page sidebar and accessible by all users, however only Administrators can create or update pages.

-To create a new page. Navigate to the settings page at `/admin/settings` and scroll down to the custom pages section. Here you can create, view, and edit your custom pages. To reorder how they are displayed on the sidebar you can drag and drop the pages into the preferred order.
+To create a new page navigate to the settings page at `/admin/settings` and scroll down to the custom pages section. Here you can create, view, and edit your custom pages. To reorder how they are displayed on the sidebar you can drag and drop the pages into the preferred order.

!!! tip
- To save the order of pages you must click the save button displayed on the bottom of the Custom Page section. This is not necessary for updating individual page data.
\ No newline at end of file
+ To save the order of pages you must click the save button displayed on the bottom of the Custom Page section. This is not necessary for updating individual page data.
diff --git a/docs/docs/documentation/admin/migration-imports.md b/docs/docs/documentation/admin/migration-imports.md
index b0296b902..e559ce553 100644
--- a/docs/docs/documentation/admin/migration-imports.md
+++ b/docs/docs/documentation/admin/migration-imports.md
@@ -8,7 +8,7 @@ To migrate recipes from a Chowdown
3. Select import on the newly available migration.
## Nextcloud Recipes
-Nextcloud recipes can be imported from a zip file the contains the data stored in Nextcloud. The zip file can be uploaded from the frontend or placed in the data/migrations/nextcloud directory. See the example folder structure below to ensure your recipes are able to be imported.
+Nextcloud recipes can be imported from a zip file that contains the data stored in Nextcloud. The zip file can be uploaded from the frontend or placed in the data/migrations/nextcloud directory. See the example folder structure below to ensure your recipes are able to be imported.
```
nextcloud_recipes.zip
diff --git a/docs/docs/documentation/admin/site-settings.md b/docs/docs/documentation/admin/site-settings.md
index 7f23bc966..5f6c39d71 100644
--- a/docs/docs/documentation/admin/site-settings.md
+++ b/docs/docs/documentation/admin/site-settings.md
@@ -1,5 +1,5 @@
# Site Settings
-Your sites settings panel can only be accessed by administrators. This where you can customize your site for all users.
+Your sites settings panel can only be accessed by administrators. This is where you can customize your site for all users.
## Home Page Settings
| Option | Description |
@@ -13,7 +13,3 @@ Your sites settings panel can only be accessed by administrators. This where you

-
-
-
-
diff --git a/docs/docs/documentation/admin/user-management.md b/docs/docs/documentation/admin/user-management.md
index efecfc2fc..4dce96e66 100644
--- a/docs/docs/documentation/admin/user-management.md
+++ b/docs/docs/documentation/admin/user-management.md
@@ -1,4 +1,4 @@
-# User Managemenet
+# User Management
As of version v0.4.0 users have limited functionality, but they will offer more permissions and structure as time goes on. To understand the different systems, see each section below. Note, that by default all users will be assigned the default group. If you're only managing one household you won't need to do anything to set up a new group.
@@ -47,7 +47,7 @@ As of version v0.4.0 users have limited functionality, but they will offer more
On the first startup you'll need to login to Mealie using the default username and password `changeme@email.com` and `MyPassword` or the default set through the env variable. On first login you'll be required to reset your password. After resetting your password you should also change your email address as appropriate. This will be used for logins on all future requests.
!!! tip
- Your default password environmental variable will be the default password for all new users that are created. This is stored in plain text and should not be used **any where** else.
+ Your default password environment variable will be the default password for all new users that are created. This is stored in plain text and should not be used **anywhere** else.
## Creating and Editing Users
@@ -80,7 +80,7 @@ You can easily create and manage groups via the frontend in the admin panel unde

!!! tip
- User Groups can only be deleted if no users are apart of the group. If you want to delete a group, you must assign the users to another group before removing.
+ User Groups can only be deleted if no users are a part of the group. If you want to delete a group, you must assign the users to another group before removing.
## Password Reset
-If a user forgets their password an administrator is able to reset their password through the user management page. In the user table, select edit. In the popup windows click the "Reset Password" to reset a user's password to the default. This is either 'MyPassword' or set through an environment variable. See the [Installation Page](../getting-started/install.md) for more details on environmental variables
+If a user forgets their password an administrator is able to reset their password through the user management page. In the user table, select edit. In the popup window click the "Reset Password" to reset a user's password to the default. This is either 'MyPassword' or set through an environment variable. See the [Installation Page](../getting-started/install.md) for more details on environment variables.
diff --git a/docs/docs/documentation/community-guide/home-assistant.md b/docs/docs/documentation/community-guide/home-assistant.md
index 09f7c736f..85b9213c5 100644
--- a/docs/docs/documentation/community-guide/home-assistant.md
+++ b/docs/docs/documentation/community-guide/home-assistant.md
@@ -2,10 +2,10 @@
This guide was submitted by a community member. Find something wrong? Submit a PR to get it fixed!
-In a lot of ways, Home Assistant is why this project exists! Since it Mealie has a robust API it makes it a great fit for interacting with Home Assistant and pulling information into your dashboard.
+In a lot of ways, Home Assistant is why this project exists! Since Mealie has a robust API it makes it a great fit for interacting with Home Assistant and pulling information into your dashboard.
### Get Todays Meal in Lovelace
-Starting in v0.4.1 you are now able to use the uri `/api/meal-plans/today/image?group_name=Home` to directly access the image to todays meal. This makes it incredible easy to include the image into your Home Assistant Dashboard using the picture entity.
+Starting in v0.4.1 you are now able to use the uri `/api/meal-plans/today/image?group_name=Home` to directly access the image to todays meal. This makes it incredibly easy to include the image into your Home Assistant Dashboard using the picture entity.
Here's an example where `sensor.mealie_todays_meal` is pulling in the meal-plan name and I'm using the url to get the image.
@@ -29,6 +29,19 @@ style:
}
```
+The sensor that gets the name of the meal can be achieved using the following REST sensor in Home Assistant
+```yaml
+sensor:
+ - platform: rest
+ resource: 'http://localhost:9000/api/meal-plans/today'
+ method: GET
+ name: Mealie todays meal
+ headers:
+ Authorization: Bearer MySuperSecretBearerCode
+ value_template: "{{ value_json.name }}"
+```
+The Bearer token can be created from the User Settings page (https://hay-kot.github.io/mealie/documentation/users-groups/user-settings/#api-key-generation)
+
!!! tip
- Due to how Home Assistant works with images, I had to include the additional styling to get the images to not appear distorted. This includes and [additional installation](https://github.com/thomasloven/lovelace-card-mod){:target="_blank"} from HACS.
+ Due to how Home Assistant works with images, I had to include the additional styling to get the images to not appear distorted. This includes and [additional installation](https://github.com/thomasloven/lovelace-card-mod) from HACS.
diff --git a/docs/docs/documentation/community-guide/ios.md b/docs/docs/documentation/community-guide/ios.md
index b191acf3e..f5fc96ca8 100644
--- a/docs/docs/documentation/community-guide/ios.md
+++ b/docs/docs/documentation/community-guide/ios.md
@@ -1,40 +1,22 @@
# Using iOS Shortcuts with Mealie
-
-!!! info
- This guide was submitted by a community member. Find something wrong? Submit a PR to get it fixed!
+
-{: align=right style="height:400px;width:400px"}
-
-
-User [brasilikum](https://github.com/brasilikum){:target="_blank"} opened an issue on the main repo about how they had created an [iOS shortcut](https://github.com/hay-kot/mealie/issues/103){:target="_blank"} for interested users. This is a useful utility for iOS users who browse for recipes in their web browser from their devices.
+User [brasilikum](https://github.com/brasilikum) opened an issue on the main repo about how they had created an [iOS shortcut](https://github.com/hay-kot/mealie/issues/103) for interested users. This is a useful utility for iOS users who browse for recipes in their web browser from their devices. Recent updates to Mealie has made this original shortcut break. Reddit user [BooNooBooNooB](https://www.reddit.com/user/BooNooBooNooB/) has helped to create a new working version.
Don't know what an iOS shortcut is? Neither did I! Experienced iOS users may already be familiar with this utility but for the uninitiated, here is the official Apple explanation:
-
> A shortcut is a quick way to get one or more tasks done with your apps. The Shortcuts app lets you create your own shortcuts with multiple steps. For example, build a “Surf Time” shortcut that grabs the surf report, gives an ETA to the beach, and launches your surf music playlist.
+>
+Basically it is a visual scripting language that lets a user build an automation in a guided fashion. The automation can be [shared with anyone](https://www.icloud.com/shortcuts/4c40fcc6f39549f9a189995a449cd44f) but if it is a user creation, you'll have to jump through a few hoops to make an untrusted automation work on your device.
-Basically it is a visual scripting language that lets a user build an automation in a guided fashion. The automation can be [shared with anyone](https://www.icloud.com/shortcuts/6ae356d5fc644cfa8983a3c90f242fbb){:target="_blank"} but if it is a user creation, you'll have to jump through a few hoops to make an untrusted automation work on your device. In brasilikum's shortcut, you need to make changes for it to work. Recent updates to the project have changed some of the syntax and folder structure since its original creation.
+You need to replace `username` and `password` with the login information for your mealie instance.
+
-{: align=right style="height:500;width:400px"}
+Then, you need to put in your mealie domain. The API port of `:9000` is not needed when putting your domain in the text field.
+
-
-!!! tip
- You may need to change the url depending on which version you're using. Recipe is now plural and there is no trailing "/" at the end of the string.
-
- ```
- api/recipe/create-url/
- ```
-
- to
-
- ```
- api/recipes/create-url
- ```
-
-
-
-Having made those changes, you should now be able to share a website to the shortcut and have mealie grab all the necessary information!
\ No newline at end of file
+You should now be able to share a website to the shortcut and have mealie grab all the necessary information!
diff --git a/docs/docs/documentation/community-guide/swag.md b/docs/docs/documentation/community-guide/swag.md
index 82443f632..3b3f8a0d4 100644
--- a/docs/docs/documentation/community-guide/swag.md
+++ b/docs/docs/documentation/community-guide/swag.md
@@ -5,16 +5,16 @@
-To make the setup of a Reverse Proxy much easier, Linuxserver.io developed [SWAG](https://github.com/linuxserver/docker-swag){:target="_blank"}
+To make the setup of a Reverse Proxy much easier, Linuxserver.io developed [SWAG](https://github.com/linuxserver/docker-swag)
SWAG - Secure Web Application Gateway (formerly known as letsencrypt, no relation to Let's Encrypt™) sets up an Nginx web server and reverse proxy with PHP support and a built-in certbot client that automates free SSL server certificate generation and renewal processes (Let's Encrypt and ZeroSSL). It also contains fail2ban for intrusion prevention.
## Step 1: Get a domain
-The first step is to grab a dynamic DNS if you don't have your own subdomain already. You can get this from for example [DuckDNS](https://www.duckdns.org){:target="_blank"}.
+The first step is to grab a dynamic DNS if you don't have your own subdomain already. You can get this from for example [DuckDNS](https://www.duckdns.org).
## Step 2: Set-up SWAG
-Then you will need to set up SWAG, the variables of the docker-compose are explained on the Github page of [SWAG](https://github.com/linuxserver/docker-swag){:target="_blank"}.
+Then you will need to set up SWAG, the variables of the docker-compose are explained on the Github page of [SWAG](https://github.com/linuxserver/docker-swag).
This is an example of how to set it up using duckdns and docker-compose.
!!! example "docker-compose.yml"
@@ -53,7 +53,7 @@ Don't forget to change the mydomain.duckns into your personal domai
## Step 3: Change the config files
Navigate to the config folder of SWAG and head to proxy-confs. If you used the example above, you should navigate to: /etc/config/swag/nginx/proxy-confs/.
-There are a lot of preconfigured files to use for different apps such as radarr,sonarr,overseerr,...
+There are a lot of preconfigured files to use for different apps such as radarr, sonarr, overseerr, ...
To use the bundled configuration file, simply rename mealie.subdomain.conf.sample in the proxy-confs folder to mealie.subdomain.conf.
Alternatively, you can create a new file mealie.subdomain.conf in proxy-confs with the following configuration:
diff --git a/docs/docs/documentation/getting-started/api-usage.md b/docs/docs/documentation/getting-started/api-usage.md
index 837ee0b2a..3467252a4 100644
--- a/docs/docs/documentation/getting-started/api-usage.md
+++ b/docs/docs/documentation/getting-started/api-usage.md
@@ -8,7 +8,7 @@ Mealie supports long-live api tokens in the user frontend. See [user settings pa
## Key Components
### Exploring Your Local API
-On your local installation you can access interactive API documentation that provides `curl` examples and expected results. This allows you to easily test and interact with your API to identify places to include your own functionality. You can visit the documentation at `http://mealie.yourdomain.com/docs` or see the example at the [Demo Site](https://mealie-demo.hay-kot.dev/docs){:target="_blank"}
+On your local installation you can access interactive API documentation that provides `curl` examples and expected results. This allows you to easily test and interact with your API to identify places to include your own functionality. You can visit the documentation at `http://mealie.yourdomain.com/docs` or see the example at the [Demo Site](https://mealie-demo.hay-kot.dev/docs)
### Recipe Extras
Recipes extras are a key feature of the Mealie API. They allow you to create custom json key/value pairs within a recipe to reference from 3rd part applications. You can use these keys to contain information to trigger automation or custom messages to relay to your desired device.
diff --git a/docs/docs/documentation/getting-started/install.md b/docs/docs/documentation/getting-started/install.md
index 6de93f6e8..390806802 100644
--- a/docs/docs/documentation/getting-started/install.md
+++ b/docs/docs/documentation/getting-started/install.md
@@ -1,17 +1,17 @@
# Installation
-To deploy mealie on your local network it is highly recommended to use docker to deploy the image straight from dockerhub. Using the docker-compose below you should be able to get a stack up and running easily by changing a few default values and deploying. You can deploy with either SQLite (default) or Postgres. SQLite is sufficient for most use cases. Additionally, with mealies automated backup and restore functionality, you can easily move between SQLite and Postgres as you wish.
+To deploy mealie on your local network it is highly recommended to use docker to deploy the image straight from dockerhub. Using the docker-compose below you should be able to get a stack up and running easily by changing a few default values and deploying. You can deploy with either SQLite (default) or Postgres. SQLite is sufficient for most use cases. Additionally, with mealies automated backup and restore functionality, you can easily move between SQLite and Postgres as you wish.
-[Get Docker](https://docs.docker.com/get-docker/){:target="_blank"}
+[Get Docker](https://docs.docker.com/get-docker/)
-[Mealie on Dockerhub](https://hub.docker.com/r/hkotel/mealie){:target="_blank"}
-
- - linux/amd64
- - linux/arm64
+[Mealie on Dockerhub](https://hub.docker.com/r/hkotel/mealie)
+- linux/amd64
+- linux/arm64
## Quick Start - Docker CLI
-Deployment with the Docker CLI can be done with `docker run` and specify the database type, in this case `sqlite`, setting the exposed port `9925`, mounting the current directory, and pull the latest image. After the image is up an running you can navigate to http://your.ip.addres:9925 and you'll should see mealie up and running!
+
+Deployment with the Docker CLI can be done with `docker run` and specify the database type, in this case `sqlite`, setting the exposed port `9925`, mounting the current directory, and pull the latest image. After the image is up and running you can navigate to http://your.ip.address:9925 and you'll should see mealie up and running!
```shell
docker run \
@@ -22,12 +22,14 @@ docker run \
```
!!! tip "Default Credentials"
- **Username:** changeme@email.com
+
+ **Username:** changeme@email.com
**Password:** MyPassword
## Docker Compose with SQLite
-Deployment with docker-compose is the recommended method for deployment. The example below will create an instance of mealie available on port `9925` with the data volume mounted from the local directory. To use, create a docker-compose.yml file, paste the contents below and save. In the terminal run `docker-compose up -d` to start the container.
+
+Deployment with docker-compose is the recommended method for deployment. The example below will create an instance of mealie available on port `9925` with the data volume mounted from the local directory. To use, create a docker-compose.yml file, paste the contents below and save. In the terminal run `docker-compose up -d` to start the container.
```yaml
version: "3.1"
@@ -39,14 +41,29 @@ services:
ports:
- 9925:80
environment:
+ PUID: 1000
+ PGID: 1000
TZ: America/Anchorage
+
+ # Default Recipe Settings
+ RECIPE_PUBLIC: true
+ RECIPE_SHOW_NUTRITION: true
+ RECIPE_SHOW_ASSETS: true
+ RECIPE_LANDSCAPE_VIEW: true
+ RECIPE_DISABLE_COMMENTS: false
+ RECIPE_DISABLE_AMOUNT: false
+
+ # Gunicorn
+ WEB_CONCURRENCY: 2
+ # WORKERS_PER_CORE: 0.5
+ # MAX_WORKERS: 8
volumes:
- ./mealie/data/:/app/data
-
```
-## Docker Compose with Postgres *(BETA)*
-Postgres support was introduced in v0.5.0. At this point it should be used with caution and frequent backups.
+## Docker Compose with Postgres _(BETA)_
+
+Postgres support was introduced in v0.5.0. At this point it should be used with caution and frequent backups.
```yaml
version: "3.1"
@@ -57,13 +74,35 @@ services:
restart: always
ports:
- 9090:80
+ depends_on:
+ - postgres
environment:
+ PUID: 1000
+ PGID: 1000
+ TZ: America/Anchorage
+
+ # Database Settings
DB_ENGINE: postgres # Optional: 'sqlite', 'postgres'
POSTGRES_USER: mealie
POSTGRES_PASSWORD: mealie
POSTGRES_SERVER: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
+
+ # Default Recipe Settings
+ RECIPE_PUBLIC: true
+ RECIPE_SHOW_NUTRITION: true
+ RECIPE_SHOW_ASSETS: true
+ RECIPE_LANDSCAPE_VIEW: true
+ RECIPE_DISABLE_COMMENTS: false
+ RECIPE_DISABLE_AMOUNT: false
+
+ # Gunicorn
+ WEB_CONCURRENCY: 2
+ # WORKERS_PER_CORE: 0.5
+ # MAX_WORKERS: 8
+ volumes:
+ - ./mealie/data/:/app/data
postgres:
container_name: postgres
image: postgres
@@ -75,79 +114,93 @@ services:
## Env Variables
-| Variables | Default | Description |
-| ----------------- | --------------------- | ----------------------------------------------------------------------------------- |
-| DEFAULT_GROUP | Home | The default group for users |
-| DEFAULT_EMAIL | changeme@email.com | The default username for the superuser |
-| BASE_URL | http://localhost:8080 | Used for Notifications |
-| DB_ENGINE | sqlite | Optional: 'sqlite', 'postgres' |
-| POSTGRES_USER | mealie | Postgres database user |
-| POSTGRES_PASSWORD | mealie | Postgres database password |
-| POSTGRES_SERVER | postgres | Postgres database server address |
-| POSTGRES_PORT | 5432 | Postgres database port |
-| POSTGRES_DB | mealie | Postgres database name |
-| TOKEN_TIME | 2 | The time in hours that a login/auth token is valid |
-| API_PORT | 9000 | The port exposed by backend API. **do not change this if you're running in docker** |
-| API_DOCS | True | Turns on/off access to the API documentation locally. |
-| TZ | UTC | Must be set to get correct date/time on the server |
+| Variables | Default | Description |
+| ----------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
+| PUID | 911 | UserID permissions between host OS and container |
+| PGID | 911 | GroupID permissions between host OS and container |
+| DEFAULT_GROUP | Home | The default group for users |
+| DEFAULT_EMAIL | changeme@email.com | The default username for the superuser |
+| BASE_URL | http://localhost:8080 | Used for Notifications |
+| DB_ENGINE | sqlite | Optional: 'sqlite', 'postgres' |
+| POSTGRES_USER | mealie | Postgres database user |
+| POSTGRES_PASSWORD | mealie | Postgres database password |
+| POSTGRES_SERVER | postgres | Postgres database server address |
+| POSTGRES_PORT | 5432 | Postgres database port |
+| POSTGRES_DB | mealie | Postgres database name |
+| TOKEN_TIME | 2 | The time in hours that a login/auth token is valid |
+| RECIPE_PUBLIC | True | Default Recipe Settings - Make Recipe Public |
+| RECIPE_SHOW_NUTRITION | True | Default Recipe Settings - Show Recipe Nutrition |
+| RECIPE_SHOW_ASSETS | True | Default Recipe Settings - Show Recipe Assets |
+| RECIPE_LANDSCAPE_VIEW | True | Default Recipe Settings - Set Landscape View |
+| RECIPE_DISABLE_COMMENTS | False | Default Recipe Settings - Disable Comments |
+| RECIPE_DISABLE_AMOUNT | False | Default Recipe Settings - Disable Amount |
+| API_PORT | 9000 | The port exposed by backend API. **Do not change this if you're running in Docker** |
+| API_DOCS | True | Turns on/off access to the API documentation locally. |
+| TZ | UTC | Must be set to get correct date/time on the server |
+| WORKERS_PER_CORE | 1 | Set the number of workers to the number of CPU cores multiplied by this value (Value \* CPUs). More info [here][workers_per_core] |
+| MAX_WORKERS | | Set the maximum number of workers to use. Default is not set meaning unlimited. More info [here][max_workers] |
+| WEB_CONCURRENCY | 2 | Override the automatic definition of number of workers. More info [here][web_concurrency] |
## Raspberry Pi 4
!!! tip "Fatal Python error: init_interp_main: can't initialize time"
+
Some users experience an problem with running the linux/arm/v7 container on Raspberry Pi 4. This is not a problem with the Mealie container, but with a bug in the hosts Docker installation.
-
- Update the host RP4 using [instructions](https://github.com/linuxserver/docker-papermerge/issues/4#issuecomment-735236388){:target="_blank"}, summarized here:
+
+ Update the host RP4 using [instructions](https://github.com/linuxserver/docker-papermerge/issues/4#issuecomment-735236388), summarized here:
```shell
wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb
sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb
```
+## Advanced
-
-## Advanced
!!! warning "Not Required"
- The items below are completely optional and are not required to manage or install your Mealie instance.
+
+ The items below are completely optional and are not required to manage or install your Mealie instance.
### Custom Caddy File
-The Docker image provided by Mealie contains both the API and the html bundle in one convenient image. This is done by using a proxy server to serve different parts of the application depending on the URL/URI. Requests sent to `/api/*` or `/docs` will be directed to the API, anything else will be served the static web files. Below is the default Caddyfile that is used to proxy requests. You can override this file by mounting an alternative Caddyfile to `/app/Caddyfile`.
+
+The Docker image provided by Mealie contains both the API and the html bundle in one convenient image. This is done by using a proxy server to serve different parts of the application depending on the URL/URI. Requests sent to `/api/*` or `/docs` will be directed to the API, anything else will be served the static web files. Below is the default Caddyfile that is used to proxy requests. You can override this file by mounting an alternative Caddyfile to `/app/Caddyfile`.
```
{
- auto_https off
+ auto_https off
admin off
}
:80 {
@proxied path /api/* /docs /openapi.json
-
+
root * /app/dist
encode gzip
uri strip_suffix /
-
+
handle_path /api/recipes/image/* {
root * /app/data/img/
file_server
}
handle @proxied {
- reverse_proxy http://127.0.0.1:9000
+ reverse_proxy http://127.0.0.1:9000
}
handle {
try_files {path}.html {path} /
- file_server
+ file_server
}
-
}
```
## Deployed without Docker
-!!! error "Unsupported Deployment"
- If you are experiencing a problem with manual deployment, please do not submit a github issue unless it is related to an aspect of the application. For deployment help, the [discord server](https://discord.gg/QuStdQGSGK){:target="_blank"} is a better place to find support.
-Alternatively, this project is built on Python and SQLite so you may run it as a python application on your server. This is not a supported options for deployment and is only here as a reference for those who would like to do this on their own. To get started you can clone this repository into a directory of your choice and use the instructions below as a reference for how to get started.
+!!! error "Unsupported Deployment"
+
+ If you are experiencing a problem with manual deployment, please do not submit a github issue unless it is related to an aspect of the application. For deployment help, the [discord server](https://discord.gg/QuStdQGSGK) is a better place to find support.
+
+Alternatively, this project is built on Python and SQLite so you may run it as a python application on your server. This is not a supported options for deployment and is only here as a reference for those who would like to do this on their own. To get started you can clone this repository into a directory of your choice and use the instructions below as a reference for how to get started.
There are three parts to the Mealie application
@@ -156,14 +209,19 @@ There are three parts to the Mealie application
- Proxy Server
### Frontend/ Static Files
+
The frontend static files are generated with `npm run build`. This is done during the build process with docker. If you choose to deploy this as a system application you must do this process yourself. In the project directory run `cd frontend` to change directories into the frontend directory and run `npm install` and then `npm run build`. This will generate the static files in a `dist` folder in the frontend directory.
### Backend API
+
The backend API is build with Python, FastAPI, and SQLite and requires Python 3.9, and Poetry. Once the requirements are installed, in the project directory you can run the command `poetry install` to create a python virtual environment and install the python dependencies.
-Once the dependencies are installed you should be ready to run the server. To initialize that database you need to first run `python mealie/db/init_db.py`. Then to start The web server, you run the command `uvicorn mealie.app:app --host 0.0.0.0 --port 9000`
-
+Once the dependencies are installed you should be ready to run the server. To initialize that database you need to first run `python mealie/db/init_db.py`. Then to start The web server, you run the command `uvicorn mealie.app:app --host 0.0.0.0 --port 9000`
### Proxy Server
-You must use a proxy server to server up the static files created with `npm run build` and proxy requests to the API. In the docker build this is done with Caddy. You can use the CaddyFile in the section above as a reference. One important thing to keep in mind is that you should drop any trailing `/` in the url. Not doing this may result in failed API requests.
+You must use a proxy server to server up the static files created with `npm run build` and proxy requests to the API. In the docker build this is done with Caddy. You can use the CaddyFile in the section above as a reference. One important thing to keep in mind is that you should drop any trailing `/` in the url. Not doing this may result in failed API requests.
+
+[workers_per_core]: https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/2daa3e3873c837d5781feb4ff6a40a89f791f81b/README.md#workers_per_core
+[max_workers]: https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/2daa3e3873c837d5781feb4ff6a40a89f791f81b/README.md#max_workers
+[web_concurrency]: https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/2daa3e3873c837d5781feb4ff6a40a89f791f81b/README.md#web_concurrency
diff --git a/docs/docs/documentation/getting-started/introduction.md b/docs/docs/documentation/getting-started/introduction.md
index 9a4946955..12c788f98 100644
--- a/docs/docs/documentation/getting-started/introduction.md
+++ b/docs/docs/documentation/getting-started/introduction.md
@@ -2,13 +2,13 @@
Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and Mealie will automatically import the relevant data or add a family recipe with the UI editor. Mealie also provides an API for interactions from 3rd party applications.
-[Remember to join the Discord](https://discord.gg/QuStdQGSGK){:target="_blank"}!
+[Remember to join the Discord](https://discord.gg/QuStdQGSGK)!
!!! note
In some of the demo gifs the styling may be different than the finale application. demos were done during development prior to finale styling.
!!! warning
- This is a **BETA** release and that means things may break and or change down the line. I'll do my best to make sure that any API changes are thoughtful and necessary in order not to break things. Additionally, I'll do my best to provide a migration path if the database schema ever changes. Do not use programs like watchtower to auto update your container. You **WILL** run into issues if you do this,
+ This is a **BETA** release and that means things may break and or change down the line. I'll do my best to make sure that any API changes are thoughtful and necessary in order not to break things. Additionally, I'll do my best to provide a migration path if the database schema ever changes. Do not use programs like watchtower to auto update your container. You **WILL** run into issues if you do this!
## Key Features
@@ -26,7 +26,7 @@ Mealie is a self hosted recipe manager and meal planner with a RestAPI backend a
- Flexible API
- Custom key/value pairs for recipes
- Webhook support
- - Interactive API Documentation thanks to [FastAPI](https://fastapi.tiangolo.com/){:target="_blank"} and [Swagger](https://petstore.swagger.io/){:target="_blank"}
+ - Interactive API Documentation thanks to [FastAPI](https://fastapi.tiangolo.com/) and [Swagger](https://petstore.swagger.io/)
- Raw JSON Recipe Editor
- Migration from other platforms
- Chowdown
@@ -36,7 +36,7 @@ Mealie is a self hosted recipe manager and meal planner with a RestAPI backend a
## FAQ
### Why An API?
-An API allows integration into applications like [Home Assistant](https://www.home-assistant.io/){:target="_blank"} that can act as notification engines to provide custom notifications based of Meal Plan data to remind you to defrost the chicken, marinade the steak, or start the CrockPot. Additionally, you can access nearly any backend service via the API giving you total control to extend the application. To explore the API spin up your server and navigate to http://yourserver.com/docs for interactive API documentation.
+An API allows integration into applications like [Home Assistant](https://www.home-assistant.io/) that can act as notification engines to provide custom notifications based of Meal Plan data to remind you to defrost the chicken, marinade the steak, or start the CrockPot. Additionally, you can access nearly any backend service via the API giving you total control to extend the application. To explore the API spin up your server and navigate to http://yourserver.com/docs for interactive API documentation.
### Why a Database?
Some users of static-site generator applications like ChowDown have expressed concerns about their data being stuck in a database. Considering this is a new project it is a valid concern to be worried about your data. Mealie specifically addresses this concern by provided automatic daily backups that export your data in json, plain-text markdown files, and/or custom Jinja2 templates. **This puts you in controls of how your data is represented** when exported from Mealie, which means you can easily migrate to any other service provided Mealie doesn't work for you.
@@ -48,10 +48,10 @@ As to why we need a database?
## Built With
-* [Vue.js](https://vuejs.org/){:target="_blank"}
-* [Vuetify](https://vuetifyjs.com/en/){:target="_blank"}
-* [FastAPI](https://fastapi.tiangolo.com/){:target="_blank"}
-* [Docker](https://www.docker.com/){:target="_blank"}
+* [Vue.js](https://vuejs.org/)
+* [Vuetify](https://vuetifyjs.com/en/)
+* [FastAPI](https://fastapi.tiangolo.com/)
+* [Docker](https://www.docker.com/)
## Road Map
@@ -62,9 +62,9 @@ As to why we need a database?
## Contributing
-Contributions are what make the open source community such an amazing place to be learn, develop, and create. Any contributions you make are **greatly appreciated**. See the [Contributors Guide](../../contributors/non-coders.md) for help getting started.
+Contributions are what make the open source community such an amazing place to learn, develop, and create. Any contributions you make are **greatly appreciated**. See the [Contributors Guide](../../contributors/non-coders.md) for help getting started.
-If you are not a coder, you can still contribute financially. financial contributions help me prioritize working on this project over others and helps me know that there is a real demand for project development.
+If you are not a coder, you can still contribute financially. Financial contributions help me prioritize working on this project over others and help me to know that there is a real demand for project development.
diff --git a/docs/docs/documentation/getting-started/updating.md b/docs/docs/documentation/getting-started/updating.md
index 7848100c7..27391fb91 100644
--- a/docs/docs/documentation/getting-started/updating.md
+++ b/docs/docs/documentation/getting-started/updating.md
@@ -1,7 +1,7 @@
# Updating Mealie
!!! warning "Read The Release Notes"
- You MUST read the release notes prior to upgrading your container. Currently Mealie provides no database migrations as doing such would slow down development and hinder major changes that may need to happen prior to v1.0.0. Mealie has a robust backup and restore system for managing your data.
+ You MUST read the release notes prior to upgrading your container. Currently Mealie provides no database migrations as doing so would slow down development and hinder major changes that may need to happen prior to v1.0.0. Mealie has a robust backup and restore system for managing your data.
### Before Upgrading
- Read The Release Notes
@@ -14,7 +14,7 @@
[See Backups and Restore Section](../admin/backups-and-exports.md) for details on backing up your data
## Docker
-For all setups using Docker the updating process look something like this
+For all setups using Docker the updating process looks something like this
- Stop the container using docker-compose down
- Pull the latest image using docker-compose pull
diff --git a/docs/docs/documentation/recipes/organizing-recipes.md b/docs/docs/documentation/recipes/organizing-recipes.md
index c566908e6..3288d3112 100644
--- a/docs/docs/documentation/recipes/organizing-recipes.md
+++ b/docs/docs/documentation/recipes/organizing-recipes.md
@@ -9,7 +9,7 @@ Below are some general guidelines that were considered when creating the organiz
>
> My tags are for picking the exact type of meal I'm looking for, based on my mood or my guests' diet, like gluten-free, vegetarian, sweet-sour or casserole. They can also act as sub-categories, like "alcohol" for beverages or "hot meal" for a main course.
>
-> User: [sephrat](https://github.com/sephrat){:target="_blank"}
+> User: [sephrat](https://github.com/sephrat)
## Structure
diff --git a/docs/docs/documentation/recipes/recipes.md b/docs/docs/documentation/recipes/recipes.md
index 7c0461ed9..bfd93e9b9 100644
--- a/docs/docs/documentation/recipes/recipes.md
+++ b/docs/docs/documentation/recipes/recipes.md
@@ -1,7 +1,7 @@
# Recipes
## URL Import
-Adding a recipe can be as easy as clicking in the bottom-right corner, copying the recipe URL into Mealie and letting the web scrapper organize information. Currently this scraper is implemented with [recipe-scrapers](https://github.com/hhursev/recipe-scrapers){:target="_blank"}. You may have mixed results on some websites, especially with blogs or non-specific recipe websites. See the bulk import Option below for another a convenient way to add blog style recipes into Mealie.
+Adding a recipe can be as easy as clicking in the bottom-right corner, copying the recipe URL into Mealie and letting the web scraper organize information. Currently this scraper is implemented with [recipe-scrapers](https://github.com/hhursev/recipe-scrapers). You may have mixed results on some websites, especially with blogs or non-specific recipe websites. See the bulk import Option below for another a convenient way to add blog style recipes into Mealie.
!!! tip
You can find a list of some of the supported sites in the recipe-scrapers repo. If you're site isn't supported, you can work with the recipe-scrapers team to implement it and we can down-stream those changes into Mealie.
@@ -12,7 +12,7 @@ Adding a recipe can be as easy as clicking in the bottom-right corner, copying t
You can use bookmarklets to generate a bookmark that will take your current location, and open a new tab that will try to import that URL into Mealie.
-You can use a [bookmarklet generator site](https://caiorss.github.io/bookmarklet-maker/){:target="_blank"} and the code below to generate a bookmark for your site. Just change the `http://localhost:8080` to your sites web address and follow the instructions. Note that there is no trailing `/`.
+You can use a [bookmarklet generator site](https://caiorss.github.io/bookmarklet-maker/) and the code below to generate a bookmark for your site. Just change the `http://localhost:8080` to your sites web address and follow the instructions. Note that there is no trailing `/`.
```js
var url = document.URL ;
@@ -54,7 +54,7 @@ Mealie also supports bulk import of recipe instructions and ingredients. Select

## Schema
-Recipes are stored in the json-like format in mongoDB and then sent and edited in json format on the frontend. Each recipes uses [Recipe Schema](https://schema.org/Recipe){:target="_blank"} as a general guide with some additional properties specific to Mealie.
+Recipes are stored in the json-like format in mongoDB and then sent and edited in json format on the frontend. Each recipes uses [Recipe Schema](https://schema.org/Recipe) as a general guide with some additional properties specific to Mealie.
### Example
```json
diff --git a/docs/docs/documentation/toolbox/notifications.md b/docs/docs/documentation/toolbox/notifications.md
index 6b51408c1..7e4f132cd 100644
--- a/docs/docs/documentation/toolbox/notifications.md
+++ b/docs/docs/documentation/toolbox/notifications.md
@@ -2,15 +2,15 @@
## Apprise
-Using the [Apprise](https://github.com/caronc/apprise/){:target="_blank"} library Mealie is able to provided notification services for nearly every popular service. Some of our favorites are...
+Using the [Apprise](https://github.com/caronc/apprise/) library Mealie is able to provide notification services for nearly every popular service. Some of our favorites are...
-- [Gotify](https://github.com/caronc/apprise/wiki/Notify_gotify){:target="_blank"}
-- [Discord](https://github.com/caronc/apprise/wiki/Notify_discord){:target="_blank"}
-- [Home Assistant](https://github.com/caronc/apprise/wiki/Notify_homeassistant){:target="_blank"}
-- [Matrix](https://github.com/caronc/apprise/wiki/Notify_matrix){:target="_blank"}
-- [Pushover](https://github.com/caronc/apprise/wiki/Notify_pushover){:target="_blank"}
+- [Gotify](https://github.com/caronc/apprise/wiki/Notify_gotify)
+- [Discord](https://github.com/caronc/apprise/wiki/Notify_discord)
+- [Home Assistant](https://github.com/caronc/apprise/wiki/Notify_homeassistant)
+- [Matrix](https://github.com/caronc/apprise/wiki/Notify_matrix)
+- [Pushover](https://github.com/caronc/apprise/wiki/Notify_pushover)
-But there are some many to choose from! Take a look at their wiki for information on how to create their URL formats and that you can use to create a notification integration in Mealie.
+But there are many more to choose from! Take a look at their wiki for information on how to create their URL formats that you can use to create a notification integration in Mealie.
## Subscribe Events
@@ -45,7 +45,7 @@ In most cases the events will also provide details on which user performed the a
New events can be created and viewed in admin Toolbox `/admin/toolbox?tab=event-notifications`. Select the "+ Notification" button and you'll be provided with a dialog. Complete the form using the URL for the service you'd like to connect to. Before saving be sure to use the test feature.
!!! tip
- The feedback provided from the test feature is only an indicated of if the URL you provided is valid, not if the message was successfully sent. Be sure to check the notification feed for the test message.
+ The feedback provided from the test feature indicates only if the URL you provided is valid, not if the message was successfully sent. Be sure to check the notification feed for the test message.

@@ -56,4 +56,4 @@ New events can be created and viewed in admin Toolbox `/admin/toolbox?tab=event-

#### Gotify
-
\ No newline at end of file
+
diff --git a/docs/docs/documentation/users-groups/meal-planner.md b/docs/docs/documentation/users-groups/meal-planner.md
index 53fd26b51..44531397e 100644
--- a/docs/docs/documentation/users-groups/meal-planner.md
+++ b/docs/docs/documentation/users-groups/meal-planner.md
@@ -2,7 +2,7 @@
## Working with Planner
-In Mealie you can create a meal plan based off the calendar inputs on the meal planner page. There is no limit to how long or how short a meal plan is. You may also create duplicate meal plans for the same date range. After selecting your date range, click on the card for each day and search through recipes to find your choice. Add a side-dish if you prefer to. After selecting a recipe for all meals, save the plan. Selecting the 'No Recipe' button will allow you to add an entry without a recipe by providing a title and description
+In Mealie you can create a meal plan based off the calendar inputs on the meal planner page. There is no limit to how long or how short a meal plan is. You may also create duplicate meal plans for the same date range. After selecting your date range, click on the card for each day and search through recipes to find your choice. Add a side-dish if you prefer to. After selecting a recipe for all meals, save the plan. Selecting the 'No Recipe' button will allow you to add an entry without a recipe by providing a title and description.
You can also randomly generate meal plans with the dice-button at the bottom.
diff --git a/docs/docs/overrides/api.html b/docs/docs/overrides/api.html
index 1a3b0930b..94fd252df 100644
--- a/docs/docs/overrides/api.html
+++ b/docs/docs/overrides/api.html
@@ -14,7 +14,7 @@