summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-22 17:26:19 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-22 17:26:19 -0400
commit747ac8a8d7d3932f554f3c5edd04e84c14f7449f (patch)
tree1ef296ab5e129cb6f5e09deac6ccdda4eefb5900 /doc
parenta44e708cb7e1b406d56af697ca11cdbb5a26752d (diff)
tune up
Diffstat (limited to 'doc')
-rw-r--r--doc/special_remotes.mdwn1
-rw-r--r--doc/tips/flickrannex.mdwn17
2 files changed, 13 insertions, 5 deletions
diff --git a/doc/special_remotes.mdwn b/doc/special_remotes.mdwn
index 96cc7790c..3525c7282 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 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