Tumblr-gist.el is a project mainly written in Emacs Lisp, it's free.
Script to yank a region into a gist and post it to tumblr