forked from patrickjennings/FlickrMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
123 lines (90 loc) · 4.58 KB
/
README
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
==Authors==
Created by: Patrick Jennings
Website: https://github.com/patrickjennings/FlickrMS
==About==
Are you tired of spending a significant amount of time messing around with the
Flickr website? Are you sick of seeing advertisements on every page you load?
Or are you just looking for an easier way to manage your Flickr photos from any
computer? Imagine being able to use the applications you want to view and modify
your photos while still taking advantage of the unlimited storage space of the
Flickr cloud! Paying for Flickr Pro is no longer the only option for satisfying
your desire for photo perfection... not when there is FlickrMS!
This application can be used to mount a Flickr account directly onto your
file system. The photos will seem to be on your local machine but all changes done
will also affect the users Flickr account. Once mounted, the file system will
act like any other directory and you can use any of your favorite image viewers
or editors to access your Flickr photos!
Photos will be placed in directories that represent which photoset the photo
belongs to. If a photo does not belong to a photoset, the photo will appear in
the root directory. A photo that has an empty name in Flickr, will display its
Flickr photo id instead. All of this is to ensure that all of your photos will be
organized the way you intended and are perfectly viewable from the file system.
The application is written in C and was designed for efficiency and compatability.
It will run on any POSIX compliant machine. This means all UNIX-based and BSD-based
machines should be supported. The application will use the lowest amount of resources
possible. Obviously, this application will use your Flickr account to store photos so
no persistent storage is necessary. The internal caching mechanism dynamically grows
to allow for infinite storage capacity while still recognizing remote changes to the
Flickr account.
FlickrMS was written by an experienced and well-educated hacker. As such, the file system
will be tested for bugs and UI malfunctions. If you find any pressing concerns, please
let them be known at the following URL:
https://github.com/patrickjennings/FlickrMS/issues
==Installation==
Dependencies:
FUSE (tested on fuse-2.8.5)
http://fuse.sourceforge.net/
>=Flickcurl-1.21
http://librdf.org/flickcurl/
FlickrMS comes with a custom Makefile that can be used to create the binary
application. To compile and create the binary, simply type:
$ make
To install the binary, type:
$ sudo make install
To uninstall, simply type:
$ sudo make uninstall
==Configuration==
You must allow FlickrMS access to your Flickr account. This is done via the Flickr API
and communication through Flickcurl. You must setup ~/.flickcurl.conf as follows:
$ nano ~/.flickcurl.conf
[flickr]
api_key=2e66493ec959256a79e4e5a3da7df729
secret=c1b99d47790391c3
$
Then visit:
http://www.flickr.com/services/auth/?mobile=1&api_key=2e66493ec959256a79e4e5a3da7df729&perms=delete&api_sig=6417abca6880d676c010600e8c65a045
and select:
[OK, I'LL AUTHORIZE IT]
This will allow the user the ability to link their Flickr account with FlickrMS.
The user will be given a 9-digit FROB that can be given to the flickcurl api to
link the user's account to the interface. Finally, execute:
$ flickcurl -a 123-456-789
where 123-456-789 is the 9-digit FROB given to the user above. This will finish
the linking of the user's account with the flickcurl API and library and the
user should then see the following format in their configuration file:
$ cat ~/.flickcurl.conf
[flickr]
auth_token=-------
api_key=2e66493ec959256a79e4e5a3da7df729
secret=c1b99d47790391c3
$
See http://librdf.org/flickcurl/ for more information on Flickrcurl API
configuration and http://www.flickr.com/services/apps/72157623762128193/
for the info on the api key and secret of FlickrMS.
==Usage==
To mount, execute:
$ flickrms mountDir/
This mounts the file system onto the empty directory 'mountDir'. Then
the you will be able to navigate into 'mountDir' and directly access
your Flickr photos! You will then be able to interact with the files
and folders just like if they were on your local computer.
To unmount, execute:
$ fusermount -u mountDir/
This will remove the file system from the 'mountDir' directory. If you
navigate into 'mountDir' you will notice that your Flickr photos will
no longer be visible.
==Q/A==
Q: Why isn't the flickcurl.pc file not able to be found by pkg-config?
A: It is installed in /usr/local/lib/pkgconfig by default. You will have to add
this directory to the PKG_CONFIG_PATH environment variable using the command:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/