# Publish from mobile

**URL:** <https://discourse.gohugo.io/t/publish-from-mobile/9606>\
**Category:** Uncategorized\
**Created:** [December 14, 2017, 1:03pm UTC](https://discourse.gohugo.io/t/publish-from-mobile/9606 "2017-12-14T13:03:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [December 14, 2017, 1:03pm UTC](https://discourse.gohugo.io/t/publish-from-mobile/9606/1 "2017-12-14T13:03:18Z")

</div>

This doesn’t really fit support or any categories, it’s just something I have been thinking about lately.

Right now, I use a markdown editor on my phone, sync it with icloud and copy paste into hugo when I get to a computer. Then, a script handles pushing to git hub, pulling to the server and building the pages.

Anyone else have a similar setup?

I’m thinking about improving this process with the workflow app, so that at least the iCloud version can have the frontmatter I need.

For the building, a simple cron job would do the trick, pulling content from github or icloud and running the command is more than enough.

---

<div class="post-metadata">

**Author:** ![jhvanderschee](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jhvanderschee/32/18241_2.png) [@jhvanderschee](https://discourse.gohugo.io/u/jhvanderschee)\
**Post date:** [December 14, 2017, 1:37pm UTC](https://discourse.gohugo.io/t/publish-from-mobile/9606/2 "2017-12-14T13:37:31Z")

</div>

How about writing in a text editor and pasting the code directly in Github? Just switch to desktop version on your mobile and insert your code through a commit.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [December 14, 2017, 1:55pm UTC](https://discourse.gohugo.io/t/publish-from-mobile/9606/3 "2017-12-14T13:55:03Z")

</div>

I think (conceptually) something like the open source Netlify CMS would be a good option. I admit I haven’t tested it, but it just reached 1.0 and has plenty of features and a built-in markdown editor. You don’t need to use Netlify to host; if you already have a deployment setup triggered by commits to GitHub it should just work.

A side comment is this …

> <https://twitter.com/bepsays/status/840259761971036162>

---

<div class="post-metadata">

**Author:** ![Shadow53](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/shadow53/32/3018_2.png) [@Shadow53](https://discourse.gohugo.io/u/Shadow53)\
**Post date:** [December 14, 2017, 8:21pm UTC](https://discourse.gohugo.io/t/publish-from-mobile/9606/4 "2017-12-14T20:21:35Z")

</div>

I use the Termux terminal emulator on my Android phone with `git` installed, then `git clone` my Hugo site to `/sdcard/Documents/markor/` where the app Markor can edit my markdown.

I found that I could download the Hugo for Linux (ARM64) and place it at `/data/data/com.termux/files/usr/bin/hugo` to use Hugo on my phone. The only issue is that Hugo cannot download files, but that is fine for me running a local site.

So basically I have a full Hugo workflow on my phone. I find that the Hacker’s Keyboard app works best with Termux, personally.

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [December 14, 2017, 8:31pm UTC](https://discourse.gohugo.io/t/publish-from-mobile/9606/5 "2017-12-14T20:31:03Z")

</div>

That is amazing! I’m gonna try it myself.
