Manga parsers library for Kotlin/JVM and Android https://kotatsu.app
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Saksham Shekher e38bdd39bf
Manga Isekai
4 years ago
.github [Issue template] Update 4 years ago
.idea Initial commit 4 years ago
gradle/wrapper Initial commit 4 years ago
kotatsu-parsers-ksp Check MangaSource locale and name 4 years ago
src Manga Isekai 4 years ago
.editorconfig Initial commit 4 years ago
.gitignore Improve unit tests 4 years ago
LICENSE Initial commit 4 years ago
README.md Update readme 4 years ago
build.gradle Update dependencies 4 years ago
gradle.properties Initial commit 4 years ago
gradlew Initial commit 4 years ago
gradlew.bat Initial commit 4 years ago
settings.gradle Add ksp to generate MangaSource enum 4 years ago

README.md

Kotatsu parsers

Library that provides manga sources.

Kotlin License Discord

Usage

  1. Add it in your root build.gradle at the end of repositories:

    allprojects {
        repositories {
    	    ...
    	    maven { url 'https://jitpack.io' }
        }
    }
    
  2. Add the dependency

    For Java/Kotlin project:

    dependencies {
        implementation("com.github.nv95:kotatsu-parsers:$parsers_version")
    }
    

    For Android project:

    dependencies {
        implementation("com.github.nv95:kotatsu-parsers:$parsers_version") {
            exclude group: 'org.json', module: 'json'
        }
    }
    

    See for versions at JitPack

  3. Usage in code

    val parser = MangaSource.MANGADEX.newParser(mangaLoaderContext)
    

    mangaLoaderContext is an implementation of the MangaLoaderContext class. See Android and Non-Android implementation examples.

    Note that the MangaSource.LOCAL and MangaSource.DUMMY parsers cannot be instantiated.