Codewerk
caddyfile check
Tokenizer, formatter and block rules are ported from Caddy v2.11.4 caddyconfig/caddyfile (lexer.go, formatter.go, parse.go; Apache-2.0): quotes, backticks, heredocs, comments, global options block, snippets with {args[n]}/{args[a:b]}/{block} placeholders, named routes and imports of supplied files. Checks: brace and line rules, directives and global options against those registered in Caddy v2.11.4 (others need a plugin), deprecated basicauth/skip_log and {args.N}, undefined, duplicate and.
POST https://code.halowerk.com/v1/caddyfile-checkInputs
| Field | Type | Required | Description |
|---|---|---|---|
| caddyfile | string | Yes | Caddyfile content. |
| path | string | No | |
| files | array | No | Additional files that include/import directives may reference (matched by path or glob; nothing is read from disk). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"caddyfile"
],
"properties": {
"caddyfile": {
"type": "string",
"minLength": 1,
"maxLength": 500000,
"description": "Caddyfile content."
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"default": "Caddyfile"
},
"files": {
"type": "array",
"maxItems": 50,
"description": "Additional files that include/import directives may reference (matched by path or glob; nothing is read from disk).",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"content": {
"type": "string",
"maxLength": 500000
}
}
}
}
}
}Published input example
{
"caddyfile": "(common) {\n\theader X-Frame-Options DENY\n}\nhalowerk.com {\n\timport common\n\treverse_proxy localhost:8080\n}\n"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea