Hugoifier
Quick Start - Hugoifier
Back to top
Hugoifier
Quick Start
Quick Start¶
Convert a Hugo Theme¶
Most Hugo themes include an exampleSite/ directory. Hugoifier assembles a complete, working site from it:
export ANTHROPIC_API_KEY=your_key
python src/cli.py complete themes/my-hugo-theme
# → output/my-hugo-theme/
Then test it:
The Decap CMS admin panel is automatically available at http://localhost:1313/admin/.
Convert Raw HTML¶
For a plain HTML/CSS theme:
Hugoifier sends the main HTML file to the AI backend and converts it to Hugo layout files (_default/baseof.html, partials/header.html, etc.).
Custom Output Directory¶
Whitelabel Decap CMS¶
python src/cli.py complete themes/my-theme \
--cms-name "My CMS" \
--cms-color "#1a1a2e" \
--cms-logo "https://example.com/logo.png"