aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/megaannex.mdwn
blob: 46bab4aefdd79c4ad39fca5997db12a9574a7062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"