Skip to content

younatics/MotionBook-Source

Repository files navigation

Official MotionBook Source Code

iOS 9.0+ Swift 4.0 Donate title

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 an open source based project. Because of that, I decided to open MotionBook source.

Hopes this repo help someone :)

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

Add Github Personal access token and user Id in Key.swift

enum Key: String {
    case gitHubId = "younatics"
    case githubToken = ""
    case firbaseKey = ""
}

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. Use On-Demand Resources for faster download speed

On-Demand Resources make faster download speed.

4. Update Gif data to Realm

Update Gif data to Realm and store.

Author

younatics Twitter

License

MotionBook-Source is available under the Apache License 2.0. See the LICENSE file for more info.