Skip to content
Fourohtwo

Check source files for license headers

code.halowerk.com/v1/license-headers

Check source files for license headers: SPDX-License-Identifier against the expected SPDX expression, classic license notices, copyright lines; suggests headers per language. Reads the first lines of every source file (inline files, or up to 3000 files of a public repository or git bundle; languages and comment syntax from the scc language table, data and prose formats skipped).

BaseAnswering
POSThttps://code.halowerk.com/v1/license-headers

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://code.halowerk.com/v1/license-headers", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"expected_license":"MIT","files":[{"content":"// SPDX-License-Identifier: MIT\n// Copyright (c) 2026 Acme\nexport const a = 1;\n","path":"src/a.js"},{"content":"import os\n","path":"src/b.py"}]}),
});
console.log(await res.json());

Example input

{
  "expected_license": "MIT",
  "files": [
    {
      "content": "// SPDX-License-Identifier: MIT\n// Copyright (c) 2026 Acme\nexport const a = 1;\n",
      "path": "src/a.js"
    },
    {
      "content": "import os\n",
      "path": "src/b.py"
    }
  ]
}