Giter Club home page Giter Club logo

hacg's Introduction

Hacg

HACG

这个是为了学习新Android库和Scala写的练习项目,应用的所有内容全部来自hacg.me。

发布:https://github.com/yueeng/hacg/releases

首页 内容 评论

琉璃神社·改

HACG


基于琉璃神社ver1.2.6

部署

  • JDK 1.8
  • Scala 2.12.6
  • sbt 0.13

添加的功能与特色

  • 代码尽可能添加注释
  • 评论界面设置为黑色背景
  • 神社添加夜间模式
    • 多数情况调低亮度并不会改善夜间浏览效果,因此添加了遮罩
    • 夜间模式不会保存,退出重进默认是白天模式
  • 文章详情内的获取磁力只点击一次即可触发
  • 从百度、琉璃社获取神社网址
    • 一般来讲都是盗版网址
    • 搜索APP启动时初始化并确定URL
    • 获取的URL复制到系统粘贴板
  • 添加推荐内容链接
    • 网页版的推荐还是不错的,不清楚为什么要去掉
    • 点击推荐内容会使用浏览器打开懒得做了
    • 推荐内容的图片缩小,不再占用100%的屏幕宽度
  • 对于盗版网址的处理办法
    • 去除顶部和底部显示的广告
    • 优化推荐内容的显示
    • 分目录浏览解决列表加载问题
  • 修改APP的名称为琉璃神社·改,换用了部分自己喜欢的默认图片(唔姆!)

对于盗版网址的说明

  • 之前使用APP时由于云端网址等数据过旧,会导致APP无法加载或及时更新的烦恼,或是偶尔找到一个网址却无法使用的问题,而盗版网站内的网页结构与正版相似,因此可以直接拿来处理,在项目内添加爬虫和配置文件用来支持对这些网站的解析
  • 但是仍然不推荐使用盗版网址虽然有时更新赶超正版,尽可能支持正版,该版本只是为了满足个人需求,以及暑期略无聊的境地

个人杂谈

  • Scala写安卓的例子在网上是真的难找,环境都难配,到最后发现基本是安卓用java,java替换为Scala。不过异步加载的地方似乎还是挺简洁的?
  • 大佬写代码加注释啊喂

hacg's People

Contributors

tunerred avatar yueeng avatar

Watchers

 avatar

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.