Dokumentation ansehen

Book sources user & debugging guide

How to responsibly add ORSP and Reading 3.0 sources, browse Discovery, use Exact/Fuzzy search, sign in, switch sources, read multimedia, and export redacted debug logs.

Auf dieser Seite

Origo X is a pure reading client: it ships no preinstalled sources and never operates, recommends, or endorses third-party source services. Every source is added and controlled by you. This guide walks through day-to-day usage of both ORSP (Origo Source Protocol) sources and Reading 3.0 (Legado) compatible sources.

If you build or host sources yourself, see Meet Origo Source, the ORSP API Reference, and Legado Compatibility.

Responsible & lawful usage

Before enabling or adding sources for the first time, Origo X asks you to complete a local responsibility acknowledgment and enforces content-rights checks by default:

  • Authorized access only: Confirm that you are authorized to access the content and will not use sources to bypass sign-in, paywalls, DRM, or other access controls.
  • Keep upstream credentials server-side: Add only sources you trust. When a rightsholder restriction or notice applies to a site or work, Origo X surfaces the notice in book details or at the request boundary; your locally imported EPUB/TXT/PDF files are never affected.
  • Terms & issue reporting: Review the Book Source Terms & Content Rights before importing, and report client bugs or compatibility issues on GitHub Issues.

Adding & importing sources

Open Discover → Source Management (gear icon) → Add source and choose either protocol path:

1. Add an ORSP discovery URL

  • Paste a site's base URL (such as https://books.example.org) or its full /.well-known/origo-source.json discovery URL.
  • Origo X detects protocol: "origo-source" (plus legacy open-reading-source), inspects operator metadata and declared capabilities, and registers the source.

2. Import Reading 3.0 (Legado) JSON files or subscription URLs

  • Import local .json files or HTTP(S) subscription URLs (including nested URL lists up to 50 URLs / depth 2, up to 32 MiB per payload), as well as legado://, yuedu://, and xxread:// import links.
  • Deduplication & review panel: Before saving, Origo X analyzes rules and opens the Review & import panel. It deduplicates entries across Exact, Standard, and Site review modes (favoring higher compatibility and richer capabilities) and summarizes runnable text vs. comic vs. unrunnable sources so you can select all, invert selection, or uncheck entries before committing.
  • Managing large batches: Community Reading 3.0 bundles often contain dozens or hundreds of entries. After importing a large collection, keep only the reliable sources enabled—use Select sources → Enable selected / Disable selected in Source Management to leave the rest disabled without deleting them. Aggregate search also defaults to scanning up to 300 enabled sources (configurable from 20 to 2000 in search settings) to conserve battery and network bandwidth.

Health checks & status badges

From Source Management, run Find duplicates (100% offline comparison; disables duplicates while preserving configs) or Clean up sources / Check health (probes search, discover, book info, catalog, and chapter content, or run Check health on an individual card):

  • Source cards display clear status pills: Fully available, Partially broken, Check timed out, Missing runnable rules, and Source sign-in (when login is declared).
  • Diagnostic breakdowns distinguish network/server unavailability, sign-in/verification barriers, rule/script errors, and inconclusive samples. Disabling a source pauses its participation in Discovery and Search while preserving its configuration and saved sign-in session.

Browsing Discovery

Discovery uses a single focused layout with a compact top toolbar (Source options, Source sign-in, Search within source, and Source management) flanking the active source button:

  • Two-level category navigation:
    • ORSP sources display a section bar (Featured / Categories / Latest) matching the capabilities advertised in the discovery manifest.
    • Legado-compatible sources display their declared explore channels directly. When a source groups categories with section headings, Origo X renders a two-row horizontal pill bar (group row + in-group category row) that smoothly collapses as you scroll down and expands on scroll up; tap All on the right to open the searchable grouped category grid.
  • Half-sheet source picker: Tap the source title in the top bar to open a searchable half-sheet list with All / Novel / Comic / Audio / Favorites tabs (plus Aggregate whenever aggregate sources are present) and your custom groups. Tap the star to favorite a source, or long-press any row to move to top, edit groups, sign in, edit rules, debug, disable (with undo), or remove.

Unified Aggregate Search

Tap Search in the floating navigation bar or sidebar for cross-library and cross-source search, or tap the search icon in Discovery to search the active source:

  • Instant local shelf + concurrent source results: As you type, Origo X matches books already in your local Library. Submitting queries enabled sources concurrently (defaults: concurrency 8, 15s multi-source timeout, 16s single-source timeout, 300-source cap—all tunable in search settings) and groups matching titles/authors across sources.
  • Zero-latency Exact / Fuzzy toggle: Toggle the Exact pill in the search header to filter results in-memory in 0 ms without re-running network requests. Exact matching normalizes Chinese title brackets (《》) and common author prefixes/suffixes, keeping only exact title or author matches. If Exact mode hides fuzzy results, an inline banner or fallback card lets you switch back with one tap (Show all / Show N fuzzy results).
  • Per-source & multi-site filtering: Scope a search to one source, or filter by a specific sub-site (All sites vs. a single site) on aggregate sources.
  • Single-source failure isolation: Timeouts or HTTP errors from individual sources never discard results from healthy sources. A failure summary banner lets you View the failing sources or Retry only the failed batch.

Book source sign-in & session security

Some sources or aggregate sites require an account or website cookies to browse catalogs or read chapters:

  • Adaptive loginUi forms & in-app website login: Open Source sign-in (from the Discovery key button, long-press menu, or source card). Origo X renders adaptive Flex card fields, inline labels, Emoji/semantic action grids, and linked toggle switches declared by loginUi. If the source provides a website login URL, tap Open website to sign in to sign in inside the built-in browser and save cookies/localStorage (supported on Android, iPhone, iPad, Mac, and Windows).
  • Local encrypted storage: Credentials, cookies, and site storage are isolated per source in your device's system secure storage (Keychain / Keystore), never uploaded or shared across sources.
  • Safe session clearing: Network outages never erase your saved session. To log out or reset cookies intentionally, tap Clear sign-in session at the bottom of the sign-in screen.

Online reading, caching & adding to bookshelf

Opening a book opens Book Details, which shows SWR-cached metadata/catalog immediately while refreshing quietly in the background:

  • Read online directly: Tap Read now to start reading immediately without adding the book to your shelf; your reading position is still recorded locally.
  • Add to bookshelf & offline caching: Tap Add to bookshelf to track reading progress, enable automatic update checks, and sync shelf metadata across devices (Official Cloud Sync V3 syncs shelf progress and optionally source definitions; source configs can be managed separately). Tap Download chapters to cache chapters via the background download queue (on iOS 16.2+, active book downloads display Lock Screen and Dynamic Island Live Activities).

Switching sources & checking for updates

Switching sources (Switch source)

Open Switch source from the reader or Book Details to use the two-step Find sources → Confirm switch flow:

  1. Find sources: Automatically searches using the current title (with Verify author on by default), checking an initial batch of 60 sources (up to 12 candidates, auto-continuing once if fewer than 3 are found) while concurrently probing candidate details and catalogs (up to 3 concurrent, 15s cap). Sort by Recommended / Fastest / Most chapters and inspect or retry failed sources separately.
  2. Confirm switch: Selecting a candidate verifies Book details → Catalog → Mapped chapter content and clearly shows whether alignment is by exact chapter title, chapter number, or estimated position. The confirm button activates only after the target chapter body is verified readable; your existing binding stays untouched until you confirm. Works for both online books and bound local TXT files (preserving local text and reading position).

Checking for chapter updates

  • Automatic due checks: While the Library tab is visible and idle, Origo X runs adaptive catalog-only checks—every 30 minutes for books updated within 24 hours, every 2 hours for books quiet 1–7 days, and every 6 hours for older books (fetching catalogs only, never chapter bodies).
  • Manual checks & badges: Pull to refresh on the Library tab or tap Check for updates in Book Details / reader book settings to force a catalog refresh. New chapters show an unread count badge (1–99 or 99+) or update icon; opening the updated catalog in the reader clears the badge. For source-bound local TXT books, Download new chapters appends newly published chapters cleanly to the local file.

Multi-modal reading (illustrations, paragraph comments, comics, audio & video)

Origo X routes each source book to the appropriate reader automatically:

  • Inline illustrations: Novel chapters with <img> tags render inline artwork; tap any image for a full-screen viewer with double-tap and pinch-to-zoom.
  • Paragraph comments (本章说 & 神评): Compatible sources that emit paragraph comment bubbles or 神评 / 本章说 cards render compact count bubbles at paragraph ends; tap to open the 70%-height comment sheet. Toggle visibility anytime under online reader Layout → Comments without re-fetching the chapter.
  • Comics: Image-sequence and comic sources open in ComicReaderPage with independent reading direction, image fit, edge-back gesture, and four-corner floating status capsules (page, clock, battery).
  • Audio & Video: Recorded audio (audio/uri) and video sources use the unified media playback engine with chapter auto-advance, playback speed, sleep timer, lock-screen controls, and automatic URL refresh on expired-stream errors.

LAN & localhost sources (Allow private-network sources)

To protect against SSRF attacks against local services, Origo X blocks book-source requests to 127.0.0.1, localhost, private LAN subnets (192.168.x.x, 10.x.x.x, etc.), and other private ranges by default.

If you host a local or LAN source (for example, running the source-building starter on port 8787 or a home NAS), enable Allow private-network sources in settings (enabled by default in Pro / Explore builds). Only enable and use local/LAN sources that you personally trust.

Built-in Source Debugger & redacted log export

When a source returns no search hits, breaks on catalogs, or fails to parse chapters, use the built-in Source debugger:

  1. Open the debugger: Choose Debug from a Source Management card menu, the Discovery picker's long-press menu, or the Source Edit screen.
  2. Trace every stage: Enter a search keyword (runs Search → Book details → Catalog → First chapter content) or paste a direct book/catalog/chapter URL (skips Search), then tap Run to watch each HTTP request, status code, latency, and parse step in real time. Tap Stop anytime or Clear log after a run finishes.
  3. Export redacted logs: Tap Export debug log in the top-right corner to Copy all or Save file (a UTF-8 .txt report capped at 1 MiB).
    • Privacy & redaction boundaries: Exports and single-response copies automatically strip URL userinfo, query parameter values, and fragments, and mask credentials, Cookie/Authorization headers, Bearer/Basic tokens, and HTML scripts/form values. Include response samples is off by default; if you opt in, review the file before sharing since book text or free-form responses may contain sensitive details. Logs stay strictly local and are never uploaded automatically.

Fehler in dieser Anleitung gefunden? Korrektur vorschlagen