From abd8a75fad14b9bb6b7e38d8944f54f5a2cfbfab Mon Sep 17 00:00:00 2001 From: Jasper <7660824+ceramicwhite@users.noreply.github.com> Date: Fri, 23 Dec 2022 07:45:33 -0800 Subject: [PATCH] App Submission: Audiobookshelf (#302) Co-authored-by: Steven Briscoe --- audiobookshelf/data/config/.gitkeep | 0 audiobookshelf/data/metadata/.gitkeep | 0 audiobookshelf/docker-compose.yml | 27 +++++++++++ audiobookshelf/exports.sh | 16 +++++++ audiobookshelf/umbrel-app.yml | 64 +++++++++++++++++++++++++++ 5 files changed, 107 insertions(+) create mode 100644 audiobookshelf/data/config/.gitkeep create mode 100644 audiobookshelf/data/metadata/.gitkeep create mode 100644 audiobookshelf/docker-compose.yml create mode 100644 audiobookshelf/exports.sh create mode 100644 audiobookshelf/umbrel-app.yml diff --git a/audiobookshelf/data/config/.gitkeep b/audiobookshelf/data/config/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/audiobookshelf/data/metadata/.gitkeep b/audiobookshelf/data/metadata/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/audiobookshelf/docker-compose.yml b/audiobookshelf/docker-compose.yml new file mode 100644 index 0000000..c79f3c4 --- /dev/null +++ b/audiobookshelf/docker-compose.yml @@ -0,0 +1,27 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: audiobookshelf_web_1 + APP_PORT: 80 + + web: + image: ghcr.io/advplyr/audiobookshelf:2.2.8@sha256:7b47d1b679bf0a884636fad7900390ee9880345b9377057f052f9066a4987d85 + user: 1000:1000 + init: true + restart: on-failure + stop_grace_period: 1m + healthcheck: + disable: true + environment: + - CONFIG_PATH=/home/node/config + - METADATA_PATH=/home/node/metadata + - AUDIOBOOKSHELF_UID=1000 + - AUDIOBOOKSHELF_GID=1000 + volumes: + - ${APP_DATA_DIR}/data/config:/home/node/config + - ${APP_DATA_DIR}/data/metadata:/home/node/metadata + - ${UMBREL_ROOT}/data/storage/downloads/audiobooks:/audiobooks + - ${UMBREL_ROOT}/data/storage/downloads/podcasts:/podcasts + diff --git a/audiobookshelf/exports.sh b/audiobookshelf/exports.sh new file mode 100644 index 0000000..d7747cc --- /dev/null +++ b/audiobookshelf/exports.sh @@ -0,0 +1,16 @@ +UMBREL_DATA_DIR="${UMBREL_ROOT}/data" +UMBREL_DATA_STORAGE_AUDIOBOOKS_DIR="${UMBREL_DATA_DIR}/storage/downloads/audiobooks" +UMBREL_DATA_STORAGE_PODCASTS_DIR="${UMBREL_DATA_DIR}/storage/downloads/podcasts" +DESIRED_OWNER="1000:1000" + +if [[ ! -d "${UMBREL_DATA_STORAGE_AUDIOBOOKS_DIR}" ]]; then + mkdir -p "${UMBREL_DATA_STORAGE_AUDIOBOOKS_DIR}" + + chown "${DESIRED_OWNER}" "${UMBREL_DATA_STORAGE_AUDIOBOOKS_DIR}" +fi + +if [[ ! -d "${UMBREL_DATA_STORAGE_PODCASTS_DIR}" ]]; then + mkdir -p "${UMBREL_DATA_STORAGE_PODCASTS_DIR}" + + chown "${DESIRED_OWNER}" "${UMBREL_DATA_STORAGE_PODCASTS_DIR}" +fi \ No newline at end of file diff --git a/audiobookshelf/umbrel-app.yml b/audiobookshelf/umbrel-app.yml new file mode 100644 index 0000000..82b2e1a --- /dev/null +++ b/audiobookshelf/umbrel-app.yml @@ -0,0 +1,64 @@ +manifestVersion: 1 +id: audiobookshelf +name: Audiobookshelf +tagline: Audiobook and podcast server +category: Media +version: "2.2.8" +port: 13378 +description: >- + Features: + + + - Fully open-source, including the android & iOS app (in beta) + + - Stream all audio formats on the fly + + - Search and add podcasts to download episodes w/ auto-download + + - Multi-user support w/ custom permissions + + - Keeps progress per user and syncs across devices + + - Auto-detects library updates, no need to re-scan + + - Upload books and podcasts w/ bulk upload drag and drop folders + + - Backup your metadata + automated daily backups + + - Progressive Web App (PWA) + + - Chromecast support on the web app and android app + + - Fetch metadata and cover art from several sources + + - Chapter editor and chapter lookup (using Audnexus API) + + - Merge your audio files into a single m4b + + - Embed metadata and cover image into your audio files (using Tone) + + - Basic ebook support and e-reader (experimental) + + + Android App (beta) + + - Try it out on the Google Play Store + + + iOS App (early beta) + + - Available using Test Flight: https://testflight.apple.com/join/wiic7QIW +developer: advplyr +website: https://audiobookshelf.org +repo: https://github.com/advplyr/audiobookshelf +support: https://discord.gg/pJsjuNCKRq +gallery: + - 1.jpg + - 2.jpg + - 3.jpg +dependencies: [] +path: "" +defaultUsername: "" +defaultPassword: "" +submitter: Jasper +submission: https://github.com/getumbrel/umbrel-apps/pull/302 \ No newline at end of file