Hugoifier

hugoifier / docs / getting-started / installation.md
1
# Installation
2
3
## Prerequisites
4
5
- **Python 3.11+**
6
- **Hugo extended** — for building the generated site locally (`brew install hugo` on macOS)
7
- **At least one AI API key**
8
9
## From Source
10
11
```bash
12
git clone https://github.com/ConflictHQ/hugoifier.git
13
cd hugoifier
14
pip install -r requirements.txt
15
```
16
17
## Docker
18
19
```bash
20
git clone https://github.com/ConflictHQ/hugoifier.git
21
cd hugoifier
22
```
23
24
Then run with your preferred backend:
25
26
=== "Anthropic (default)"
27
28
```bash
29
ANTHROPIC_API_KEY=your_key docker compose up
30
```
31
32
=== "OpenAI"
33
34
```bash
35
OPENAI_API_KEY=your_key HUGOIFIER_BACKEND=openai docker compose up
36
```
37
38
=== "Google"
39
40
```bash
41
GOOGLE_API_KEY=your_key HUGOIFIER_BACKEND=google docker compose up
42
```
43
44
## API Keys
45
46
Set the key for your chosen backend:
47
48
| Backend | Environment Variable | Model |
49
|---------|---------------------|-------|
50
| Anthropic (default) | `ANTHROPIC_API_KEY` | `claude-sonnet-4-6` |
51
| OpenAI | `OPENAI_API_KEY` | `gpt-4-turbo` |
52
| Google | `GOOGLE_API_KEY` | `gemini-1.5-pro` |
53
54
Override the model with `ANTHROPIC_MODEL`, `OPENAI_MODEL`, or `GOOGLE_MODEL`.
55

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button