Codewerk
repo stats
Counts files, lines, code, comment and blank lines and simple complexity tokens per language at HEAD, using the language definitions of scc v4.1.0 (MIT: extensions, file names, shebangs, comment markers, string quotes, docstrings, nested comments), skipping binaries and blobs over 512 KB. History activity (from a shallow clone of up to 1000 commits or a bundle) gives first/last commit dates, active days, commits per month, commits in the last 30/90/365 days, merge commits, the number of.
POST https://code.halowerk.com/v1/repo-statsInputs
| Field | Type | Required | Description |
|---|---|---|---|
| repo_url | string | No | Public HTTPS clone URL, e.g. https://github.com/owner/repo. No credentials, port 443 only; ssh/git/file URLs are rejected. |
| bundle_base64 | string | No | Alternative to repo_url: a git bundle (git bundle create repo.bundle --all), base64-encoded, up to about 180 KB. |
| ref | string | No | Branch or tag to analyse instead of the default branch. |
| files | array | No | Alternative: files with content (languages only, no activity). |
| history_depth | integer | No | Number of commits used for the activity figures. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"repo_url": {
"type": "string",
"minLength": 12,
"maxLength": 300,
"pattern": "^https://\\S+$",
"description": "Public HTTPS clone URL, e.g. https://github.com/owner/repo. No credentials, port 443 only; ssh/git/file URLs are rejected."
},
"bundle_base64": {
"type": "string",
"minLength": 24,
"maxLength": 250000,
"description": "Alternative to repo_url: a git bundle (git bundle create repo.bundle --all), base64-encoded, up to about 180 KB."
},
"ref": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._/-]*$",
"description": "Branch or tag to analyse instead of the default branch."
},
"files": {
"type": "array",
"minItems": 1,
"maxItems": 300,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"content": {
"type": "string",
"maxLength": 200000
}
}
},
"description": "Alternative: files with content (languages only, no activity)."
},
"history_depth": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 300,
"description": "Number of commits used for the activity figures."
}
}
}Published input example
{
"repo_url": "https://github.com/octocat/Hello-World"
}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