ddmgy 51d535c8e9 Add Hentai2Read (hentai2read.com) source. (#46)
* Add Hentai2Read (hentai2read.com) source.

* Convert sch_flt_in and sch_flt_out to camelCase.

* Combine tag selectors in mangaDetailsParse().

* Move Pattern.compile() call to companion object to avoid repeated initialization.

* Move constant String imageBaseUrl to companion object.

* Make parseChapterDate() a little more compact.

* Refactor things to avoid unnecessary string splitting and calls to Elements.first().

* Remove implicit return and implicit return type from popularMangaRequest() and latestUpdatesRequest().

* Trim whitespace from string before parsing chapter date.

* Update POST params and change how tags are included/excluded.

* Add CharacterName and CharacterNameSelect filters.

* Add TagSearchMode filter.

* Change TagList to have title, to prepare for different groups of tags.

* Change TagList in FilterList to use new title.

* Add category list.

* Change tag list.

* Add doujin list.

* Update FilterList to include new filters.

* Add Gson and Kotson dependencies.

* Fix searching, now compute base64-encoded string to use in URL.

* Remove all code used to manually compute base64 string in URL.

* Add searchMangaParse override, store base64String if there is a next page in search.

* Remove unnecessary url val, left over from debug.

* Update tag list.

* Update doujin list.

* Update comments showing number of tags/doujins in TagList.

* Remove unnecessary tags var in mangaDetailsParse, can build manga.genre directly from list.
2017-07-22 16:50:18 +02:00
2017-02-20 16:57:24 +01:00
2017-02-25 16:57:50 +01:00
2017-02-25 16:57:50 +01:00
2017-03-04 14:49:01 +01:00
2017-02-20 17:07:51 +01:00
2017-02-25 16:57:50 +01:00
2017-01-21 17:55:27 +01:00
2017-02-07 17:01:04 +01:00
2017-01-21 17:55:27 +01:00
2017-02-23 22:33:07 +01:00
2017-07-22 16:48:38 +02:00

Travis fdroid dev

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

Usage

Extension sources are considered pre-release. They are installed and uninstalled like apps, in .apk format. The plan is to have a UI in the main app, that will enable installing and updating extensions. If you want to try them now regardless, you can use the F-Droid repo for dev versions.

Requests

Site requests here are meant as up-for-grabs, thus it's impossible to provide a time estimation for any of them. Furthermore, some sites are impossible to do, usually because of various technical reasons.

Contributing

Before you start, please note that the ability to use following technologies is required and it's not possible for us to teach you any of them.

  • Kotlin
  • JSoup
  • HTML
  • CSS selectors

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.

Description
A tachiyomi extensions repo
Readme Apache-2.0 1.4 GiB
Languages
Kotlin 100%