mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Compare commits
56 Commits
6476676fca
...
92d7c82ab4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92d7c82ab4 | ||
|
|
062fa1790f | ||
|
|
dd52847d1b | ||
|
|
ea25783a73 | ||
|
|
54ec5df87d | ||
|
|
a8f6a8a5f3 | ||
|
|
05c4f09e5f | ||
|
|
7f10535477 | ||
|
|
8945d624f5 | ||
|
|
5b44e1c234 | ||
|
|
73264f37c8 | ||
|
|
e9264f8c06 | ||
|
|
e13186982d | ||
|
|
2f7c7a9caa | ||
|
|
d080826869 | ||
|
|
2d5ee9e394 | ||
|
|
843da44ac7 | ||
|
|
f129d5e6cc | ||
|
|
0ff3975de3 | ||
|
|
eec82176b0 | ||
|
|
4494a9e984 | ||
|
|
b2f13a9650 | ||
|
|
8d429be0f9 | ||
|
|
33244b571f | ||
|
|
831ae97abb | ||
|
|
ceb7eb2176 | ||
|
|
861a447de2 | ||
|
|
18c93fc88f | ||
|
|
14d42dcf0f | ||
|
|
1c00b0105b | ||
|
|
f55b6a1235 | ||
|
|
a02359cbe9 | ||
|
|
be717f1b13 | ||
|
|
780b390166 | ||
|
|
aecc0847e4 | ||
|
|
846c9e6619 | ||
|
|
6b906a0407 | ||
|
|
a1f85eb1e5 | ||
|
|
6e6c90b039 | ||
|
|
91e5dd9f5f | ||
|
|
5a406035dc | ||
|
|
de67d8e1aa | ||
|
|
71d986150e | ||
|
|
6b7c64cf38 | ||
|
|
c526cacd60 | ||
|
|
ae06f7809c | ||
|
|
297f973a15 | ||
|
|
cad5bbbc2c | ||
|
|
d686f2671d | ||
|
|
ed601536c9 | ||
|
|
cbbfd847e5 | ||
|
|
def0666c98 | ||
|
|
1f5c0b54ea | ||
|
|
3f91cd3811 | ||
|
|
5e0934aa20 | ||
|
|
b8aa2292f5 |
35
.github/workflows/onpush_builder.yaml
vendored
35
.github/workflows/onpush_builder.yaml
vendored
@@ -170,9 +170,20 @@ jobs:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build ${{ matrix.addon }} add-on
|
||||
id: builderstep
|
||||
- name: Free disk space (runner)
|
||||
uses: endersonmenezes/free-disk-space@v3
|
||||
with:
|
||||
remove_android: true
|
||||
remove_dotnet: true
|
||||
remove_haskell: true
|
||||
remove_tool_cache: true
|
||||
remove_swap: true
|
||||
rm_cmd: "rmz"
|
||||
rmz_version: "3.1.1"
|
||||
- name: Build ${{ matrix.addon }} add-on (attempt 1)
|
||||
id: builderstep1
|
||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true'
|
||||
continue-on-error: true
|
||||
uses: home-assistant/builder@2025.11.0
|
||||
env:
|
||||
CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
|
||||
@@ -185,6 +196,26 @@ jobs:
|
||||
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
|
||||
--addon
|
||||
|
||||
- name: Wait 1 minute before retry
|
||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true' && steps.builderstep1.outcome == 'failure'
|
||||
run: |
|
||||
sleep 60
|
||||
|
||||
- name: Build ${{ matrix.addon }} add-on (attempt 2)
|
||||
if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true' && steps.builderstep1.outcome == 'failure'
|
||||
uses: home-assistant/builder@2025.11.0
|
||||
env:
|
||||
CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
|
||||
with:
|
||||
args: |
|
||||
${{ env.BUILD_ARGS }} \
|
||||
--no-cache \
|
||||
--${{ matrix.arch }} \
|
||||
--target "/data/${{ matrix.addon }}" \
|
||||
--image "${{ steps.check.outputs.image }}" \
|
||||
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
|
||||
--addon
|
||||
|
||||
# 5. Update changelog if needed (for each changed add-on)
|
||||
make-changelog:
|
||||
if: ${{ needs.detect-changed-addons.outputs.changedAddons != '' && needs.detect-changed-addons.outputs.changedAddons != '[]' }}
|
||||
|
||||
@@ -14,6 +14,11 @@ bashio::log.notice "Additional informations : https://github.com/alexbelgium/has
|
||||
echo ""
|
||||
|
||||
JSONSOURCE="/data/options.json"
|
||||
ENV_FILE="/.env"
|
||||
|
||||
if [[ ! -f "$ENV_FILE" ]]; then
|
||||
printf '# Generated by 00-global_var.sh from %s\n' "$JSONSOURCE" > "$ENV_FILE"
|
||||
fi
|
||||
|
||||
# Define secrets location (optional)
|
||||
SECRETSOURCE=""
|
||||
@@ -189,7 +194,7 @@ update_scripts_with_block() {
|
||||
shopt -s nullglob
|
||||
|
||||
# Added /etc/s6-overlay/s6-rc.d/*/run for newer S6 implementation (optional)
|
||||
for f in /etc/services.d/*/run /etc/services.d/*/*run* /etc/cont-init.d/*.sh /etc/s6-overlay/s6-rc.d/*/run; do
|
||||
for f in /etc/services.d/*/run /etc/services.d/*/*run* /etc/cont-init.d/*.sh /etc/s6-overlay/s6-rc.d/*/run /*/entrypoint.sh /entrypoint.sh; do
|
||||
[[ -f "$f" ]] || continue
|
||||
[[ -n "${seen[$f]:-}" ]] && continue
|
||||
seen["$f"]=1
|
||||
@@ -233,7 +238,7 @@ export_option() {
|
||||
printf '%s' "${value}" > "/var/run/s6/container_environment/${key}"
|
||||
fi
|
||||
|
||||
echo "${key}=$(dotenv_quote "$value")" >> "/.env" 2>/dev/null || true
|
||||
echo "${key}=$(dotenv_quote "$value")" >> "$ENV_FILE" 2>/dev/null || true
|
||||
mkdir -p /etc
|
||||
echo "${key}=$(dotenv_quote "$value")" >> /etc/environment 2>/dev/null || true
|
||||
|
||||
|
||||
@@ -74,6 +74,11 @@ if [[ "$CONFIGSOURCE" != *".yaml" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ENV_FILE="/.env"
|
||||
if [[ ! -f "$ENV_FILE" ]]; then
|
||||
printf '# Generated by 01-config_yaml.sh from %s\n' "$CONFIGSOURCE" > "$ENV_FILE"
|
||||
fi
|
||||
|
||||
# Permissions only if the config file already exists
|
||||
if [[ "$CONFIGSOURCE" == *".yaml" ]] && [ -f "$CONFIGSOURCE" ]; then
|
||||
echo "Setting permissions for the config.yaml directory"
|
||||
@@ -174,10 +179,13 @@ while IFS= read -r line; do
|
||||
python3 /env.py
|
||||
fi
|
||||
# set .env
|
||||
echo "$line" >> /.env
|
||||
echo "$line" >> "$ENV_FILE"
|
||||
# set environment
|
||||
mkdir -p /etc
|
||||
echo "$line" >> /etc/environment
|
||||
# Export to entrypoint
|
||||
if [ -f /entrypoint.sh ]; then sed -i "1a export $line" /entrypoint.sh 2> /dev/null; fi
|
||||
if [ -f /*/entrypoint.sh ]; then sed -i "1a export $line" /*/entrypoint.sh 2> /dev/null; fi
|
||||
# Export to scripts
|
||||
if cat /etc/services.d/*/*run* &> /dev/null; then sed -i "1a export $line" /etc/services.d/*/*run* 2> /dev/null; fi
|
||||
if cat /etc/cont-init.d/*run* &> /dev/null; then sed -i "1a export $line" /etc/cont-init.d/*run* 2> /dev/null; fi
|
||||
|
||||
@@ -57,8 +57,10 @@ for file in $(grep -srl "/usr/bin" /etc/cont-init.d /etc/s6-overlay/s6-rc.d); do
|
||||
done
|
||||
|
||||
# Allow running abc as user 1
|
||||
sed -i '/usermod/ s/$/ 2>\/dev\/null || true/' /etc/s6-overlay/s6-rc.d/init-adduser/run
|
||||
sed -i '/groupmod/ s/$/ 2>\/dev\/null || true/' /etc/s6-overlay/s6-rc.d/init-adduser/run
|
||||
if [ -f /etc/s6-overlay/s6-rc.d/init-adduser/run ]; then
|
||||
sed -i '/usermod/ s/$/ 2>\/dev\/null || true/' /etc/s6-overlay/s6-rc.d/init-adduser/run
|
||||
sed -i '/groupmod/ s/$/ 2>\/dev\/null || true/' /etc/s6-overlay/s6-rc.d/init-adduser/run
|
||||
fi
|
||||
|
||||
# Replace lsiown if not found
|
||||
if [ ! -f /usr/bin/lsiown ]; then
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
## nightly-20251223-2 (27-12-2025)
|
||||
- Minor bugs fixed
|
||||
## nightly-20251224 (24-12-2025)
|
||||
- Minor bugs fixed
|
||||
|
||||
|
||||
@@ -75,6 +75,7 @@ environment:
|
||||
BIRDNET_UID: "0"
|
||||
image: ghcr.io/alexbelgium/birdnet-go-{arch}
|
||||
ingress: true
|
||||
ingress_entry: ui
|
||||
ingress_stream: true
|
||||
init: false
|
||||
map:
|
||||
@@ -117,4 +118,4 @@ slug: birdnet-go
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-go
|
||||
usb: true
|
||||
version: nightly-20251214
|
||||
version: nightly-20251223-2
|
||||
|
||||
@@ -45,15 +45,15 @@ server {
|
||||
sub_filter action=\"/ action=\"%%ingress_entry%%/;
|
||||
sub_filter EventSource('/ EventSource('%%ingress_entry%%/;
|
||||
sub_filter fetch('/ fetch('%%ingress_entry%%/;
|
||||
sub_filter `/api/v2 `%%ingress_entry%%/api/v2;
|
||||
sub_filter "'/api/v2" "'%%ingress_entry%%/api/v2";
|
||||
sub_filter \"/api/v2 \"%%ingress_entry%%/api/v2;
|
||||
sub_filter `/ui `%%ingress_entry%%/ui;
|
||||
sub_filter "'/ui" "'%%ingress_entry%%/ui";
|
||||
sub_filter \"/ui \"%%ingress_entry%%/ui;
|
||||
sub_filter `/assets `%%ingress_entry%%/assets;
|
||||
sub_filter "'/assets" "'%%ingress_entry%%/assets";
|
||||
sub_filter \"/assets \"%%ingress_entry%%/assets;
|
||||
sub_filter `/api/v `%%ingress_entry%%/api/v;
|
||||
sub_filter "'/api/v" "'%%ingress_entry%%/api/v";
|
||||
sub_filter \"/api/v \"%%ingress_entry%%/api/v;
|
||||
sub_filter `/u `%%ingress_entry%%/u;
|
||||
sub_filter "'/u" "'%%ingress_entry%%/u";
|
||||
sub_filter \"/u \"%%ingress_entry%%/u;
|
||||
sub_filter `/asset `%%ingress_entry%%/asset;
|
||||
sub_filter "'/asset" "'%%ingress_entry%%/asset";
|
||||
sub_filter \"/asset \"%%ingress_entry%%/asset;
|
||||
|
||||
# Fix streaming
|
||||
sub_filter window.location.origin} window.location.origin}%%ingress_entry%%;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"last_update": "09-03-2024",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "comixed",
|
||||
"source": "Dockerhub",
|
||||
"source": "dockerhub",
|
||||
"upstream_repo": "comixed/comixed",
|
||||
"upstream_version": ""
|
||||
}
|
||||
|
||||
@@ -13,7 +13,15 @@ FROM node:22-alpine AS web-builder
|
||||
ARG ENTE_WEB_TAG=main
|
||||
|
||||
# ---- tools we need to build (git, yarn)
|
||||
RUN apk add --no-cache git
|
||||
ENV RUSTUP_HOME=/usr/local/rustup \
|
||||
CARGO_HOME=/usr/local/cargo \
|
||||
PATH=/usr/local/cargo/bin:$PATH
|
||||
|
||||
RUN apk add --no-cache \
|
||||
git curl ca-certificates build-base \
|
||||
&& curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable \
|
||||
&& rustup target add wasm32-unknown-unknown \
|
||||
&& npm install -g wasm-pack@0.13.1
|
||||
|
||||
# ---- pull the web source
|
||||
WORKDIR /src
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"dockerhub_by_date": "true",
|
||||
"github_fulltag": "true",
|
||||
"last_update": "20-09-2025",
|
||||
"paused": true,
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "fireflyiii_data_importer",
|
||||
"source": "dockerhub",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"github_beta": false,
|
||||
"last_update": "29-11-2025",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "grav",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
## 2.4.1 (27-12-2025)
|
||||
- Minor bugs fixed
|
||||
|
||||
## 2.3.1 (22-11-2025)
|
||||
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
||||
|
||||
@@ -3,8 +3,7 @@ arch:
|
||||
backup_exclude:
|
||||
- "**/machine-learning/*"
|
||||
description:
|
||||
Self-hosted photo and video backup solution directly from your mobile
|
||||
phone
|
||||
Self-hosted photo and video backup solution directly from your mobile phone
|
||||
devices:
|
||||
- /dev/dri
|
||||
- /dev/dxg
|
||||
@@ -140,6 +139,6 @@ slug: immich_cuda
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
usb: true
|
||||
version: "2.3.1"
|
||||
version: 2.4.1
|
||||
video: true
|
||||
webui: http://[HOST]:[PORT:8080]
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
|
||||
## 0.24.569 (27-12-2025)
|
||||
- Update to latest version from linuxserver/docker-jackett (changelog : https://github.com/linuxserver/docker-jackett/releases)
|
||||
|
||||
## 0.24.545 (27-12-2025)
|
||||
- Update to latest version from linuxserver/docker-jackett (changelog : https://github.com/linuxserver/docker-jackett/releases)
|
||||
|
||||
|
||||
@@ -106,5 +106,5 @@ schema:
|
||||
slug: jackett_nas
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/jackett
|
||||
version: "0.24.545"
|
||||
version: "0.24.569"
|
||||
webui: http://[HOST]:[PORT:9117]
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
"slug": "jackett",
|
||||
"source": "github",
|
||||
"upstream_repo": "linuxserver/docker-jackett",
|
||||
"upstream_version": "0.24.545"
|
||||
"upstream_version": "0.24.569"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
## 5.0.0b5 (27-12-2025)
|
||||
- Update to latest version from monicahq/monica (changelog : https://github.com/monicahq/monica/releases)
|
||||
## v5.0_beta5-8 (07-12-2025)
|
||||
- Generate and persist a secure Meilisearch master key when none is provided or when configured keys are too short.
|
||||
|
||||
|
||||
@@ -108,5 +108,5 @@ services:
|
||||
- mysql:want
|
||||
slug: monica
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/monica
|
||||
version: v5.0_beta5-8
|
||||
version: "5.0.0b5"
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
{
|
||||
"github_beta": true,
|
||||
"github_tagfilter": "5",
|
||||
"last_update": "07-12-2024",
|
||||
"last_update": "27-12-2025",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"source": "github",
|
||||
"slug": "monica",
|
||||
"upstream_repo": "monicahq/monica",
|
||||
"upstream_version": "5.0.0-beta.5"
|
||||
"upstream_version": "5.0.0b5"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"dockerhub_by_date": true,
|
||||
"github_tagfilter": "5.3-amd64",
|
||||
"last_update": "23-12-2025",
|
||||
"paused": false,
|
||||
"paused": true,
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "omada_v3",
|
||||
"source": "dockerhub",
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
## 1.601 (27-12-2025)
|
||||
- Update to latest version from causefx/organizr (changelog : https://github.com/causefx/organizr/releases)
|
||||
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
|
||||
|
||||
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
||||
|
||||
@@ -86,5 +86,5 @@ schema:
|
||||
slug: organizr
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: 1.90-bugfix2
|
||||
version: "1.601"
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"last_update": "27-04-2022",
|
||||
"last_update": "27-12-2025",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "organizr",
|
||||
"source": "github",
|
||||
"upstream_repo": "causefx/organizr",
|
||||
"upstream_version": "1.90"
|
||||
"upstream_version": "1.601"
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
|
||||
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
||||
|
||||
# Manual apps
|
||||
ENV PACKAGES=""
|
||||
ENV PACKAGES="micro"
|
||||
|
||||
# Automatic apps & bashio
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
|
||||
|
||||
7
social_to_mealie/CHANGELOG.md
Normal file
7
social_to_mealie/CHANGELOG.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## 0.1.0-3 (27-12-2025)
|
||||
- Minor bugs fixed
|
||||
## 0.1.0-2 (27-12-2025)
|
||||
- Minor bugs fixed
|
||||
## 0.1.0
|
||||
|
||||
- Initial release
|
||||
110
social_to_mealie/Dockerfile
Normal file
110
social_to_mealie/Dockerfile
Normal file
@@ -0,0 +1,110 @@
|
||||
#============================#
|
||||
# ALEXBELGIUM'S DOCKERFILE #
|
||||
#============================#
|
||||
# _.------.
|
||||
# _.-` ('>.-"""-.
|
||||
# '.--'` _'` _ .--.)
|
||||
# -' '-.-';` `
|
||||
# ' - _.' ``'--.
|
||||
# '---` .-'""`
|
||||
# /`
|
||||
#=== Home Assistant Addon ===#
|
||||
|
||||
#################
|
||||
# 1 Build Image #
|
||||
#################
|
||||
|
||||
ARG BUILD_FROM
|
||||
ARG BUILD_VERSION
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
##################
|
||||
# 2 Modify Image #
|
||||
##################
|
||||
|
||||
# Set S6 wait time
|
||||
ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
|
||||
S6_SERVICES_GRACETIME=0
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
##################
|
||||
|
||||
USER root
|
||||
|
||||
# Add rootfs
|
||||
COPY rootfs/ /
|
||||
|
||||
# Uses /bin for compatibility purposes
|
||||
# hadolint ignore=DL4005
|
||||
RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; fi && \
|
||||
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
|
||||
|
||||
# Modules
|
||||
ARG MODULES="00-banner.sh 01-custom_script.sh"
|
||||
|
||||
# Automatic modules download
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_automodules.sh" "/ha_automodules.sh"
|
||||
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
|
||||
|
||||
# Manual apps
|
||||
ENV PACKAGES="jq"
|
||||
|
||||
# Automatic apps & bashio
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
|
||||
RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||
|
||||
################
|
||||
# 4 Entrypoint #
|
||||
################
|
||||
|
||||
# Add entrypoint
|
||||
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
|
||||
|
||||
# Entrypoint modifications
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
|
||||
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||
|
||||
# Standalone bashio command
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||
RUN chmod 777 /.bashio-standalone.sh
|
||||
|
||||
#ENTRYPOINT [ "/ha_entrypoint.sh" ]
|
||||
#CMD [ "/ha_entrypoint.sh" ]
|
||||
|
||||
############
|
||||
# 5 Labels #
|
||||
############
|
||||
|
||||
ARG BUILD_ARCH
|
||||
ARG BUILD_DATE
|
||||
ARG BUILD_DESCRIPTION
|
||||
ARG BUILD_NAME
|
||||
ARG BUILD_REF
|
||||
ARG BUILD_REPOSITORY
|
||||
ARG BUILD_VERSION
|
||||
ENV BUILD_VERSION="${BUILD_VERSION}"
|
||||
LABEL \
|
||||
io.hass.name="${BUILD_NAME}" \
|
||||
io.hass.description="${BUILD_DESCRIPTION}" \
|
||||
io.hass.arch="${BUILD_ARCH}" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.version=${BUILD_VERSION} \
|
||||
maintainer="alexbelgium (https://github.com/alexbelgium)" \
|
||||
org.opencontainers.image.title="${BUILD_NAME}" \
|
||||
org.opencontainers.image.description="${BUILD_DESCRIPTION}" \
|
||||
org.opencontainers.image.vendor="Home Assistant Add-ons" \
|
||||
org.opencontainers.image.authors="alexbelgium (https://github.com/alexbelgium)" \
|
||||
org.opencontainers.image.licenses="MIT" \
|
||||
org.opencontainers.image.url="https://github.com/alexbelgium" \
|
||||
org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \
|
||||
org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/main/README.md" \
|
||||
org.opencontainers.image.created=${BUILD_DATE} \
|
||||
org.opencontainers.image.revision=${BUILD_REF} \
|
||||
org.opencontainers.image.version=${BUILD_VERSION}
|
||||
|
||||
####################
|
||||
# 6 HealthcheckNOT #
|
||||
####################
|
||||
75
social_to_mealie/README.md
Normal file
75
social_to_mealie/README.md
Normal file
@@ -0,0 +1,75 @@
|
||||
# Home assistant add-on: Social to Mealie
|
||||
|
||||
I maintain this and other Home Assistant add-ons in my free time: keeping up with upstream changes, HA changes, and testing on real hardware takes a lot of time (and some money). I use around 5-10 of my >110 addons so regularly I install test machines (and purchase some test services such as vpn) that I don't use myself to troubleshoot and improve the addons
|
||||
|
||||
If this add-on saves you time or makes your setup easier, I would be very grateful for your support!
|
||||
|
||||
[![Buy me a coffee][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
||||
[![Donate via PayPal][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
|
||||
|
||||
## Addon informations
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
[](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
|
||||
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
|
||||
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml)
|
||||
|
||||
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
||||
[paypal-badge]: https://img.shields.io/badge/Donate%20via%20PayPal-0070BA?logo=paypal&style=flat&logoColor=white
|
||||
|
||||
_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_
|
||||
|
||||
[](https://github.com/alexbelgium/hassio-addons/stargazers)
|
||||
|
||||

|
||||
|
||||
## About
|
||||
|
||||
[Social to Mealie](https://github.com/GerardPolloRebozado/social-to-mealie) lets you import recipes from social media videos directly into your Mealie instance.
|
||||
|
||||
This addon is based on the docker image https://github.com/GerardPolloRebozado/social-to-mealie
|
||||
|
||||
## Configuration
|
||||
|
||||
Webui can be found at <http://homeassistant:3000>.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Type | Default | Description |
|
||||
|--------|------|---------|-------------|
|
||||
| `OPENAI_URL` | str | `https://api.openai.com/v1` | URL for the OpenAI-compatible endpoint |
|
||||
| `OPENAI_API_KEY` | str | `` | API key for the OpenAI-compatible provider |
|
||||
| `TRANSCRIPTION_MODEL` | str | `whisper-1` | Whisper model to use for transcription |
|
||||
| `TEXT_MODEL` | str | `gpt-4o-mini` | Text model used to build the recipe |
|
||||
| `MEALIE_URL` | str | `https://mealie.example.com` | URL of your Mealie instance |
|
||||
| `MEALIE_API_KEY` | str | `` | API key for Mealie |
|
||||
| `MEALIE_GROUP_NAME` | str | `home` | Optional Mealie group name |
|
||||
| `EXTRA_PROMPT` | str | `` | Additional instructions for the AI |
|
||||
| `YTDLP_VERSION` | str | `latest` | yt-dlp version to download at startup |
|
||||
| `COOKIES` | str | `` | Optional cookies string for yt-dlp |
|
||||
| `env_vars` | list | `[]` | Additional environment variables to export |
|
||||
|
||||
### Example Configuration
|
||||
|
||||
```yaml
|
||||
OPENAI_URL: https://api.openai.com/v1
|
||||
OPENAI_API_KEY: sk-...
|
||||
TRANSCRIPTION_MODEL: whisper-1
|
||||
TEXT_MODEL: gpt-4o-mini
|
||||
MEALIE_URL: https://mealie.example.com
|
||||
MEALIE_API_KEY: ey...
|
||||
MEALIE_GROUP_NAME: home
|
||||
EXTRA_PROMPT: ""
|
||||
YTDLP_VERSION: latest
|
||||
COOKIES: ""
|
||||
env_vars: []
|
||||
```
|
||||
|
||||
### Notes
|
||||
|
||||
- Mealie 1.9.0+ with an AI provider configured is required.
|
||||
- yt-dlp can be pre-downloaded by setting `YTDLP_VERSION` (for example `latest` or `2025.11.01`).
|
||||
- Provide the cookies string if you need to access protected social media content with yt-dlp.
|
||||
70
social_to_mealie/apparmor.txt
Normal file
70
social_to_mealie/apparmor.txt
Normal file
@@ -0,0 +1,70 @@
|
||||
#include <tunables/global>
|
||||
|
||||
profile social_to_mealie_addon flags=(attach_disconnected,mediate_deleted) {
|
||||
#include <abstractions/base>
|
||||
|
||||
capability,
|
||||
file,
|
||||
signal,
|
||||
mount,
|
||||
umount,
|
||||
remount,
|
||||
network udp,
|
||||
network tcp,
|
||||
network dgram,
|
||||
network stream,
|
||||
network inet,
|
||||
network inet6,
|
||||
network netlink raw,
|
||||
network unix dgram,
|
||||
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
capability sys_admin,
|
||||
capability dac_read_search,
|
||||
capability dac_override,
|
||||
# capability sys_rawio,
|
||||
|
||||
# S6-Overlay
|
||||
/init ix,
|
||||
/run/{s6,s6-rc*,service}/** ix,
|
||||
/package/** ix,
|
||||
/command/** ix,
|
||||
/run/{,**} rwk,
|
||||
/dev/tty rw,
|
||||
/bin/** ix,
|
||||
/usr/bin/** ix,
|
||||
/usr/lib/bashio/** ix,
|
||||
/etc/s6/** rix,
|
||||
/run/s6/** rix,
|
||||
/etc/services.d/** rwix,
|
||||
/etc/cont-init.d/** rwix,
|
||||
/etc/cont-finish.d/** rwix,
|
||||
/init rix,
|
||||
/var/run/** mrwkl,
|
||||
/var/run/ mrwkl,
|
||||
/dev/i2c-1 mrwkl,
|
||||
# Files required
|
||||
/dev/fuse mrwkl,
|
||||
/dev/sda1 mrwkl,
|
||||
/dev/sdb1 mrwkl,
|
||||
/dev/nvme0 mrwkl,
|
||||
/dev/nvme1 mrwkl,
|
||||
/dev/mmcblk0p1 mrwkl,
|
||||
/dev/* mrwkl,
|
||||
/udev/* mrwkl,
|
||||
/tmp/** mrkwl,
|
||||
/dev/fuse/** mrkwl,
|
||||
/dev/** mrkwl,
|
||||
/sys/firmware/** mrkwl,
|
||||
|
||||
# Data access
|
||||
/data/** rw,
|
||||
|
||||
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
|
||||
ptrace (trace,read) peer=docker-default,
|
||||
|
||||
# docker daemon confinement requires explict allow rule for signal
|
||||
signal (receive) set=(kill,term) peer=/usr/bin/docker,
|
||||
|
||||
}
|
||||
6
social_to_mealie/build.json
Normal file
6
social_to_mealie/build.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"build_from": {
|
||||
"aarch64": "ghcr.io/gerardpollorebozado/social-to-mealie:latest",
|
||||
"amd64": "ghcr.io/gerardpollorebozado/social-to-mealie:latest"
|
||||
}
|
||||
}
|
||||
43
social_to_mealie/config.yaml
Normal file
43
social_to_mealie/config.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
name: Social to Mealie
|
||||
version: 0.1.0-3
|
||||
slug: social_to_mealie
|
||||
description: Import recipes from social media directly into Mealie
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
map:
|
||||
- addon_config:rw
|
||||
environment:
|
||||
PORT: "3000"
|
||||
image: ghcr.io/alexbelgium/social_to_mealie-{arch}
|
||||
init: false
|
||||
ports:
|
||||
3000/tcp: 3000
|
||||
ports_description:
|
||||
3000/tcp: Web interface
|
||||
options:
|
||||
OPENAI_URL: https://api.openai.com/v1
|
||||
OPENAI_API_KEY: ""
|
||||
TRANSCRIPTION_MODEL: whisper-1
|
||||
TEXT_MODEL: gpt-4o-mini
|
||||
MEALIE_URL: ""
|
||||
MEALIE_API_KEY: ""
|
||||
MEALIE_GROUP_NAME: home
|
||||
YTDLP_VERSION: latest
|
||||
env_vars: []
|
||||
schema:
|
||||
OPENAI_URL: str
|
||||
OPENAI_API_KEY: str
|
||||
TRANSCRIPTION_MODEL: str
|
||||
TEXT_MODEL: str
|
||||
MEALIE_URL: str
|
||||
MEALIE_API_KEY: str
|
||||
MEALIE_GROUP_NAME: str?
|
||||
EXTRA_PROMPT: str?
|
||||
YTDLP_VERSION: str?
|
||||
COOKIES: str?
|
||||
env_vars:
|
||||
- name: match(^[A-Za-z0-9_]+$)
|
||||
value: str?
|
||||
webui: "[PROTO:ssl]://[HOST]:[PORT:3000]"
|
||||
BIN
social_to_mealie/icon.png
Normal file
BIN
social_to_mealie/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
social_to_mealie/logo.png
Normal file
BIN
social_to_mealie/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
7
social_to_mealie/rootfs/etc/cont-init.d/99-run.sh
Executable file
7
social_to_mealie/rootfs/etc/cont-init.d/99-run.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/command/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
|
||||
bashio::log.info "Starting Social to Mealie"
|
||||
cd /app || bashio::exit.nok "App directory not found"
|
||||
/./app/entrypoint.sh node --run start
|
||||
10
social_to_mealie/updater.json
Normal file
10
social_to_mealie/updater.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"dockerhub_by_date": true,
|
||||
"dockerhub_list_size": 2,
|
||||
"last_update": "17-05-2025",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "social_to_mealie",
|
||||
"source": "github",
|
||||
"upstream_repo": "GerardPolloRebozado/social-to-mealie",
|
||||
"upstream_version": "0.1.0"
|
||||
}
|
||||
Reference in New Issue
Block a user