Skip to content

Commit

Permalink
Add LANraragi (#702)
Browse files Browse the repository at this point in the history
* Add LANraragi

* clean up build.gradle

* use buildList

Co-authored-by: stevenyomi <[email protected]>

---------

Co-authored-by: stevenyomi <[email protected]>
  • Loading branch information
2 people authored and cuong-tran committed Jan 27, 2024
1 parent 293a8a6 commit 0969665
Show file tree
Hide file tree
Showing 13 changed files with 670 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/all/lanraragi/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest />
79 changes: 79 additions & 0 deletions src/all/lanraragi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
## 1.3.12
Minimum LANraragi version required: 0.8.2

### Features

* Exclude from bulk update warnings

## 1.2.9
Minimum LANraragi version required: 0.8.2

### Features

* Add `CHANGELOG.md` & `README.md`

## 1.2.8
Minimum LANraragi version required: 0.8.2

### Fix

* Nullpo

### Refactor

* replace Gson with kotlinx.serialization

## 1.2.7
Minimum LANraragi version required: 0.8.2

### Features

* Update Icon
* Search-aware random
* API Key warnig
* Items marked as `Completed` instead of `Unknown`

### Fix

* Tag Separation

## 1.2.6

### Fix

* categories not appearing from large responses
* Random item visibility
* Ignore DNS over HTTPS

## 1.2.5

### Features

* Add Random entry
* Clear new status on the server

## 1.2.4

### Features

* Safer tag parsing

## 1.2.3

### Features

* Filters and pagination manipulation
* New preferences
* API usage change to use its metadata endpoint and preserve WebView

## 1.2.2

### Features

* Update to API 0.7.2

## 1.2.1

### Features

* first version
35 changes: 35 additions & 0 deletions src/all/lanraragi/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# LANraragi

Table of Content
- [FAQ](#FAQ)
- [Why do I see no manga?](#why-do-i-see-no-manga)
- [Where can I get more information about LANraragi?](#where-can-i-get-more-information-about-lanraragi)
- [The LANraragi extension stopped working?](#the-lanraragi-extension-stopped-working)
- [Can I add more than one LANraragi server or user?](#can-i-add-more-than-one-lanraragi-server-or-user)
- [Can I test the LANraragi extension before setting up my own server?](#can-i-test-the-lanraragi-extension-before-setting-up-my-own-server)
- [Guides](#Guides)
- [How do I add my LANraragi server to Tachiyomi?](#how-do-i-add-my-lanraragi-server-to-tachiyomi)

Don't find the question you are look for go check out our general FAQs and Guides over at [Extension FAQ](https://tachiyomi.org/help/faq/#extensions) or [Getting Started](https://tachiyomi.org/help/guides/getting-started/#installation)

## FAQ

### Why do I see no manga?
LANraragi is a self-hosted comic/manga media server.

### Where can I get more information about LANraragi?
You can visit the [LANraragi](https://github.com/Difegue/LANraragi) github page for for more information.

### The LANraragi extension stopped working?
Make sure that your LANraragi server and extension are on the newest version.

### Can I add more than one LANraragi server or user?
No, currently there is only support for 1 instances in Tachiyomi, if you need more instances please open a feature request on [extensions](https://github.com/tachiyomiorg/extensions/issues/new/choose) repo.

### Can I test the LANraragi extension before setting up my own server?
Yes, you can try it out with the DEMO server `https://lrr.tvc-16.science`.

## Guides

### How do I add my LANraragi server to Tachiyomi?
Go into the settings of the LANraragi extension from the Extension tab in Browse and fill in your server address and API key if needed.
7 changes: 7 additions & 0 deletions src/all/lanraragi/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ext {
extName = 'LANraragi'
extClass = '.LANraragiFactory'
extVersionCode = 16
}

apply from: "$rootDir/common.gradle"
Binary file added src/all/lanraragi/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/all/lanraragi/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/all/lanraragi/res/web_hi_res_512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package eu.kanade.tachiyomi.extension.all.lanraragi

import kotlinx.serialization.Serializable

@Serializable
data class Archive(
val arcid: String,
val isnew: String,
val tags: String?,
val title: String,
)

@Serializable
data class ArchivePage(
val pages: List<String>,
)

@Serializable
data class ArchiveSearchResult(
val data: List<Archive>,
val recordsFiltered: Int,
val recordsTotal: Int,
)

@Serializable
data class Category(
val id: String,
val last_used: String,
val name: String,
val pinned: String,
)
Loading

0 comments on commit 0969665

Please sign in to comment.