Liberate your photos from the hosting platforms lockin.
#Libereco
Liberate your photos from the hosting platforms lockin
A node.js server which allows you to migrate your photos between Flickr and 500px as easy as drag-n-drop.
Try it for yourself: http://libere.co/
npm install libereco
Could be deployed to https://www.nodejitsu.com/ out of the box:
cd node_modules/libereco/
jitsu env set api_500px_key <500px consumer key>
jitsu env set api_500px_secret <500px consumer secret>
jitsu env set api_flickr_key <flickr api key>
jitsu env set api_flickr_secret <flickr api secret>
jitsu deploy
Read below for more details.
You need at least two services enabled for application to work.
Environment variables:
export api_500px_key <500px consumer key>
export api_500px_secret <500px consumer secret>
Or npm config:
npm config set libereco:api_500px_key <500px consumer key>
npm config set libereco:api_500px_secret <500px consumer secret>
Environment variables:
export api_flickr_key <flickr api key>
export api_flickr_secret <flickr api secret>
Or npm config:
npm config set libereco:api_flickr_key <flickr api key>
npm config set libereco:api_flickr_secret <flickr api secret>
Environment variables:
export host libereco.yourapp.com
Or npm config:
npm config set libereco:host libereco.yourapp.com
8000
):Environment variables:
export port 1337
Or npm config:
npm config set libereco:port 1337
static
):Useful for customizing UI of the app and keeping npm update
functionality
Environment variables:
export path /var/www/custom_root
Or npm config:
npm config set libereco:path /var/www/custom_root
index.html
):For example temporally switching to the maintenance page
Environment variables:
export index maintenance.html
Or npm config:
npm config set libereco:index maintenance.html
npm start libereco
You can specify all the config parameters on start time:
index=maintenance.html path=/var/www/theme2 port=1337 npm start libereco
Open your favorite modern browser and liberate your photos. :)
Take it away: Chrome, Safari, Firefox
Getting there: iPad
Eventually: Internet Explorer, iPhone
(The MIT License)
Copyright (c) 2012 Alex Indigo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.