Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wizos committed Sep 12, 2020
1 parent 4cd5308 commit 33699fe
Show file tree
Hide file tree
Showing 577 changed files with 44,846 additions and 25,211 deletions.
16 changes: 0 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
/app/build/tmp
/app/build/outputs/logs
/app/build/outputs
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
/.idea
app/src/test/
daogenerator/libs/
app-release.apk
/app/src/main/java/me/wizos/loread/dump/
dump/
/swipelayout/
src/main/java/me/wizos/test/Test.java
/daogenerator/src/main/java/me/wizos/test/Test.java
/gradlew
/gradlew.bat
52 changes: 33 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,49 +9,63 @@

# 简介

Inoreader 是当下体验最好的国外 RSS 服务。利用其开放的 api ,完成了该第三方客户端
RSS 第三方客户端,支持 Inoreader、Feedly、TinyTinyRSS

下载地址:[http://www.coolapk.com/apk/168423](http://www.coolapk.com/apk/168423)


# 布局&功能
# 截图

![截图](doc/overview.png)

如上图,从左至右依次对应 tab 栏的“设置,加星文章,文件夹/标签,已读未读文章
如上图,从左至右依次为“登录、首页、文章页、分类、快速设置、设置


# 功能
目前实现以下几个功能:

- [x] 处理 文章状态(已读/未读/加星)
- [x] 文件夹与文件状态的交叉查询
- [x] 设置 文章的保存期,及其过期后的清理
- [x] 保存 离线状态下的一些网络请求(文章状态处理,图片下载),待有网再同步
- [x] 黑夜主题
- [x] 获取全文:支持根据规则或智能识别全文
- [x] 保存近期文章的阅读进度
- [x] 左右切换文章
- [x] 自动清理过期文章
- [x] 不同状态下(未读/加星/全部),各分组内文章的数量
- [x] ~~保存 离线状态下的一些网络请求(文章状态处理,图片下载),待有网再同步~~

对文章列表项的手势操作:

- [x] 左滑是切换文章的“已读/未读”状态
- [x] 右滑是切换文章的“加星/取消加星”状态
- [x] 长按是“上面的文章标记为已读,下面的文章标记为已读”
- [x] 被置为已读的文章 textColor 会暗淡
- [x] 手动对文章标记了状态的会在文章左下角显示一个状态 icon

PS:

* 由于开发中本人也还在不断学习,难免有些历史遗留的错误代码以及注释,暂时未被清理,但不影响使用


# 后期规划

在解决一些离奇 bug (如果有)的前提下,应该会添加以下一些功能:

- [x] 保存最近文章的阅读进度
- [x] 未读数根据当前分组实时变化
- [x] webview占位图(点击下载图片)
- [x] 黑夜主题
- [x] 被中断程序时的数据保存工作
- [x] 文章内容页左右切换文章
### Bug
- [ ] 优化反色算法,解决灰反色问题
- [ ] 优化音频莫名暂停问题
- [ ] 优化 ROOM 库带来的问题

### 功能
- [ ] 优化朗读、播放音乐的界面
- [ ] 支持全文搜索
- [ ] 支持本地 RSS
- [ ] 支持获取不支持 RSS 站点的文章
- [ ] 支持更换主题
- [ ] 支持设置排版:字体、字号、字距、行距、背景色
- [ ] 支持长按视频,图片,iframe候展示菜单
- [ ] 本地训练机器学习模型,判断文章喜好
- [ ] 检查添加的订阅地址是否有相似的订阅

### 技术
- [ ] 优化代码结构,拆成不同模块
- [ ] 改用最新的技术,例如 Kotlin
- [ ] 使用 CI 自动构建 APK 包


# 库的使用

* OkHttpGson , Greendao , Glide 等等
* OkHttp, Gson, ROOM, Glide 等等
3 changes: 3 additions & 0 deletions agentweb-core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/build
/src/androidTest/
/src/test/
37 changes: 15 additions & 22 deletions agentweb-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apply plugin: 'com.android.library'
//apply plugin: 'maven'
//apply plugin: 'com.novoda.bintray-release'

android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
compileSdkVersion 29
buildToolsVersion '29.0.3'

defaultConfig {
minSdkVersion 22
targetSdkVersion 26
targetSdkVersion 29
versionCode 1
versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
Expand All @@ -30,22 +30,15 @@ android {
// defaultPublishConfig "debug"

}

task javadoc(type: Javadoc) {
options.encoding = "utf-8"
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:design:27.1.1'
compileOnly fileTree(include: ['*.jar'], dir: 'providedLibs')
androidTestImplementation('androidx.test.espresso:espresso-core:3.2.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.13'
implementation 'com.download.library:Downloader:4.1.2'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation fileTree(include: ['*.jar'], dir: 'providedLibs')
}
//publish {
// userOrg = 'just'
// groupId = 'com.just.agentweb'
// artifactId = 'agentweb'
// version = '4.0.2'
// description = 'very easy to build you web page'
// website = "https://github.com/Justson/AgentWeb"
//}

Binary file not shown.
5 changes: 3 additions & 2 deletions agentweb-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.just.agentweb">
package="com.just.agentweb"
>

<application>
<provider
Expand All @@ -9,7 +10,7 @@
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/web_files_paths" />
android:resource="@xml/web_files_public"/>
</provider>
<activity
android:name="com.just.agentweb.ActionActivity"
Expand Down
Loading

0 comments on commit 33699fe

Please sign in to comment.