https://github.com/dkhamsing/tumblr_uploadr
:panda_face: Tumblr photo batch uploader
https://github.com/dkhamsing/tumblr_uploadr
batch tool tumblr
Last synced: about 1 year ago
JSON representation
:panda_face: Tumblr photo batch uploader
- Host: GitHub
- URL: https://github.com/dkhamsing/tumblr_uploadr
- Owner: dkhamsing
- License: mit
- Created: 2016-02-08T21:54:36.000Z (over 10 years ago)
- Default Branch: wip
- Last Pushed: 2016-09-08T16:04:19.000Z (over 9 years ago)
- Last Synced: 2024-10-19T01:15:57.810Z (over 1 year ago)
- Topics: batch, tool, tumblr
- Language: Ruby
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tumblr_uploadr
CLI to upload photos in batch to your Tumblr :panda_face:

## Installation
```shell
$ git clone https://github.com/dkhamsing/tumblr_uploadr.git
$ cd tumblr_uploadr/
$ rake install
```
### Credentials
`tumblr_uploadr` requires credentials stored in a `.tumblr` file. Use the [`tumblr_client`](https://github.com/tumblr/tumblr_client) console tool to generate it.
```shell
$ tumblr
Register an application at: http://www.tumblr.com/oauth/apps
OAuth Consumer key:
OAuth Consumer secret:
http://www.tumblr.com/oauth/authorize?oauth_token=
Post-redirect, copy the oauth_verifier
OAuth Verifier:
. .o8 oooo
.o8 "888 `888
.o888oo oooo oooo ooo. .oo. .oo. 888oooo. 888 oooo d8b
888 `888 `888 `888P"Y88bP"Y88b d88' `88b 888 `888""8P
888 888 888 888 888 888 888 888 888 888
888 . 888 888 888 888 888 888 888 888 888 .o.
"888" `V88V"V8P' o888o o888o o888o `Y8bod8P' o888o d888b Y8P
```
## Usage
```
tumblr_uploadr [caption]
```
`tumblr_uploadr` posts photos as drafts to your Tumblr from the command line, `caption` is optional.
### Examples
```shell
$ tumblr_uploadr dkhamsing-travel tokyo16/ 'Tokyo 2016'
```
```shell
# no caption
$ tumblr_uploadr dkhamsing photos/
uploadr 0.1.0
writing log to tumblr_log
uploading photos/ to dkhamsing.tumblr.com ...
found 49 jpgs
1/49 uploading photos/IMG_5619.JPG ...
# ...
```
## Credits
- [`tumblr_client`](https://github.com/tumblr/tumblr_client)
- [giphy](http://gph.is/19776Kk)
## Alternatives
- [miohtama/tumblr-upload](https://github.com/miohtama/tumblr-upload/) `python`
- [bfred-it/tumblr-upload](https://github.com/bfred-it/tumblr-upload) `node` `js`
## Contact
- [github.com/dkhamsing](https://github.com/dkhamsing)
- [twitter.com/dkhamsing](https://twitter.com/dkhamsing)
## License
This project is available under the MIT license. See the [LICENSE](LICENSE) file for more info.