How awerkori/fonte-extensoes works
Keiyoushi Extensions is a repository of manga and comic source extensions, including standalone sources and shared multisource implementations, intended for use through an extension-hosting reader. The principal workflow is a reader invoking a source to search or list titles, retrieve title and chapter details, and obtain page/image data from a provider. The repository also supplies shared source, networking, parsing, and WebView runtime support. Most individual source implementations were not sampled, so their detailed call paths are not asserted; dashed links mark that limitation.
Main entry points: KeiSource.kt Source contract · src Standalone sources · lib-multisrc Multisource adapters · Madara.kt Madara sources
Components 16
Source adapters
- Standalone sources
src - Multisource adapters
lib-multisrc
Shared sources
- Madara sources
lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt - InitManga sources
lib-multisrc/initmanga/src/eu/kanade/tachiyomi/multisrc/initmanga/InitManga.kt - MangaThemesia sources
lib-multisrc/mangathemesia/src/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesia.kt - GigaViewer sources
lib-multisrc/gigaviewer/src/eu/kanade/tachiyomi/multisrc/gigaviewer/GigaViewer.kt
Core runtime
- Source contract
core/src/main/kotlin/keiyoushi/source/KeiSource.kt - Source annotation
core/src/main/kotlin/keiyoushi/annotation/Source.kt - HTTP client
core/src/main/kotlin/keiyoushi/network/OkHttp.kt - Filter cache
core/src/main/kotlin/keiyoushi/source/KeiSource.kt
Runtime helpers
- JSON helpers
core/src/main/kotlin/keiyoushi/utils/JsonElement.kt - WebView runtime
core/src/main/kotlin/keiyoushi/utils/WebView.kt - WebView bridge
core/src/main/kotlin/keiyoushi/webview/internal/WebViewGlueBridge.kt
Other components
- Reader app
- Content providers
- Extension repository
Connections 14
- Reader app → Extension repository: adds repository
README.md - Reader app → Standalone sources: invokes source
- Reader app → Multisource adapters: invokes source
- Standalone sources → Content providers: requests content
- Multisource adapters → Content providers: requests content
- Standalone sources → Source contract: implements source
src/en/allanime/src/eu/kanade/tachiyomi/extension/en/allanime/AllManga.kt - Multisource adapters → Source contract: implements source
lib-multisrc/initmanga/src/eu/kanade/tachiyomi/multisrc/initmanga/InitManga.kt - Madara sources → Source contract: extends source
lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt - InitManga sources → Source contract: extends source
lib-multisrc/initmanga/src/eu/kanade/tachiyomi/multisrc/initmanga/InitManga.kt - MangaThemesia sources → Source contract: extends source
lib-multisrc/mangathemesia/src/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesia.kt - GigaViewer sources → Source contract: extends source
- Source contract → JSON helpers: uses JSON helpers
core/src/main/kotlin/keiyoushi/source/KeiSource.kt - Source contract → Filter cache: reads and writes
core/src/main/kotlin/keiyoushi/source/KeiSource.kt - WebView runtime → WebView bridge: configures bridge
core/src/main/kotlin/keiyoushi/utils/WebView.kt