/MotionBook-Source

Official MotionBook Source Code

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

Official MotionBook Source Code

Platform Language License: GPL v3 Donate

Welocome to MotionBook!

Before start, MotionBook source is complicated and little bit messy. Please help us to develop this source much better than before! MotionBook is open source based project. Because of that, I decided to open MotionBook source.

Hopes this repo help someone :)

Documentation

Contributing to MotionBook

Contributions to MotionBook are welcomed and encouraged! Please see the Contribution Guide

We welcome code refactor or any other changes. Please do not hesitate.

Getting Started

Installation is needed befor you start. please see the Installation Guide

git submodule add https://github.com/younatics/MotionBook.git git/

2. Add Github Personal access token

Github Personal settings -> Personal access tokens -> Generate new token -> Edit user and token in NetworkManager.swift

class NetworkManager: NSObject {
    let user = "younatics"
    let token = "b908fde1073fb488eeee32b9213c0542b410876a"
}

3. Pod install

pod install

Basic Logic

1. Get data from MotionBook README.md

Get basic data and store in RealmSwift

2. Update latest data from GitHub Api

Once a week, MotionBook will check date and update Github data(Stars, Issues, Forks) using GitHub Api.

3. Get Gif data using submodule

Submodule https://github.com/younatics/MotionBook this repository and get gif data

4. Use On-Demand Resources for faster download speed

On-Demand Resources make faster download speed.

5. Update Gif data to Realm

Update Gif data to Realm and store.

Author

younatics 🇰🇷

License

MotionBook-Source is available under the GNU General Public License v3.0 license. See the LICENSE file for more info.