Skip to content

arranlomas/Trickl

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