From edafc33714d9a8d4d4616f47272ed97d3996ca6e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 22 May 2013 17:26:19 -0400 Subject: [PATCH] tune up --- doc/special_remotes.mdwn | 1 + doc/tips/flickrannex.mdwn | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/special_remotes.mdwn b/doc/special_remotes.mdwn index 96cc7790c2..3525c72828 100644 --- a/doc/special_remotes.mdwn +++ b/doc/special_remotes.mdwn @@ -27,6 +27,7 @@ for various cloud things: * [[tahoe-lafs|forum/tips:_special__95__remotes__47__hook_with_tahoe-lafs]] * [[tips/using_box.com_as_a_special_remote]] * [[tips/using_mega.co.nz_as_a_special_remote|tips/megaannex]] +* [[tips/using_Flickr_as_a_special_remote|tips/flickrannex]] * [[forum/special_remote_for_IMAP]] * [[forum/nntp__47__usenet special remote]] diff --git a/doc/tips/flickrannex.mdwn b/doc/tips/flickrannex.mdwn index b3fafc0081..c908150656 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: +Credit for the png library goes to: +Credit for the png tEXt patch goes to: ## 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