git-annex is now available for Android. This includes the git-annex assistant, for easy syncing between your Android and other devices. You do not need to root your Android to use git-annex.

Android installation instructions

When you run the git-annex Android app, two windows will open. The first is a terminal window, and the second is a web browser showing the git-annex webapp.

two windows

closing and reopening the webapp

The webapp does not need to be left open after you've set up your repository. As long as the terminal window is left open, git-annex will remain running and sync your files. To re-open the webapp after closing it, use the New Window icon in the terminal window.

starting git-annex

The app is not currently automatically started on boot, so you will need to manually open it to keep your files in sync. You do not need to leave the app running all the time, though. It will sync back up automatically when started.

stopping git-annex

Simply close the terminal window to stop git-annex from running.

using the command line

Android terminal

If you prefer to use git-annex at the command line, you can do so using the terminal. A fairly full set of tools is provided, including git, ssh, rsync, and gpg.

To prevent the webapp from being automatically started when a terminal window opens, go into the terminal preferences, to "Inital Command", and clear out the default git annex webapp setting.

Or, if you'd like to run the assistant automatically, but not open the webapp, change the "Initial Command" to: git annex assistant --autostart

using from adb shell

To set up the git-annex environment from within adb shell, run: /data/data/ga.androidterm/runshell

This will launch a shell that has git-annex, git, etc in PATH.

Is there a way I can use an SSH Key to connect to a remote server? What would be really cool, though maybe not feasible, would be to use connectbot as an ssh-agent.
Comment by http://afoolishmanifesto.com/ Wed Jul 17 16:50:46 2013

@frioux the webapp has a "ssh server" option that will set up a ssh key and use it for passwordless data transfer to a ssh server.

The openssh included in the git-annex app fully supports everything you can usually do with ssh keys, so you can also set this up by hand.

Comment by http://joeyh.name/ Wed Jul 17 19:06:31 2013

If you are experiencing a problem using git-annex on Android, please examine the list of bugs and add a new, detailed bug report if no-one has reported the problem. If you are not sure if you have a bug, or need help in filing a good bug report, ask for help in the forum.

I have moved to oldcomments a lot of old comments about problems that may be fixed or not (hard to tell without a bug report!) " This page cannot scale to handle every bug report that someone wants to paste into it.

Comment by http://joeyh.name/ Tue Jul 30 17:45:27 2013

Hallo,

how can I use the app with public/private keys for SSH. Where can I add them?

Thanks

Mebus

Comment by http://mebus.myopenid.com/ Sat Oct 19 18:05:52 2013

@mebus : You can put your SSH keys here :

/sdcard/git-annex.home/.ssh/id_rsa

/sdcard/git-annex.home/.ssh/id_rsa.pub

Comments on this page are closed.