From 80ced34179d3af8f2bf97fb0e95f2c1dedd794cd Mon Sep 17 00:00:00 2001 From: Pantyhose-X <42504385+Pantyhose-X@users.noreply.github.com> Date: Fri, 12 Aug 2022 13:37:35 +0800 Subject: [PATCH 1/3] README --- English.md | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 English.md diff --git a/English.md b/English.md new file mode 100644 index 000000000..833e59aef --- /dev/null +++ b/English.md @@ -0,0 +1,136 @@ +# [English](English.md) [中文](README.md) + +[![icon_android](https://github.com/gedoor/gedoor.github.io/blob/master/static/img/legado/icon_android.png)](https://play.google.com/store/apps/details?id=io.legado.play.release) + + # + + +
+legado + +Legado / 开源阅读 +
+gedoor.github.io / legado.top +
+Legado is a free and open source novel reader for Android. +
+ +[![](https://img.shields.io/badge/-Contents:-696969.svg)](#contents) [![](https://img.shields.io/badge/-Function-F5F5F5.svg)](#Function-) [![](https://img.shields.io/badge/-Download-F5F5F5.svg)](#Download-) [![](https://img.shields.io/badge/-Community-F5F5F5.svg)](#Community-) [![](https://img.shields.io/badge/-API-F5F5F5.svg)](#API-) [![](https://img.shields.io/badge/-Other-F5F5F5.svg)](#Other-) [![](https://img.shields.io/badge/-Grateful-F5F5F5.svg)](#Grateful-) [![](https://img.shields.io/badge/-Interface-F5F5F5.svg)](#Interface-) + +>New user? +> +>The software does not provide content, you need to add it manually, such as importing book sources, etc. +>Take a look at [official help documentation](https://www.yuque.com/legado/wiki),Maybe there's an answer you need inside. + +# Function [![](https://img.shields.io/badge/-Function-F5F5F5.svg)](#Function-) + +You can customize the book source, set your own rules, and capture web page data. The rules are simple and easy to understand. There are rules in the software. List bookshelf, grid bookshelf switch freely. The book source rules support search and discovery, and all the functions of finding books and reading books are all customized, making it easier to find books. +* Custom ebook sources, set your own rules to capture web data, the rules are simple and easy to understand, the software has a rule description. +* eBook sources rules support search and discovery, all find books and read books function all custom, find books more convenient. +* Schedule updating your library for new chapters. +* Online reading from web sources that can be imported in bulk +* Local reading of Auto-download episodes. +* Local reading of TXT or EPUB files +* ebook Wishlist +* Big text viewer. You can open eBook and txt in 1GB size +* Automatic text replacement for removing ad in content +* List bookshelf, grid bookshelf free to switch. +* Subscription content, you can subscribe to any content you want to see, see what you want to see +* A configurable reader with fonts, background, page transitions mode and other settings +* Timer. Set interval time to listen ebook, time up, ebook turn off completely. +* TTS book reader. tts can optionally be install“smartvoice-4.1.0” or ”Speech Services by Google“ Give your baby a storybook to listen to and teach your baby to talk, +* Dark mode and E-Ink mode support and Web service support +* Create backups to local or WebDav server +* Decentralization web3 +* Support replacement purification, it is very convenient to remove the content of advertisement replacement. +* Support local TXT, EPUB reading, manual browsing, intelligent scanning. +* Support highly customized reading interface, switch font, color, background, line spacing, paragraph spacing, bold, simplified and traditional conversion. +* Support multiple page turning modes, covering, emulating, sliding, scrolling, etc. + + + + # + + +# Download [![](https://img.shields.io/badge/-Download-F5F5F5.svg)](#Download-) +#### Android +* [Releases](https://github.com/gedoor/legado/releases/latest) +* [Google play - $1.99](https://play.google.com/store/apps/details?id=io.legado.play.release) +* [Coolapk](https://www.coolapk.com/apk/io.legado.app.release) +* [Jsdelivr](https://cdn.jsdelivr.net/gh/gedoor/release@release/) +* [\#Beta](https://kunfei.lanzoui.com/b0f810h4b) +* [IzzyOnDroid F-Droid Repository](https://apt.izzysoft.de/fdroid/index/apk/io.legado.app.release) + + +#### IOS +* Stopped(No release) - [Github](https://github.com/gedoor/YueDuFlutter) + + + # + + +# Community [![](https://img.shields.io/badge/-Community-F5F5F5.svg)](#Community-) + +#### Telegram +[![Telegram-group](https://img.shields.io/badge/Telegram-%E7%BE%A4%E7%BB%84-blue)](https://t.me/yueduguanfang) [![Telegram-channel](https://img.shields.io/badge/Telegram-%E9%A2%91%E9%81%93-blue)](https://t.me/legado_channels) + +#### Discord +[![Discord](https://img.shields.io/discord/560731361414086666?color=%235865f2&label=Discord)](https://discord.gg/VtUfRyzRXn) + +#### Other +https://www.yuque.com/legado/wiki/community + + + # + + +# API [![](https://img.shields.io/badge/-API-F5F5F5.svg)](#API-) +* Legado 3.0 The API is provided in 2 ways: `Web way` and `Content Provider way`. You can call it yourself as needed in [here](api.md). +* One-click import by url recall reading, url format: legado://import/{path}?src={url} +* Path Type: bookSource,rssSource,replaceRule,textTocRule,httpTTS,theme,readConfig +* path type explanation: Book source, subscription source, replacement rules, local txt novel directory rules, online reading engine, theme, reading layout + + + # + + +# Other [![](https://img.shields.io/badge/-Other-F5F5F5.svg)](#Other-) +##### Disclaimers +https://gedoor.github.io/about.html +##### Legado 3.0 +* [eBook sources rules](https://alanskycn.gitee.io/teachme) +* [Update Log](/app/src/main/assets/updateLog.md) +* [Help Documentation](/app/src/main/assets/help/appHelp.md) +* [web](https://github.com/gedoor/legado_web_bookshelf) + + + # + + +# Grateful [![](https://img.shields.io/badge/-Grateful-F5F5F5.svg)](#Grateful-) +> * org.jsoup:jsoup +> * cn.wanghaomiao:JsoupXpath +> * com.jayway.jsonpath:json-path +> * com.github.gedoor:rhino-android +> * com.squareup.okhttp3:okhttp +> * com.github.bumptech.glide:glide +> * org.nanohttpd:nanohttpd +> * org.nanohttpd:nanohttpd-websocket +> * cn.bingoogolapple:bga-qrcode-zxing +> * com.jaredrummler:colorpicker +> * org.apache.commons:commons-text +> * io.noties.markwon:core +> * io.noties.markwon:image-glide +> * com.hankcs:hanlp +> * com.positiondev.epublib:epublib-core + + # + + +# Interface [![](https://img.shields.io/badge/-Interface-F5F5F5.svg)](#Interface-) + + + + + # + From b239b68e8fb050301c39d5330a0beb206b7ac744 Mon Sep 17 00:00:00 2001 From: Pantyhose-X <42504385+Pantyhose-X@users.noreply.github.com> Date: Fri, 12 Aug 2022 13:38:33 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9f9112201..248cdc0e5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# [English](English.md) [中文](README.md) + [![icon_android](https://github.com/gedoor/gedoor.github.io/blob/master/static/img/legado/icon_android.png)](https://play.google.com/store/apps/details?id=io.legado.play.release) # @@ -21,15 +23,7 @@ Legado is a free and open source novel reader for Android. >看看 [官方帮助文档](https://www.yuque.com/legado/wiki),也许里面就有你要的答案。 # Function-主要功能 [![](https://img.shields.io/badge/-Function-F5F5F5.svg)](#Function-主要功能-) -
English -1. Online reading from a variety of sources.
-2. Local reading of downloaded content.
-3. A configurable reader with multiple viewers, reading directions and other settings.
-4. Categories to organize your library.
-5. Light and dark themes.
-6. Schedule updating your library for new chapters.
-7. read offline or to your desired cloud service -
+[English](English.md)
中文 1.自定义书源,自己设置规则,抓取网页数据,规则简单易懂,软件内有规则说明。
From 3a1ac902c3239b39e99000eba220255df859d768 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 12 Aug 2022 16:46:32 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 13 +++++-------- build.gradle | 4 +++- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 29150b635..e2c60733a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,7 @@ plugins { id "com.android.application" id 'org.jetbrains.kotlin.android' + id 'com.google.devtools.ksp' id 'kotlin-parcelize' id 'kotlin-kapt' id "de.timfreiheit.resourceplaceholders" @@ -57,6 +58,9 @@ android { ] } } + ksp { + arg("room.schemaLocation", "$projectDir/schemas") + } } buildFeatures { viewBinding true @@ -129,12 +133,6 @@ resourcePlaceholders { files = ['xml/shortcuts.xml'] } -kapt { - arguments { - arg("room.schemaLocation", "$projectDir/schemas") - } -} - dependencies { //noinspection GradleDependency coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6') @@ -204,8 +202,7 @@ dependencies { //room implementation("androidx.room:room-runtime:$room_version") implementation("androidx.room:room-ktx:$room_version") - kapt("androidx.room:room-compiler:$room_version") - //ksp("androidx.room:room-compiler:$room_version") + ksp("androidx.room:room-compiler:$room_version") testImplementation("androidx.room:room-testing:$room_version") //liveEventBus diff --git a/build.gradle b/build.gradle index a06a6f224..0ad2260cb 100644 --- a/build.gradle +++ b/build.gradle @@ -3,12 +3,13 @@ buildscript { ext{ kotlin_version = '1.7.10' + ksp_version = "1.7.10-1.0.6" compose_version = '1.2.1' compose_compiler_version = '1.3.0' agp_version= '7.2.2' exoplayer_version = '2.18.1' splitties_version = '3.0.0' - room_version = '2.5.0-alpha02' + room_version = '2.4.3' } } @@ -16,6 +17,7 @@ plugins { id 'com.android.application' version "$agp_version" apply false id 'com.android.library' version "$agp_version" apply false id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false + id 'com.google.devtools.ksp' version "$ksp_version" apply false id "de.timfreiheit.resourceplaceholders" version "0.4" apply false id "de.undercouch.download" version "5.1.0" apply false id "com.google.gms.google-services" version "4.3.10" apply false