I've been using ecto, which has apparently been abandoned by its maker, for years. Not only does it allow me to create and compose offline in HTML or WYSIWYG modes, but it maintains a database of all 2000+ of my blog posts, making it easy to revise or link back to any of them. I sure wish someone would update it for current WordPress features, such as featured images.