Drafts is a genuinely useful text creation tool for iOS devices.
With the Pro version you can extend the tool with custom actions, either from the community, or written yourself (Javascript).
Collecting / writing / adapting useful scripts for working with this blog from my phone here.
To complete the setup, I recommend the Working Copy git client.
#