Giter Club home page Giter Club logo

xsmth-newsmth's Introduction

#关于

xsmth是一个开源的第三方水木客户端。欢迎大家提交新的功能,和提供修改意见。

#Lisence Common, Utils, Data, jsParser目录下的代码遵循MIT证书,可以使用这些代码开发自己的App,并且不需要作者授权。 其他目录(水木功能相关),需要作者授权使用。

#开始

首先需要安装facebook的xtool脚本(ReactiveCocoa会用到)。 下载源码后,运行

$ ./startup.sh

#数据流 image

#技术点

xsmth中最重要的模块是WebParser这块。WebParser提供了一套js(参考jsParser下的文件)方法来解析抓取到的html,使用js、dom操作,方便的将html转为app需要的json数据。
WebParser非常适合在web站点功能完备的情况下使用,无需后台开发就可以提供一套json数据。
WebParser用到的js引擎可以动态下载,在web界面变更的情况下,可动态更新解析引擎即可。

TODO

  1. SMData, json <-> ObjC 模型替换为 https://github.com/icanzilb/JSONModel,

  2. SMViewController公共方法抽取成Category,同时应用到UIViewController和UITableViewController

  3. SMWebLoaderOperation 多个异步请求整合成同步,参考dispatch group enter/leave。当前用到的地方必须strong引用operation,否则会被提前释放。

  4. refector forever

xsmth-newsmth's People

Contributors

maxwin-z avatar dependabot[bot] avatar gjson avatar cameoh avatar doggeddog 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.