aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/flickrannex.mdwn
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8 <develop@web>2013-05-22 20:42:13 +0000
committerGravatar admin <admin@branchable.com>2013-05-22 20:42:13 +0000
commit60500e1b675520ac1d656b435ab9f35bd2b6b602 (patch)
tree8ce1b92025f48f690c3e657b60ea94a350fd804d /doc/tips/flickrannex.mdwn
parenta6e4d912f77815ba09ac5fe402c18af4a688397f (diff)
Diffstat (limited to 'doc/tips/flickrannex.mdwn')
-rw-r--r--doc/tips/flickrannex.mdwn34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/tips/flickrannex.mdwn b/doc/tips/flickrannex.mdwn
new file mode 100644
index 000000000..b3fafc008
--- /dev/null
+++ b/doc/tips/flickrannex.mdwn
@@ -0,0 +1,34 @@
+Hook program for gitannex to use flickr as backend
+
+# 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
+
+## Install
+Clone the git repository in your home folder.
+
+ git clone git://github.com/TobiasTheViking/flickrannex.git
+
+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:
+
+ 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.