Skip to content

behaghel/tumblishr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tum, a simple command to manage a tumblr blog.

This is a command line tool written in scala. The purpose is to let you manage your Tumblr blog more or less like a git repository. Your posts are markdown files in a local directory. The name of the file is the slug of the post. The tags are metadata embedded into the markup.

slug.md content:
=====================================
# my post title
bla bla bla...
bla bla[1]

[1]: http://...
<!-- tags:poney,unicorn -->
=====================================

Usage

To publish a post:
    tum [-u <user>] [--force] <file>
To list posts:
    tum [-u <user>] -l [-r [<type>[ <status>]]]
To print diff between local and tumblr
    tum [-u <user>] -d
To get remote post into local file:
    tum [-u <user>] -g <file>
To commit a local change to a remote post:
    tum [-u <user>] -c <file>
To print this help:
    tum -h

Publishing workflow

I use it this way:

  1. write a new post in file post.md
  2. then I push it as draft: $ tum -u me post.md
  3. then I review, optionally correct it and publish it via tumblr web ui.
  4. then I resync local with online version: $ tum -u me -g post.md

Please Note

This project requires some more hacking to be really useful. Contact me if you are interested in it. PR welcome of course.

About

drive your tumblr with one command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages