Whilst trapped in the car (waiting for the baby to wake up), I felt the need to publish some changes to my blog. The only device I had on hand was my trusty Android phone, so I set about trying to make the code changes from there. Here is how I did it…

My blog is a Jekyll static site based on Markdown. It’s currently hosted in GitHub Pages and the CI/CD pipeline is handled by Netlify. Any change I commit to the master branch of the GitHub repo will automatically be published via Netlify to GitHub Pages.

All I wanted to do was tweak a couple of Markdown files and commit them to my repo - but from my phone.

GitHub Web App

The first method of doing this that came to mind was to simply login to the GitHub website via my mobile browser, or to download the GitHub Android app. Sadly, the app does not allow for code changes, it seems to be real-only. The website does allow code changes, but it’s certainly not an IDE. It was straight forward enough to edit and commit my Markdown, but it felt quick, and dirty!

Android IDE

If I wanted to edit the code properly via an IDE, I would need both a Git client and an IDE, or an IDE with an integrated Git client, such as VS Code on my desktop.

Following a quick search on the Google Play store, I decided to try an app called Spck Code Editor.

Well what can I tell you, it worked like a charm!

The Git integration was fairly seamless. All I had to do was go back to the GitHub web page and generate a personal access token. Once authenticated, I could simply enter the URL of one of my repos and clone it locally to the phone.

The in-built file manager made it easy for me to locate the files I needed, and the code editing worked fine too - although there was no obvious syntax support for Markdown like there was for .html, .css and .js files.

Committing my changes was simple too. Once committed, I can let Netlify handle the rest.

Job done!


Spck Code Editor was really nice, but the lack of Markdown support was disappointing (in this particular context). An alternative plan of attack would be to download separate apps for Git, such as MGit and a separate code editor that supports Markdown, such as Simple Markdown. Seems a shame to jump between two apps though.