Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cesarmiquel/backuplikes
Creates a backup of all liked photo posts in your Tumblr account.
https://github.com/cesarmiquel/backuplikes
Last synced: 16 days ago
JSON representation
Creates a backup of all liked photo posts in your Tumblr account.
- Host: GitHub
- URL: https://github.com/cesarmiquel/backuplikes
- Owner: cesarmiquel
- Created: 2013-05-26T03:16:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-29T03:10:32.000Z (over 11 years ago)
- Last Synced: 2024-08-01T00:57:08.690Z (3 months ago)
- Language: JavaScript
- Size: 203 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Backup your Tumblr's liked photo posts
=====================================I love using Tumblr to collect images for inspiration using the like
feature. I created this simple PHP code to download my liked images while
saving all the metadata information. It will aditionally create an index.html
file for you to quickly view your images locally without connecting to
the internet.Install
-------To be able to use this scripts you need PHP and the Imagemagick library (you don't
the PHP bindings since I use system() to execute the utilities). I haven't tried
this on anything other than Ubuntu Linux. To install Imagemagick just do:$ sudo apt-get install imagemagick
You also need to get your OAUTH API key. This is looks complicated but its quite simple.
Go here: http://www.tumblr.com/oauth/register and complete the fields. Since we are not
going to log in most of the fields you can put random junk.To create your backup:
1. Edit backup\_liked.php and change your blogs URL and your API key.
2. Call the script with:php backup\_liked.php
This will retrieve your posts in the directory blogs/. At the end it will store an index.html
file and a posts.json file with all the metadata of your posts. You can use your browser
to view the index.html and your images. If you have a lot of images this can consume a lot
of memory since you are basically opening all of them :-). I will probably have to
do something about this ... for now it works.