Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subnomo/tumblr-likes
Command-line program that downloads liked posts from Tumblr.
https://github.com/subnomo/tumblr-likes
rust tumblr tumblr-downloader tumblr-like
Last synced: 3 months ago
JSON representation
Command-line program that downloads liked posts from Tumblr.
- Host: GitHub
- URL: https://github.com/subnomo/tumblr-likes
- Owner: subnomo
- License: mit
- Created: 2018-12-05T23:17:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-25T01:40:17.000Z (over 1 year ago)
- Last Synced: 2024-07-17T14:38:48.406Z (4 months ago)
- Topics: rust, tumblr, tumblr-downloader, tumblr-like
- Language: Rust
- Size: 95.7 KB
- Stars: 40
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tumblr-likes
[![Crates.io](https://img.shields.io/crates/v/tumblr-likes.svg)](https://crates.io/crates/tumblr-likes)### A command-line program for downloading liked posts from Tumblr.
![Example of exported HTML](https://i.imgur.com/8WAxBit.png)
## Installation
Download the [latest release for your platform](https://github.com/subnomo/tumblr-likes/releases).
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](https://www.tumblr.com/oauth/apps). 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 -b
```**To export posts to html**:
```
$ tumblr-likes -a -b --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.