Skip to content

Command-line program that downloads liked posts from Tumblr.

License

Notifications You must be signed in to change notification settings

subnomo/tumblr-likes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tumblr-likes

Crates.io

A command-line program for downloading liked posts from Tumblr.

Example of exported HTML

Installation

Download the latest release for your platform.

Or, using cargo:

$ cargo install tumblr-likes

Configuration

In order to download liked posts, you will need an API key. Your blog must be configured to share likes publicly, this can be done by going to your blog's "edit appearance" menu.

  1. Register an application with the Tumblr API. The name and other options don't matter.
  2. Click "Expore API" under the application you just created
  3. Click "Allow"
  4. In the upper right, click "Show Keys"
  5. Copy the API key shown

Usage

On the command line:

$ tumblr-likes -a <api_key> -b <blog>

To export posts to html:

$ tumblr-likes -a <api_key> -b <blog> --export likes.html

If you don't want to provide the API key every time, you can save it into an environmental variable $TUMBLR_API_KEY instead.

By default, liked posts will be downloaded into a downloads folder in the current directory. You can use -d to set a custom output directory.