diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-22 17:26:19 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-22 17:26:19 -0400 |
commit | 747ac8a8d7d3932f554f3c5edd04e84c14f7449f (patch) | |
tree | 1ef296ab5e129cb6f5e09deac6ccdda4eefb5900 /doc/tips | |
parent | a44e708cb7e1b406d56af697ca11cdbb5a26752d (diff) |
tune up
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/flickrannex.mdwn | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/tips/flickrannex.mdwn b/doc/tips/flickrannex.mdwn index b3fafc008..c90815065 100644 --- a/doc/tips/flickrannex.mdwn +++ b/doc/tips/flickrannex.mdwn @@ -1,14 +1,17 @@ -Hook program for gitannex to use flickr as backend +Hook program for gitannex to use flickr as backend. + +This allows storing any type of file on flickr, not only images and movies. # Requirements: python2 -Credit for the flickr api interface goes to: http://stuvel.eu/flickrapi -Credit for the png library goes to: https://github.com/drj11/pypng -Credit for the png tEXt patch goes to: https://code.google.com/p/pypng/issues/detail?id=65 +Credit for the flickr api interface goes to: <http://stuvel.eu/flickrapi> +Credit for the png library goes to: <https://github.com/drj11/pypng> +Credit for the png tEXt patch goes to: <https://code.google.com/p/pypng/issues/detail?id=65> ## Install + Clone the git repository in your home folder. git clone git://github.com/TobiasTheViking/flickrannex.git @@ -16,19 +19,23 @@ Clone the git repository in your home folder. This should make a ~/flickrannex folder ## Setup + Run the program once to make an empty config file cd ~/flickrannex; python2 flickrannex.py Edit the flickrannex.conf file. Add your flickrusername, password and folder(set) name. -## Commands for gitannex: +## Configuring git-annex git config annex.flickr-hook '/usr/bin/python2 ~/flickrannex/flickrannex.py' git annex initremote flickr type=hook hooktype=flickr encryption=shared git annex describe flickr "the flickr library" ## Notes + The current version base64 encodes all the data, which results in ~35% larger filesize. I might look into yyenc instead. I'm not sure if it will work in the tEXt field. + +-- Tobias |