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

github.com · ragelink · 4 days ago · view on HN · tool
quality 1/10 · low quality
0 net
AI Summary

Hugoifier is an open-source tool that automates conversion of HTML templates into Hugo static sites with integrated Decap CMS configuration, using LLMs to handle template conversion and CMS config generation.

Entities
Hugoifier Hugo Decap CMS Anthropic OpenAI Google Cloudflare Pages GitHub Pages
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