megaannex 0.2.0

Hook program for gitannex to use mega.co.nz as backend

Requirements:

python2
requests>=0.10
pycrypto

Credit for the mega api interface goes to: https://github.com/richardasaurus/mega.py

Install

Clone the git repository in your home folder.

git clone git://github.com/TobiasTheViking/megaannex.git 

This should make a ~/megaannex folder

Setup

Make the file executable, and link it into PATH

cd ~/megaannex; chmod +x git-annex-remote-mega; sudo ln -sf `pwd`/git-annex-remote-mega /usr/local/bin/git-annex-remote-mega

Commands for gitannex:

USERNAME="user" PASSWORD="pword" git annex initremote mega type=external externaltype=mega encryption=shared folder=gitannex
git annex describe mega "the mega.co.nz library"
Note that there has apparently been an API break, so this special remote may not work anymore. See: http://git-annex.branchable.com/forum/MegaAnnex_not_working./
Comment by http://joeyh.name/ Mon Jul 21 19:56:13 2014

Because megaannex apparently isn't working nowadays I have created a compatible program in Go. I think it should handle everything except REMOVE right now.

You can find it on github: https://github.com/dxtr/megaannex-go

Comments on this page are closed.