Settings

Theme

Show HN: Hugoifier – convert any HTML template to a Hugo and Decap setup via AI

github.com

1 points by ragelink a month ago · 1 comment · 1 min read

Reader

I built Hugoifier to solve a problem I kept running into: simple projects have existing HTML templates or want a simple website, but setting up Hugo properly (layouts, partials, hugo.toml, content structure) plus wiring in a git-native CMS takes real time even when you know what you're doing.

Hugoifier automates the full pipeline: 1. Analyze – inspects an HTML theme or existing Hugo theme for structure 2. Hugoify – uses an LLM to convert raw HTML into valid Hugo Go templates (baseof.html, partials, index layouts) 3. Decapify – generates a Decap CMS config.yml auto-tuned to the site's content structure, with whitelabel support

The output is a deployable Hugo site + CMS, ready to push to GitHub and serve from Cloudflare Pages or GitHub Pages.

Why Hugo + Cloudflare: no database, no server, statically compiled HTML served from the edge. Practically unhackable, infinitely scalable, nearly free to host.

Supports Anthropic (default), OpenAI, and Google backends. MIT licensed.

pip install hugoifier hugoifier complete themes/my-theme

GitHub: https://github.com/ConflictHQ/hugoifier Docs: https://hugoifier.dev

luiskarlos a month ago

This looks handy. Every time I find a clean HTML template, I dread the hour or two of 'surgery' required to chop it up into Hugo partials. If this can handle the boilerplate and wire up Decap CMS automatically, it’s a massive time-saver for landing pages. Nice work!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection