From 9d2f9a2d6bfb6cbe01a8f67245dc278a5ca454e5 Mon Sep 17 00:00:00 2001 From: Michael Kinder <60057409+FoggyMtnDrifter@users.noreply.github.com> Date: Sun, 22 Nov 2026 10:21:22 -0500 Subject: [PATCH] Add Storyteller --- apps/storyteller/README.md | 19 +++++++++++++++++++ apps/storyteller/cottage.yml | 17 +++++++++++++++++ apps/storyteller/icon.svg | 1 + apps/storyteller/template.yml | 28 ++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 apps/storyteller/README.md create mode 100644 apps/storyteller/cottage.yml create mode 100644 apps/storyteller/icon.svg create mode 100644 apps/storyteller/template.yml diff --git a/apps/storyteller/README.md b/apps/storyteller/README.md new file mode 100644 index 0000000..50464b9 --- /dev/null +++ b/apps/storyteller/README.md @@ -0,0 +1,19 @@ +## First login + +The first visit asks you to create the admin account, so until you've done that only you can open the app. Open it from your Cottage dashboard, fill in your name, email address, username and password, then choose **Done** on the app's page so anyone you share the address with can reach it. + +## Your first synced book + +Choose **Add books → Upload books** and upload the EPUB together with its audiobook files. Storyteller then transcribes the audio and matches it to the text, which takes a while: on Cottage's CPUs, expect roughly as long as the audiobook itself, sometimes longer. You can close the page; it carries on and shows its progress on the book. + +When it's done, download the synced EPUB or open it in the Storyteller app. + +## Readers and apps + +Invite readers under **Users**, choosing what each one may do. Outbound mail ports are blocked on Cottage, so the invite email won't arrive: copy the invite link shown in the list and send it yourself. + +The Storyteller apps for iOS and Android ask for a server address: enter your app's full address, starting with `https://`. + +## Export your data + +Every book's page lets you download the synced EPUB, which plays in any reader that supports read-along audio. Cottage also keeps nightly backups of the whole app. diff --git a/apps/storyteller/cottage.yml b/apps/storyteller/cottage.yml new file mode 100644 index 0000000..94f983e --- /dev/null +++ b/apps/storyteller/cottage.yml @@ -0,0 +1,17 @@ +name: Storyteller +tagline: Read along while you listen, with ebooks synced to their audiobooks. +category: Reading +description: >- + Upload an ebook and its audiobook, and Storyteller lines them up sentence by + sentence using speech recognition that runs on your own server. Read in the + browser or the Storyteller apps for iOS and Android, and switch between + reading and listening without losing your place. +upstream: https://gitlab.com/storyteller-platform/storyteller +website: https://storyteller-platform.dev +license: MIT +images: + - ref: registry.gitlab.com/storyteller-platform/storyteller:web-v2.14.23 + digest: sha256:1ae16005572519f56abac2d65ab879d20115cd257fde7e89cf739ea82aed4de3 +mobile_apps: true +# The first visit creates the admin account. +first_visit_claims_admin: true diff --git a/apps/storyteller/icon.svg b/apps/storyteller/icon.svg new file mode 100644 index 0000000..404db8c --- /dev/null +++ b/apps/storyteller/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/storyteller/template.yml b/apps/storyteller/template.yml new file mode 100644 index 0000000..b46c0c8 --- /dev/null +++ b/apps/storyteller/template.yml @@ -0,0 +1,28 @@ +# Storyteller: syncs audiobooks with their ebooks so you can read and listen together. +x-harbor: + slug: storyteller + name: Storyteller + description: Self-hosted platform for synced audiobooks and ebooks. + version: "2.14.23-c1" + primary: { service: app, port: 8001 } + health_path: /api/health + default_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 20480 } + min_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 5120 } + volumes: + data: { uid: 1000, gid: 1000, mode: "0750" } + parameters: + - { key: SECRET_KEY, label: Secret key, type: string, secret: true, generate: random32 } + +services: + app: + image: registry.gitlab.com/storyteller-platform/storyteller:web-v2.14.23 + user: "1000:1000" + environment: + # The entrypoint only allows a fixed user when this is set; uid 1000 is + # the image's own storyteller user, and Cottage hands it the data volume. + FORCE_USER_SETTING: "1" + STORYTELLER_SECRET_KEY: ${SECRET_KEY} + volumes: [ "data:/data" ] + +volumes: + data: