Skip to content

arranlomas/Trickl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c8f1030 · Sep 22, 2018
Jun 11, 2018
Sep 22, 2018
Mar 15, 2018
Oct 31, 2017
Jul 19, 2018
May 21, 2018
May 21, 2018
Jun 15, 2017
Apr 17, 2018
Oct 18, 2017
Apr 19, 2018
Apr 17, 2018
Apr 17, 2017
Apr 18, 2018
Apr 17, 2017
Apr 17, 2018

Repository files navigation

Trickl

trickl torrent client

This is the repository for the trickl torrent client for android

Android app on Google Play

This is a front end for Android-Confluence confluence, which is my fork of the go confluence, which is slightly modified to run on android.

Confluence is a http wrapper for torrent client written in go

Compilation

Note: keystore.properties is in gitignore as it contains the private api key for my fabric project that tracks crashes. To fix this simply remove the fabric dependency or create a fabric project and copy the api key into a keystore.properties file at the project root.

  • git clone https://github.com/arranlomas/Trickl.git

  • git clone https://github.com/arranlomas/Kotlin-File-Browser.git - (Kotlin-file-browser is a library I have created that allows the selection and creation of files and folders, I use it to allow users to view the downloads folder and change the working directory in settings) it is a project dependency so is compiled from source code rather than maven or jcentre)

  • git clone https://github.com/arranlomas/Android-Confluence-Wrapper.git ConfluenceWrapper - (ConfluenceWrapper is a library I have created which wraps the go torrent client to make using it on android easy)

  • git clone https://github.com/arranlomas/kontent.git - (Kontent is a library I have created which helps structure and reduce boilerplate for mvi implementation, for more info check the readme, it is a project dependency so is compiled from source code rather than maven or jcentre)

  • cd Trickl

  • create a file here called keystore.properties

  • in keystore.properties add the line TorrentBrowseServerIP="http://www.google.com" (if you want to set up a proper search please see the repo I use to provide search results

Next you have to either set up fabric or remove it, if you want crash reporting and analytics follow the Setting up Fabric section, otherwise follow the Removing Fabric. (I would expect most people to remove it)

Removing Fabric

  • open the app/build.gradle file

  • remove to line below from the top of the file

apply plugin: 'io.fabric'

  • remove the below from the dependencies section
compile('com.crashlytics.sdk.android:crashlytics:2.7.0@aar') {
    transitive = true;
}
  • remove the below from the bottom of the file in the repositories section
maven { url 'https://maven.fabric.io/public' }
  • remove all references to crashlytics from the following files:
TorrentExtensions.kt

BaseDaggerMviActivity.kt

BasePresenter.kt

MainActivity.kt

Setting up Fabric

For the next steps you will need to create a project on fabric, if you don't wish to do this please follow the section to remove fabric.

  • create a file called fabric.properties

  • paste the following (where the fields in <> are the details you get from fabric) :-

    apiSecret=<your_api_secret>

    apiKey=<your_api_key