Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Android gist API client written in Scala

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 notes
Octocat-spinner-32 project
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 NOTICE



Open source Android gist API client written in Scala.

The Android app uses the new github api to provide a "send to gist" feature for most applications which have a "Send" or "Share" menu.

Check the following screenshot to get an idea of the flow (this example uses the ColorNote Notepad app)


By default gists are created anonymously - you can add your github account using Android's "Accounts & Sync" settings or follow the instructions in the gist app itself.

With an associated account you also have the ability to edit existing gists - Use "Load gist" from the menu, make changes and upload it again.

Usage from other apps

If your are developing an Android app and want to make use of the gist api you can do so with intents. At the moment there are two actions exposed:

picking/loading a gist

Intent intent = new Intent("com.zegoggles.gist.PICK");
intent.putExtra("load_gist", false); // load gist content, defaults to true
startActivityForResult(intent, 0)

uploading a gist

startActivityForResult(new Intent("com.zegoggles.gist.UPLOAD")
    .putExtra(Intent.EXTRA_TEXT, "text123")
    .putExtra("public", false)
    .putExtra("description", "testing gist upload via intent"), 0);

Building from source

You need sbt (simple-build-tool, >= 0.11.2 ) in order to build the project,

$ export ANDROID_HOME=/path/to/sdk # or ANDROID_SDK_{HOME,ROOT}
$ sbt android:package-debug

To run tests:

$ sbt test

Pull requests welcome, especially the design needs some love (hint, hint).

Credits / License

See LICENSE. Post it graphic by christianalm.

Something went wrong with that request. Please try again.