chore: updated config in README 7c78b42f
Steve · 2026-11-16 23:29 1 file(s) · +13 −10
README.md +13 −10
70 70
71 71
Use the following environment variables to configure Gargantua
72 72
73 -
- `GARGANTUA_CORPUS` - Text used for Markov babbler (default looks for `moby.txt` in the repo)
74 -
- `GARGANTUA_HOST`- Host used (default `127.0.0.1`)
75 -
- `GARGANTUA_PORT` - Port used (default `8090`)
76 -
- `GARGANTUA_LOG_LEVEL` - Minimum log level: `debug`, `info`, `warn` or `error` (default `info`)
77 -
- `GARGANTUA_LOG_FORMAT` - Log format: `text` or `json` (default `text`)
78 -
- Gargantua uses a slow drip method for writing the html that will keep the scraper longer. You can tweak the range of delay used between writes and the amount of data written.
79 -
  - `GARGANTUA_DELAY_MIN_MS` - Minimum delay in ms (default `150`)
80 -
  - `GARGANTUA_DELAY_MAX_MS` - Maximum delay in ms (default `250`)
81 -
  - `GARGANTUA_CHUNK_MAX_BYTES` - Maximum number of bytes in a written chunk (default `45)
82 -
- `robots.txt` - Defaults to `User-agent: * Disallow: /` to prevent indexing; the goal i to direct a disobedient crawler to this deployed server and get it stuck.
73 +
| Variable | Description | Default |
74 +
| --- | --- | --- |
75 +
| `GARGANTUA_CORPUS` | Text file used for the Markov babbler | `moby.txt` |
76 +
| `GARGANTUA_HOST` | Host to listen on | `127.0.0.1` |
77 +
| `GARGANTUA_PORT` | Port to listen on | `8090` |
78 +
| `GARGANTUA_LOG_LEVEL` | Minimum log level: `debug`, `info`, `warn` or `error` | `info` |
79 +
| `GARGANTUA_LOG_FORMAT` | Log format: `text` or `json` | `text` |
80 +
| `GARGANTUA_DELAY_MIN_MS` | Minimum delay between drip writes, in ms | `150` |
81 +
| `GARGANTUA_DELAY_MAX_MS` | Maximum delay between drip writes, in ms | `250` |
82 +
| `GARGANTUA_CHUNK_MAX_BYTES` | Maximum number of bytes in a written chunk | `45` |
83 +
84 +
Gargantua uses a slow drip method for writing the html that will keep the scraper longer. You can tweak the range of delay used between writes and the amount of data written with the `DELAY` and `CHUNK` variables above.
83 85
86 +
`robots.txt` defaults to `User-agent: * Disallow: /` to prevent indexing; the goal is to direct a disobedient crawler to this deployed server and get it stuck.
84 87
85 88
## Reasoning
86 89