logoalt Hacker News

Show HN: Git-based front-end interface for Hugo

29 pointsby arashThrlast Wednesday at 9:57 PM9 commentsview on HN

I built simple Git-based CMS for Hugo static site generators. No backend, no database, no configs. Just login with Github, select your repo and start editing. If you use Hugo for blogging, feel free to check it out at https://github.com/arashthr/hugo-flow

> Why did you make it? I wanted to be able to write posts on my phone, and it's not easy to do that with Markdown. Adding images is also always a headache: copy them, minimize and compress them, remember the correct syntax for images, and type the path.

> How did you make it? I used Google Stitch for the design and Antigravity for coding.

> What about alternatives? Check out Front-end interfaces page in Hugo website. None of them is as simple and dumb as I wanted.

> But is it actually working? It's not perfect, but it works well for me. You're welcome to open issues if you find problems.


Comments

hiAndrewQuinntoday at 2:44 PM

Very cool, fills a niche. Could you put a link to the demo right in the README.md? It's hard to click through on mobile

show 1 reply
davidcollantestoday at 5:17 PM

Not to nickpick, but it seems GitHub centric. Is there a way it could be used simply with git (running on a VPS, on the user space, that is, accessed via SSH)?

albert_etoday at 1:26 PM

I have used hugo both dircetly and also via Netlify hosting.

Maintaining the side on a PC became tedious.

Netlify made life easier by emoving dependency on a local machine and offering an online CMS -- but the UX of editing is very irksome and not conducive to writing.

There were a few nagging bugs in the Netlify CMS editor -- like cursor always jumping to end of line if you are trying to edit in middle of a line. I finnaly fixed this bug by spending 30 mintes with Claude Code.

But yeah -- I have been meaning to build my own online CMS to allow frictionless editing and blog posting. Will either use this or take some inspiration from this for sure. Good work - looks nice!

gregman1today at 1:24 PM

Is it similar to battle tested DecapCMS? https://decapcms.org/

show 1 reply
loloquwowndueotoday at 1:36 PM

You could have told your LLM to NOT use node/js/npm and made the thing far more secure from day one. Npm is a security nightmare.

Also you say it’s git-based but it depends on GitHub. GitHub is not git. What if I want to use another git forge or god forbid a local repo?

I have a similar thing but it doesn’t assume GitHub and is coded in Python (by hand, it’s like 100 lines of Python and flask). Serves my needs! Simple and dumb.

show 1 reply
Terrettalast Friday at 8:47 PM

You know who else used git backed pages?

https://github.com/gollum/gollum/wiki

This is pretty simple and dumb :-)

ahmetcvdcelktoday at 3:23 PM

[flagged]