Giter VIP home page Giter VIP logo

reader's Introduction

Reader

一款开源小说阅读软件📕,借鉴任阅与阅读3.0,采用 Jetpack + 协程实现的 MVVM 架构。Kotlin+AndroidX编写,支持TTS听书、章节缓存、字体切换、繁简转换、黑夜模式、各种翻页(仿真、滚动、滑动、覆盖、无动画)、插页图片加载等。demo下载:轻阅读.apk

  • 有人换皮上了应用商店,为了避免这种情况,所以接口不再对外开放。大家只能看代码啦

master分支对比old分支:

重写代码,优化阅读器代码结构,Md设计风格

sql分层处理,MVVM架构

语音朗读、插画、国际化、黑夜模式等功能都进行了实现

使用AndroidX控件,对刘海屏等异形屏幕有了很好的支持

注:

1.(主分支ip被墙了!出不来数据请自行开VPN,old的IP没被封但代码写的不太好)

2.想看java代码就去看old分支,old分支虽然也是kotlin,但old分支之前是用Java编写,之后用studio一键转的Kotlin代码,没有kotlin特有的语法糖之类 更容易懂。

3.欢迎大家提问题。本人一定尽快修复

使用技术

Kt、AndroidX、Retrofit、Okhttp3、Glide、LitePal、MVVM、协程等

TIP

  • 当前书源为(自己爬的)轻小说书源,书中大多带了插图。
  • 服务器在美国,所以国内监管比较严的时候可能需要翻墙或切换网络去多尝试几次。(2021.2,主分支ip被墙了,必须开VPN了/(ㄒoㄒ)/~~)
  • 供大家学习使用。

项目截图

首页 推荐 书库
设置 搜索 阅读页
菜单 目录 插页
插页2 夜间 编辑

LICENSE

Copyright (C) zhaolijun, Open source codes for study only.
Do not use for commercial purpose.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

reader's People

Contributors

390057892 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reader's Issues

你好请求帮助!

用了之前的老分支很不错,这个新版能提供一下/api/book/bookHome的JSON数据格式吗?自己组合半天请求无效。我的邮箱[email protected],非常感谢!

java版本

大佬,java版本的代码能不能分享一下,谢谢

有个问题想请教一下,假如内容是英文的文章呢?

那么英文的文章是按照单词来的,和中文按照单个字来计算不一样,那么根据中文的排版,单词就被切割了,一个单词就被切割了一半到第二行去了,所以这个计算一行显示多少个单词,然后正确排版,不知道有什么办法呢?

作者大大你好

作者大大你好 请教个问题 是关于如何将APP的阅读部分怎个剥离下来制作成module的 可以加个好友嘛!282883791
image

一个翻页BUG

任意章节倒数第二页,例如在9/10翻页,采用默认翻页动画,

第一步右下角翻页,纸张翻起一点,然后取消翻页,

第二步,再次翻页就会直接跳到下一章节第二页,如果往回翻页,就会到本章节最后一页。

困扰了我好几天 。

作者你好!能否加入 广告功能?

作者你好!能否加入 广告功能?就是在内容中间,每隔2页或者尾页加入广告的功能,并且点击广告界面的 关闭 按钮可以关闭广告,谢谢!

app打开无数据

请问接口不对外开发 意思app打开也用不了是吗? 现在都是无数据

绘制自定义view

你好,当前应用中的插画功能是基于drawbitmap的吗,如果我需要增加一个自定义view进去,如何实现自定义view跟随翻页动画进行翻页呢

API

大哥,能不能分享一下API代码,非常感谢!

NovelReadActivity.kt: (596, 23): Type mismatch: inferred type is ServiceConnection? but ServiceConnection was expected

NovelReadActivity.kt: (596, 23): Type mismatch: inferred type is ServiceConnection? but ServiceConnection was expected
NovelReadActivity.kt: (611, 64): Smart cast to '' is impossible, because 'mConn' is a mutable property that could have been changed by this time
BookListFragment.kt: (40, 19): Type mismatch: inferred type is String? but String was expected
BookListFragment.kt: (41, 24): Type mismatch: inferred type is String? but String was expected
BookListFragment.kt: (42, 20): Type mismatch: inferred type is String? but String was expected
这是什么情况呀?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.