TMBLR(1)

NAME
tmblr - a silly tumblr client

SYNOPSIS
tmblr [-aqivlChm] [-b blog] [-f config] [-d date] [-s state] [-t tags]
      [-u url] [-T title] [-c caption] [-e excerpt] [-A author]
      [FILE...]

DESCRIPTION
tmblr lets you post audio, video, photos, links, quotes or text to your tumblr.

OPTIONS

-aqivlC
    Sets the post type. Audio (-a), quote (-q), photo (-i), video (-v), link (-l) or chat (-C). Defaults to text.

-h  Display usage information and exit.

-b blog
    Post to blog.

-f config
    Read the blog name and oauth tokens from the file -config. Defaults to ~/.tmblr or (if it is set) the value of the environment variable TMBLR_BLOG.

-d date
    Date and time of the post.

-s state
    State of the post: published, draft, queue or private.

-t tags
    Comma separated list of tags.

-u url
    Source URL. Not listed in the API docs, but does something...?

-T title
    Optional title of post, or title of linked page (link posts).

-c caption
    A caption for the post. Only for photo, video and audio posts. To compose a caption from your EDITOR, set caption to "."

-e excerpt
    Excerpt from the page the link points to. Only for link posts.

-A author
    Name of the author from the page the link points to. Link posts only.

-m  Set the format to markdown.

CONFIGURATION
By default, tmblr looks for oauth tokens and your blog name in $HOME/.tmblr. If the file doesn't exist, it is created for you.

  [Tumblr]
  blog: my-tumblr
  consumer_key: Zeishahtie1suYae0Owah2eisoo3aeveik9queefoota4aiYoe
  consumer_secret: UiZ6Ahng4woh8edueChiesai1oe0ehucahdeengae8eZ5iasha
  token: eiV2ezoo9Eiph1Oophuquio2koh0gahhi6ootoseeRieWeelah
  token_secret: wieMo9oZ0ahja2thaikohhuso6Xo2Phahgheepha8Thohs5xah

You can get oauth tokens by registering an application at https://www.tumblr.com/docs/en/api/v2

EXAMPLES
Post an image with a caption and some tags:

  $ tmblr -i -c "dance, dance" -t "dancing" hello.jpg

Post a video:

  $ tmblr -v video.mp4

Post a bunch of images as drafts:

  $ tmblr -s draft *.png

Write a text post from your editor:

  $ tmblr

AUTHOR
bie <bie@kyber.io>