Skip to content
 
 

Repository files navigation

📚 TachiyomiX

Tachiyomi-based extensions library used in Mihon.

📦 Usage

Add jitpack.io repository to your root build.gradle.kts file:

dependencyResolutionManagement {
    repositories {
        maven(url = "https://www.jitpack.io")
    }
}

Then add the dependency:

dependencies {
    compileOnly("com.github.mihonapp:tachiyomix:1.6")
}

Note

compileOnly is used because tachiyomix provides stub interfaces only. The actual implementations are included in the host app.

📜 Extension Manifest Requirements

Extensions are required to declare the following features and metadata to be correctly recognized and loaded in the app.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-feature android:name="tachiyomi.extension" />
    <application>
        <!-- The display name of the extension -->
        <meta-data android:name="tachiyomix.name" android:value="Mihon Manga" />

        <!-- Content Rating: 0 = Safe, 1 = Mixed, 2 = NSFW -->
        <meta-data android:name="tachiyomix.contentWarning" android:value="0" />

        <!-- Target library version -->
        <meta-data android:name="tachiyomix.extensionLib" android:value="1.6" />

        <!-- The fully qualified (or relative to package name) class name of the extension -->
        <meta-data android:name="tachiyomi.extension.class" android:value=".Mihon" />
    </application>
</manifest>

🔧 App Requirements

Host apps using tachiyomix should have a min sdk of 26 and must include the following dependencies (or newer compatible versions) to ensure compatibility with version 1.6:

Dependency Artifact(s) Version
Kotlin org.jetbrains.kotlin:kotlin-stdlib 2.4.0
kotlinx.coroutines org.jetbrains.kotlinx:kotlinx-coroutines-core 1.11.0
kotlinx.serialization org.jetbrains.kotlinx:kotlinx-serialization-json
org.jetbrains.kotlinx:kotlinx-serialization-json-okio
org.jetbrains.kotlinx:kotlinx-serialization-protobuf
1.11.0
OkHttp com.squareup.okhttp3:okhttp
com.squareup.okhttp3:okhttp-brotli
com.squareup.okhttp3:okhttp-zstd
5.5.0
jsoup org.jsoup:jsoup 1.23.1
Injekt com.github.mihonapp:injekt 91edab2317

📄 License

TachiyomiX is distributed under the Mozilla Public License 2.0.

The contents of the library directory are licensed under the Apache License 2.0.

About

Stubs used for extensions in Mihon 0.x.

Resources

Stars

31 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages