MeroAudiobook

CREATOR & SOURCE DOCUMENTATION

Publish your own audiobook source.

Anyone can bring open-license audiobooks, regional literature, or spoken-word feeds into Mero Audiobook using a single HTTPS link — with chapter progress, offline downloads, Chromecast, account sync, and shared playlists built right in.

01 Two Ways to Add a Source

In the Mero Audiobook app, open Shelf → Sources → + and paste any public https:// link. Mero automatically detects whether your link is an RSS / Atom XML feed or a Mero JSON Catalog:

Option A · Zero Setup

Podcast / Audiobook RSS XML

Already publish audio on Spotify for Creators (Anchor), Spreaker, Megaphone, LibriVox, Substack, or WordPress?

  • Paste your existing https:// RSS 2.0, RDF, or Atom XML feed URL directly into Mero.
  • Episodes, audio enclosures, artwork, durations, and show notes are imported automatically.
  • Ideal for serialized stories, literary podcasts, or single-feed shows.

02 3-Step Quickstart

Upload your audio files to any HTTPS host

Make sure each chapter audio file (.mp3, .m4a, .m4b, .ogg, .opus, .flac, or .wav) has a direct public https:// link — for example on Cloudflare R2, Internet Archive, or GitHub.

Build your catalog.json

Open the Interactive Source Builder, enter your collection name, add your audiobooks and chapter links (you can even bulk-paste 50 links at once), check the green validation badge, and click Download catalog.json.

Host catalog.json & paste the URL in Mero

Upload catalog.json to free static hosting (like Cloudflare Pages or GitHub Pages). Then open Mero Audiobook → Shelf → Sources → + and paste your https://.../catalog.json link.

Account Sync & Shared Playlists: When a listener is signed in with Google, Mero backs up their added source URLs to their account — logging in on a new phone restores their sources automatically. Even better, if a listener adds a book from your source into a shared playlist, recipients can open and listen to that book seamlessly.

03 Where & How to Host for Free

Mero requires all catalog, cover image, and audio URLs to use encrypted public https:// connections. You do not need a paid server — here are the best free places to host both your catalog.json file and your audio files:

A. Hosting your catalog.json file

  • Cloudflare Pages (Recommended): Completely free with fast global CDN caching and instant HTTPS.
    1. Put your downloaded catalog.json (and optional cover images) inside a folder on your computer.
    2. Sign in at dash.cloudflare.com → Workers & Pages → Create → Pages → Upload assets (or connect a Git repository).
    3. Deploy the folder. Your source URL is immediately live at https://your-project.pages.dev/catalog.json (or on your own custom domain).
  • GitHub Pages: Push catalog.json to a public GitHub repository, open repository Settings → Pages, and enable Pages from the main branch. Your clean URL will be:
    https://<username>.github.io/<repo-name>/catalog.json
  • GitHub Raw or GitHub Gist: You can also paste a direct raw file link from GitHub or Gist.
Important GitHub Tip — Use the Raw URL, not the Webpage URL!
Do not paste https://github.com/user/repo/blob/main/catalog.json (that page returns HTML). Click the Raw button on GitHub so your URL starts with:
https://raw.githubusercontent.com/user/repo/main/catalog.json

B. Hosting your audio files (.mp3, .m4b, .flac)

Your audio files do not have to live on the same server as catalog.json. Because static site hosts often cap individual file sizes (for instance, Cloudflare Pages limits single files to 25 MiB), we recommend storing larger audio recordings on object storage or open archives:

  • Cloudflare R2 (Best for custom collections): Includes a generous free tier (10 GB/month storage and zero egress bandwidth fees) plus full HTTP Range support for instant chapter seeking. Create an R2 bucket, upload your audio files, enable a Public R2.dev subdomain or custom domain in bucket settings, and copy the public https://pub-xxxx.r2.dev/... file URLs into your catalog.
  • Internet Archive (archive.org — Best for public domain & Creative Commons): Free permanent hosting for open-license spoken-word works. Upload your recordings and reference the direct file URL:
    https://archive.org/download/<item-identifier>/<chapter-01>.mp3
  • Backblaze B2 / Amazon S3 / DigitalOcean Spaces: Any public HTTPS bucket works out of the box. Ensure the bucket returns standard Content-Type (such as audio/mpeg or audio/mp4) and supports Accept-Ranges: bytes so scrubbing and single-file chapter offsets seek smoothly.
Avoid consumer “share preview” links: Links from Google Drive, Dropbox, or OneDrive sharing dialogs usually open an HTML viewer or temporary redirect page rather than streaming raw audio bytes with HTTP range support, which causes playback errors. Always use direct static/CDN HTTPS file links.

04 Multi-File vs. Single-File Audiobooks

Each book’s chapters array supports two clean ways to organize audio:

Pattern 1: One Audio File per Chapter

Each chapter points to its own .mp3 or .m4a URL. This is the classic format used by LibriVox and serialized recordings:

Multi-file chapters snippet
"chapters": [
  {
    "id": "ch-01",
    "title": "Chapter 1: Loomings",
    "url": "https://cdn.example.org/audio/moby-dick/ch01.mp3",
    "mime_type": "audio/mpeg",
    "duration_seconds": 1420
  },
  {
    "id": "ch-02",
    "title": "Chapter 2: The Carpet-Bag",
    "url": "https://cdn.example.org/audio/moby-dick/ch02.mp3",
    "mime_type": "audio/mpeg",
    "duration_seconds": 815
  }
]

Pattern 2: Single Audio File with Chapter Timestamps (.m4b or Full .mp3)

If your audiobook is a single long recording, point every chapter to the same url and specify start_time and end_time in seconds. Mero automatically clips playback to each chapter’s boundaries and downloads the shared file only once for offline listening!

Single-file timestamped chapters snippet
"chapters": [
  {
    "id": "part-1",
    "title": "Act I — Arrival",
    "url": "https://cdn.example.org/audio/winter-tales/full-book.m4b",
    "mime_type": "audio/mp4",
    "start_time": 0,
    "end_time": 912.5
  },
  {
    "id": "part-2",
    "title": "Act II — The Mountain Pass",
    "url": "https://cdn.example.org/audio/winter-tales/full-book.m4b",
    "mime_type": "audio/mp4",
    "start_time": 912.5,
    "end_time": 1845.0
  }
]

05 Complete JSON Schema Reference (v1.0)

Catalog files must be UTF-8 encoded JSON objects (up to 25 MB). Omit optional fields when unused instead of setting empty strings.

Top-Level Root Object

FieldStatusTypeDescription & Rules
schema_version Required string Set to "1.0" (matches 1.x).
catalog_version Required integer Integer >= 1. Increment this number (e.g. 1 → 2) whenever you add or edit books so Mero detects the update.
updated_at Optional string RFC 3339 UTC timestamp, e.g. "2026-11-08T12:00:00Z".
source Required object Metadata describing your catalog/channel (see table below).
audiobooks Required array List of audiobook objects (0 to 5,000 books).

source Object

FieldStatusTypeDescription & Rules
id Required string Stable 3–64 char lowercase identifier using letters, digits, dots, or hyphens (e.g. "org.shruti.nepali-audiobooks"). Keep permanent once published.
name Required string Display title shown in Mero (1–80 characters).
description Optional string Plain-text summary of your collection (up to 2,000 chars).
cover_url Optional string Square https:// image URL representing the source.
homepage_url Optional string Public https:// website for your project or organization.
update_url Optional string Canonical https:// URL for future refresh checks. If omitted, Mero automatically refreshes from the original URL the user added.
default_language Optional string BCP 47 language code applied to books that omit languages (e.g. "ne", "en", "hi", "en-US").
publisher Optional object { "name": "...", "url": "https://...", "email": "..." } (name required when publisher is included).

audiobooks[] Item Object

FieldStatusTypeDescription & Rules
id Required string Unique slug within this catalog (1–64 chars: A–Z, a–z, 0–9, _, ., -; must start with letter/digit, e.g. "muna-madan").
title Required string Book title (1–300 characters).
chapters Required array Ordered list of 1 to 1,000 chapter objects.
authors Optional string[] Up to 20 author names (1–100 chars each).
narrators Optional string[] Up to 20 narrator/reader names (1–100 chars each).
cover_url Optional string Book cover image https:// URL.
description Optional string Book synopsis (up to 20,000 characters).
languages Optional string[] BCP 47 codes for this book, e.g. ["ne"] or ["en"]. Inherits source.default_language if omitted.
subjects Optional string[] Up to 50 genre/topic tags (must not contain semicolons ;).
publication_date Optional string YYYY, YYYY-MM, or YYYY-MM-DD (e.g. "1936" or "2024-05-12").
publisher / license Optional string Publisher name (<= 120 chars) and license label such as "Public Domain" or "CC BY 4.0" (<= 100 chars).
web_url Optional string Companion https:// web page for credits or text.
explicit Optional boolean Defaults to false.
rating Optional object { "average": 4.8, "count": 42 } (average 1.0–5.0, integer count >= 1).

chapters[] Item Object

FieldStatusTypeDescription & Rules
id Required string Unique slug within this audiobook (e.g. "ch-01"). Keep stable so resume positions stay intact across updates.
title Required string Chapter title (1–300 characters).
url Required string Direct public https:// audio stream/download URL.
mime_type Optional string Defaults to "audio/mpeg". Allowed: audio/mpeg, audio/mp4, audio/aac, audio/ogg, audio/opus, audio/flac, audio/wav.
start_time / end_time Optional number Start (>= 0) and end (> start_time) offsets in seconds for single-file audiobooks.
duration_seconds Optional number Duration in seconds (0 < n <= 86400). Auto-computed when start_time & end_time are provided.
size_bytes Optional integer File size in bytes (>= 1) for download size estimates.

06 Publishing Updates & Auto-Refresh

Adding new books or fixing typos later is effortless:

  1. Open the Source Builder, click Import JSON, and load your current catalog.json.
  2. Add your new audiobooks or chapters, and click Bump Version (+1) so catalog_version increases (for example from 1 to 2).
  3. Keep existing source.id, audiobook.id, and chapter.id values unchanged — Mero uses those IDs to preserve every listener’s playback position, shelf heart, and offline downloads!
  4. Upload the updated catalog.json to the same URL.

How Mero refreshes feeds: Listeners can choose their preferred auto-update schedule inside Shelf → Sources (such as every 2 hours, 6 hours, 12 hours, 24 hours, or manual refresh) and can even customize the schedule per source. Mero sends lightweight If-None-Match (ETag) and If-Modified-Since headers so unchanged catalogs consume virtually zero bandwidth.

07 Complete Copyable catalog.json Example

Here is a complete, production-valid catalog demonstrating both a multi-file audiobook and a single-file timestamped audiobook:

catalog.json (Schema v1.0)
{
  "schema_version": "1.0",
  "catalog_version": 1,
  "updated_at": "2026-11-08T12:00:00Z",
  "source": {
    "id": "org.example.himalayan-classics",
    "name": "Himalayan Open Classics",
    "description": "Public-domain literature and folk stories from Nepal and South Asia.",
    "cover_url": "https://cdn.example.org/covers/source-logo.jpg",
    "homepage_url": "https://example.org",
    "default_language": "ne",
    "publisher": {
      "name": "Himalayan Open Audio Project",
      "url": "https://example.org",
      "email": "[email protected]"
    }
  },
  "audiobooks": [
    {
      "id": "aaja-ramita-cha",
      "title": "Aaja Ramita Cha",
      "authors": ["Indra Bahadur Rai"],
      "narrators": ["Achyut Ghimire"],
      "cover_url": "https://cdn.example.org/covers/aaja-ramita-cha.jpg",
      "description": "A landmark Nepali novel set in Darjeeling exploring community and change.",
      "languages": ["ne"],
      "subjects": ["Novel", "Fiction", "Nepali Literature"],
      "publication_date": "1964",
      "license": "Open Collection",
      "chapters": [
        {
          "id": "ep-01",
          "title": "Episode 1 — Opening",
          "url": "https://cdn.example.org/audio/aaja-ramita-cha/ep-01.mp3",
          "mime_type": "audio/mpeg",
          "duration_seconds": 1680
        },
        {
          "id": "ep-02",
          "title": "Episode 2 — Market Day",
          "url": "https://cdn.example.org/audio/aaja-ramita-cha/ep-02.mp3",
          "mime_type": "audio/mpeg",
          "duration_seconds": 1745
        }
      ]
    },
    {
      "id": "folk-tales-collection",
      "title": "Evening Folk Tales (Single-File Edition)",
      "authors": ["Traditional"],
      "languages": ["en"],
      "subjects": ["Folklore", "Short Stories"],
      "license": "Public Domain",
      "chapters": [
        {
          "id": "story-1",
          "title": "Story 1: The River Merchant",
          "url": "https://cdn.example.org/audio/folk-tales/complete.m4b",
          "mime_type": "audio/mp4",
          "start_time": 0,
          "end_time": 840
        },
        {
          "id": "story-2",
          "title": "Story 2: The Banyan Tree",
          "url": "https://cdn.example.org/audio/folk-tales/complete.m4b",
          "mime_type": "audio/mp4",
          "start_time": 840,
          "end_time": 1920
        }
      ]
    }
  ]
}

Customize in Interactive Source Builder →

08 Validation Rules & Troubleshooting

  • “The URL did not return valid JSON”: Make sure your link returns raw JSON or XML rather than an HTML web page (on GitHub, click Raw so the domain is raw.githubusercontent.com).
  • “URL must use HTTPS” / “local or private network address”: Plain http:// links, embedded passwords (user:pass@), localhost, and private LAN IPs (192.168.x.x, 10.x.x.x) are blocked for listener security.
  • “source.id must be 3–64 lowercase characters”: Use only lowercase letters, numbers, dots, and hyphens — for example org.myproject.books (no spaces or uppercase letters).
  • “subjects must not contain semicolons”: Separate genres as individual array strings (["Novel", "History"]) rather than joining them with ;.
  • Maximum feed size: Catalog JSON and RSS XML responses may be up to 25 MB uncompressed (large enough for thousands of audiobooks or podcast episodes).