How kodjodevf/mangayomi works
Mangayomi is a cross-platform Flutter reader for manga, novels, anime, and related media. The README establishes the user workflow and capabilities, but the supplied tree contains no Flutter/Dart application sources, so the UI, library, reader, tracking, categories, and backup implementation cannot be mapped directly. The graph therefore focuses on visible native runtime pieces: the documented content workflow, native Aidoku source engine and HTTP API, EPUB support, and platform bridges. Links to unsampled product stages are documented at a high level; unverified implementation connections are omitted.
Main entry points: aidoku_wasm.rs Aidoku source API · host_html.rs HTML and selectors · client.rs HTTP client API · frb_generated.rs Flutter-Rust bridge
Components 25
Content experience
- Find content
- Open media
- Read or watch
- Local content
- Reader settings
- Library categories
- Media tracking
- Backup and restore
Source runtime
- Aidoku source API
rust/src/api/aidoku_wasm.rs - WASM interpreter
rust/src/aidoku_wasm/interpreter.rs - JavaScript host
rust/src/aidoku_wasm/host_js.rs - Network host
rust/src/aidoku_wasm/host_net.rs - HTML and selectors
rust/src/aidoku_wasm/host_html.rs - Source storage
rust/src/aidoku_wasm/store.rs - Selector support
rust/src/aidoku_wasm/selector.rs
Native services
- HTTP client API
rust/src/api/rhttp/client.rs - HTTP transport
rust/src/api/rhttp/http.rs - EPUB parser
rust/src/api/epub.rs - RAR support
rust/src/api/rar.rs - Flutter-Rust bridge
rust/src/frb_generated.rs - Image decoding
lib/ffi/image_decoder.cpp - Torrent server
go/server.go - Platform app host
ios/Runner/AppDelegate.swift - HTTP errors
rust/src/api/rhttp/error.rs
Other components
- Reader
Connections 19
- Reader → Find content: seeks media
- Find content → Open media: selects title
- Open media → Read or watch: opens media
- Reader → Local content: chooses local
- Reader → Reader settings: configures reader
- Reader → Library categories: organizes titles
- Reader → Media tracking: tracks progress
- Reader → Backup and restore: backs up library
- Aidoku source API → WASM interpreter: runs source
rust/src/api/aidoku_wasm.rs - Aidoku source API → JavaScript host: uses host API
rust/src/api/aidoku_wasm.rs - Aidoku source API → Network host: uses host API
rust/src/api/aidoku_wasm.rs - HTML and selectors → Source storage: reads and writes
rust/src/aidoku_wasm/host_html.rs - HTML and selectors → Selector support: uses selectors · Inferred; not shown in the code that was read.
rust/src/aidoku_wasm/host_html.rs - HTTP client API → HTTP transport: sends requests
rust/src/api/rhttp/http.rs - HTTP client API → HTTP errors: returns errors
rust/src/api/rhttp/client.rs - Flutter-Rust bridge → Aidoku source API: dispatches calls
rust/src/frb_generated.rs - Flutter-Rust bridge → EPUB parser: dispatches parse
rust/src/frb_generated.rs - Read or watch → Image decoding: decodes images · Inferred; not shown in the code that was read.
- Platform app host → Torrent server: integrates service · Inferred; not shown in the code that was read.