News for hackers. Stuff that matters.
Re:How to start a blog using Hugo by jelger on Tuesday January 07, 2020 @06:05AM (#21978861)
I like the idea of static blogs. However, I didn't accomplish to find a great workflow to use hugo from my android phone while traveling. Using git on a phone is a pain
Re:How to start a blog using Hugo by kingosticks on Tuesday January 07, 2020 @07:11AM (#21979195)
I found an app called Teddy Hyde[0] which is designed to make this workflow easier. It's focused around Jekyll but perhaps it's flexible enough for Huge also? Ultimately I couldn't get myself to write anything regularly so I gave up with the whole idea, but the app seemed decent.

[0] https://play.google.com/store/apps/details?id=com.EditorHyde...

Re:How to start a blog using Hugo by rwmj on Tuesday January 07, 2020 @06:36AM (#21979018)
Yes this is where I got blocked on this too. I like using the WP Android app to upload photos when travelling. Obviously a static site by its very nature cannot interact with a phone app, so this seems like a difficult/intractable problem.
Re:How to start a blog using Hugo by netsharc on Tuesday January 07, 2020 @07:12AM (#21979207)
I have the same use case and have been wondering about solutions too. I'm hosting on Netlify, and when I push to my gitlab repository, Netlify's CI fetches, builds and deploys the site. I've wondered if I can run a script somewhere that periodically checks a private Instagram account (so not my main one), and when it sees a new post, it would download the photo and caption, creates a Markdown post and pushes everything into the git repo.
Re:How to start a blog using Hugo by jl-gitlab on Tuesday January 07, 2020 @07:23AM (#21979271)
You could potentially use a regularly scheduled pipeline in GitLab CI to do this. You'd need to use a user token instead of the pipeline token since you want to push back into the repository, but this should be possible. Then, when GitLab CI updates the repo, Netlify CI should jump in.