Better Mobile Blogging Setup
A couple weeks ago, I managed to write a post from my phone because I finally took the time to get my site build process pushed to the server. Today, I spent a few minutes Googling and tweaking to get a better mobile flow set up.
Termux is a handy Android terminal emulator which let me get the pieces connected. To test publishing from my phone, I wrote a short post using nano
which was a less-than-ideal experience.
I reinstalled Markor, a great Markdown editor for Android to use as my writing platform. It lets you navigate between directories on the phone and has a nice writing interface. It also lets you set up templates, so my post front matter is ready to go when I start a new post.
The hardest part was getting my repo into shared storage. By default, Termux doesn't have shared storage access because you don't need it for anything. I finally found a blog post which pointed me to the Termux wiki termux-setup-storage
to show the storage permission popup. I copied my repo into a shared folder and presto: I can now use Markor to edit.
Baby steps.
Comments