1 Star 3 Fork 1

OPENSTUDENT / bookReader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

bookReader

描述

  1. 使用Flutter创建的文本阅读器,支持本地阅读和爬取网络上的小说
  2. 该项目仅作为交流学习之用,本人不对该项目的使用负任何后果。
  3. 该项目使用MIT进行开源
  4. 如有任何侵权或其它任何问题,请通过邮箱594470882@qq.com联系我进行代码删除。

运行环境

[√] Flutter (Channel stable, 3.7.10, on Microsoft Windows [版本 10.0.18362.720], locale zh-CN)
    • Flutter version 3.7.10 on channel stable at D:\Program Files\flutter_3.7.10
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b12645012 (5 weeks ago), 2023-04-03 17:46:48 -0700
    • Engine revision ec975089ac
    • Dart version 2.19.6
    • DevTools version 2.20.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at E:\sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = E:\sdk
    • Java binary at: E:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
    • Visual Studio at E:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31702.278
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.1)
    • Android Studio at E:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[√] IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at E:\Program Files (x86)\IntelliJ IDEA 2021.3.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.18362.720]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 111.0.5563.148

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
Process finished with exit code 0

真机测试环境通过

  • 安卓,小米Mi10

安装方法

  1. pub get
  2. flutter run

真机安装方法

  1. 安装jks的key
  2. flutter build apk

使用到的技术

序号 技术 备注 了解程度
1 dart 编程语言 了解
2 flutter 框架 了解
3 flutter_app 追书神器 参考
4 get 插件 了解
5 html html格式化 了解
6 shared_preferences nosql 了解
7 file_picker 本地文件读取 了解
8 text_to_speech 文字转语音 太过简单
9 permission_handler 权限获取 了解
10 fast_gbk gbk解码 了解
9 date_format 时间格式化 了解
10 logger 日志打印 需了解
9 wakelock 强制亮屏 了解
10 webview_flutter 嵌套网页 了解
11 flutter_vector_icons 集成图标库 了解
12 scroll_to_index list可跳转到指定位置 废弃
13 cached_network_image 网络图片可提前缓存 了解
14 flutter_local_notifications 本地通知 了解
15 dio 网络连接
16 flutter_list_view list可跳转到指定位置 了解
  • 关于第12点,希望能跳转的时候没有动画,直接跳转到指定位置,现插件已经由16点代替

源码目录介绍

./lib
├── constPage                               // 定义静态数据
├── dao                                     // 本地存储DAO
├── entity                                  // 实体类信息
├── page
│   ├── base                                // 自己定义的widget
│   ├── book_shelf                          // 书架页面
│   ├── download                            // 下载页面
│   ├── me                                  // 我的页面
│   ├── reading                             // 阅读器页面
│   ├── reptile                             // 爬虫相关页面
│   └── HomePage.dart                       // 页面入口
├── route                                   // 路由
├── service                                 // 逻辑处理
│   ├── web                                 // 每个网站的具体爬虫逻辑
│   ├── BookShelfService.dart               // 书架逻辑处理
│   ├── FileService.dart                    // 本地上传图书逻辑处理
│   ├── ReadingService.dart                 // 阅读器相关逻辑处理
│   └── ReptileService.dart                 // 爬虫相关逻辑处理
├── utils                                   // 工具类
│   └── http_urils.dart                     // 网络下载类
└── main.js                                // 入口主函数

问题反馈

  1. 提交问题到59470882@qq.com,有任何的疑问也可以通过该邮箱联系我

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/
MIT License Copyright (c) 2023 zuul_andy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

使用Flutter创建的文本阅读器,支持本地阅读和爬取网络上的小说 展开 收起
Dart 等 6 种语言
MIT
取消

发行版 (9)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Dart
1
https://gitee.com/openstudent/book-reader.git
git@gitee.com:openstudent/book-reader.git
openstudent
book-reader
bookReader
master

搜索帮助