A tachiyomi extensions repo
Go to file
Andy Bao 7929a768c4 Add MangaPark, Mangago, Tapastic, nhentai, E-Hentai and Sen Manga sources (#36)
* Add MangaPark source

* Add pagination to MangaPark source
Enable HTTPS in MangaPark source

* Add Mangago source

* Add Tapastic source
Fix UriSelectFilters returning incorrect default states

* Add nhentai source

* Fix tapastic source breaking on manga with square brackets in title

* Fix issues found by j2ghz
Fix tapastic source showing scheduled comics

* Add E-Hentai source
Bump Kotlin version for all extensions to 1.1.1
Minor code cleanup in nhentai source

* Add Sen Manga source.
Minor code cleanup.

* Fix incorrect package name in Sen Manga source.

* Fix incorrect Japanese language code on E-Hentai, nhentai and Sen Manga sources.

* Bump Kotlin version to 1.1.2

* Code cleanup
Fix a bug with thumbnails and URLs in E-Hentai that is currently not triggerable but may cause problems in the future

* Code cleanup

* Fix some minor incorrect spacing
2017-05-20 12:11:33 +02:00
.github Create ISSUE_TEMPLATE.md (#15) 2017-02-20 16:57:24 +01:00
gradle/wrapper Initial commit 2017-01-21 17:55:27 +01:00
res Reorganize project structure 2017-02-25 16:57:50 +01:00
src Add MangaPark, Mangago, Tapastic, nhentai, E-Hentai and Sen Manga sources (#36) 2017-05-20 12:11:33 +02:00
.gitignore Reorganize project structure 2017-02-25 16:57:50 +01:00
.travis.yml Add travis and badges (#20) 2017-03-04 14:49:01 +01:00
AndroidManifest.xml Add icon (#16) 2017-02-20 17:07:51 +01:00
LICENSE Add license, closes #17 2017-02-23 22:33:07 +01:00
README.md Add travis and badges (#20) 2017-03-04 14:49:01 +01:00
build.gradle Add MangaPark, Mangago, Tapastic, nhentai, E-Hentai and Sen Manga sources (#36) 2017-05-20 12:11:33 +02:00
common.gradle Reorganize project structure 2017-02-25 16:57:50 +01:00
gradle.properties Initial commit 2017-01-21 17:55:27 +01:00
gradlew Change apk names (#10) 2017-02-07 17:01:04 +01:00
gradlew.bat Initial commit 2017-01-21 17:55:27 +01:00
settings.gradle Reorganize project structure 2017-02-25 16:57:50 +01:00

README.md

Travis fdroid dev

This repository contains the available extension catalogues for the Tachiyomi app.

[Download links to be added]

Writing an extension

The easiest way to write and debug an extension is by directly hardcoding it in Tachiyomi's source code. Once it's working there, you have to clone this repository and create a new folder with a similar structure to the other catalogues. Then copy your catalogue implementation and make sure to change the package name if it was different in Tachiyomi. Finally, write the build.gradle file, which has the following structure:

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

ext {
    appName = "Tachiyomi: My catalogue"
    pkgNameSuffix = "lang.mycatalogue"
    extClass = ".MyCatalogue"
    extVersionCode = 1
    extVersionSuffix = 1
    libVersion = "1.0"
}

apply from: '../common.gradle'
  • appName is the name of the Android application. By prefixing it with Tachiyomi: , it will be easier to locate with an Android package manager.
  • pkgNameSuffix has to be unique, and it's added to eu.kanade.tachiyomi.extension. The language and the site should be enough. Remember your catalogue code implementation must be placed in this package.
  • extClass points to the catalogue class. You can use a relative path starting with a dot (the package name is the base path). This is required for Tachiyomi to instantiate the catalogue.
  • extVersionCode is the version code of the catalogue and should be increased with any change to the implementation.
  • extVersionSuffix is the last part of the versioning.
  • libVersion is the version of the extensions library* used. When this value is changed, extVersionSuffix should be reset to 1. With the example used above, the version of the catalogue would be 1.0.1.

* Note: this library only contains the method definitions so that the compiler can resolve them. The actual implementation is written in Tachiyomi.

When everything is done, you can create the apk in Android Studio with Build > Build APK or Build > Generate Signed APK.