GithubHelp home page GithubHelp logo

hhy5277 / tivi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrisbanes/tivi

0.0 1.0 0.0 7.09 MB

Tivi is a work-in-progress TV show tracking Android app, which connects to Trakt.tv. It is still in its early stages of development and currently only contains two pieces of UI. It is under heavy development.

License: Apache License 2.0

Kotlin 95.67% Java 3.87% Shell 0.22% Dockerfile 0.23%

tivi's Introduction

Tivi

Tivi 📺 (work-in-progress 👷🔧️👷‍♀️⛏)

This is not an official Google product

Tivi is a work-in-progress TV show tracking Android app, which connects to Trakt.tv. It is still in its early stages of development and currently only contains two pieces of UI. It is under heavy development.

Android development

Tivi is an app which attempts to use the latest cutting edge libraries and tools. As a summary:

Development setup

First off, you require the latest Android Studio 3.0 (or newer) to be able to build the app.

Code style

This project uses ktlint, provided via the spotless gradle plugin, and the bundled project IntelliJ codestyle.

If you find that one of your pull reviews does not pass the CI server check due to a code style conflict, you can easily fix it by running: ./gradlew spotlessApply, or running IntelliJ/Android Studio's code formatter.

API keys

You need to supply API / client keys for the various services the app uses. That is currently Trakt.tv, TMDb and Fabric (for Crashlytics). You can find information about how to gain access via the relevant links.

For Trakt.tv, set the redirect uri to app.tivi://auth/oauth2callback.

When you obtain the keys, you can provide them to the app by putting the following in the gradle.properties file in your user home:

# Get these from Trakt.tv
TIVI_TRAKT_CLIENT_ID=<insert>
TIVI_TRAKT_CLIENT_SECRET=<insert>

# Get this from TMDb
TIVI_TMDB_API_KEY=<insert>

# Get this from Fabric/Crashlytics
TIVI_FABRIC_API_KEY=<insert>

On Linux/Mac that file is typically found at ~/.gradle/gradle.properties or in the project directory tivi/gradle.properties

Contributions

If you've found an error in this sample, please file an issue.

Patches are encouraged, and may be submitted by forking this project and submitting a pull request. Since this project is still in its very early stages, if your change is substantial, please raise an issue first to discuss it.

License

Copyright 2017 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

tivi's People

Contributors

ataulm avatar chrisbanes avatar christxph avatar egor-n avatar jakewharton avatar jdtremblay avatar mitrejcevski avatar moshdev avatar nitrico avatar rharter avatar toyamah avatar vlazzle avatar zacsweers 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.