Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Engineering Corpus

✓ service owner · engineeringcorpus.com

by ymcbzrgnversion 0.1.0i★ 0iRuns on your computerOfficial site ↗

How to install

What it does

Research agents over MCP that study open-source projects and cite lines, license and a receipt.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Use together with

Skills that teach the AI this kind of work; they work alongside this one

last30days-skill

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

by mvanhorn★ 75,1131 skills

Skill · How-to guide

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6991 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6311 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Engineering Corpus. Follow https://mcp.popnx.com/i/engineeringcorpus-engineering-corpus.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 26, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Engineering Corpus for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "engineering-corpus": { "command": "uvx", "args": [ "engineering-corpus", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Engineering Corpus tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus",
            "serve"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Engineering Corpus and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Engineering Corpus or shows a Engineering Corpus tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Engineering Corpus yet

Engineering Corpus runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Engineering Corpus

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Engineering Corpus for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user engineering-corpus -- uvx engineering-corpus serve 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Engineering Corpus tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user engineering-corpus -- uvx engineering-corpus serve
  4. Type /mcp in Claude Code

    You should see Engineering Corpus listed as connected

  5. Try it

    Use Engineering Corpus and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Engineering Corpus or shows a Engineering Corpus tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Engineering Corpus for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "engineering-corpus": { "command": "uvx", "args": [ "engineering-corpus", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Engineering Corpus tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Engineering Corpus and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Engineering Corpus or shows a Engineering Corpus tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Engineering Corpus for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "engineering-corpus": { "type": "stdio", "command": "uvx", "args": [ "engineering-corpus", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Engineering Corpus tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Engineering Corpus and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Engineering Corpus or shows a Engineering Corpus tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Engineering Corpus💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user engineering-corpus -- uvx engineering-corpus serve

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "engineering-corpus": {
      "command": "uvx",
      "args": [
        "engineering-corpus",
        "serve"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "engineering-corpus": {
      "command": "uvx",
      "args": [
        "engineering-corpus",
        "serve"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "engineering-corpus": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "engineering-corpus",
        "serve"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
com.engineeringcorpus/engineering-corpus
Downloads per weeki
27/wk
Verified domain
✓ engineeringcorpus.com
Connection
Runs on your computer
Latest versioni
0.1.0
Published to registryi
Nov 26, 2026
Code last changedi
Nov 25, 2026
Maker
ymcbzrgn
Packages
pypi: engineering-corpus
oci: ghcr.io/ymcbzrgn/engineering-corpus:0.1.0
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified against the domain engineeringcorpus.com (the registry checks domain ownership)

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for engineering-corpus@0.1.0

Checks only this package version, not every dependency · checked Nov 26, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/engineeringcorpus-engineering-corpus.svg)](https://mcp.popnx.com/en/servers/engineeringcorpus-engineering-corpus)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 0% of the other 6831 servers in this category
  • Published to the registry more recently than 99% of the other 6831 servers in this category
  • Basic checks equal to or better than 99% of the other 6831 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Engineering Corpus safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.1.0) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv), Docker on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 28.9KUpdated 12 days ago

Connect now (has URL) · sign-in✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.3KUpdated 6 days ago

Connect now (has URL) · needs a key✓ service owner · exa.aiTried by the PopNx team

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Connect now (has URL)3 tools · light✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 3 months ago

Connect now (has URL)4 tools · light✓ empryo.com

COTAL actions (cotal.ai)

cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls

by Cotal-AIGrowing★ 412Updated 3 months ago

Connect now (has URL)12 tools · light✓ service owner · cotal.ai
Compared with similar ones
This one
Engineering Corpus
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesYesYesNoNo
Basic checks3/35/52/44/44/44/4
LicenseMITMITMITCC-BY-4.0NOASSERTIONApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Engineering Corpus

Research agents that cite their sources. They study how serious open-source projects solved your problem, and they run inside the coding agent you already use. Engineering Corpus gives them a library of the public GitHub repos you choose and returns the exact lines at a pinned commit, the license of every file, and a receipt for each source. The engine is MIT and runs on your machine, on the CPU. On one question, the agent's page shows that deer-flow accepts a server's Retry-After of up to 24 hours while tradingagents caps it at 60 seconds, each cited with its lines.

Docs · How the benchmark works · Limits · Changelog

Try it with one command. It indexes two small repos, runs two searches, needs no account and no key, and the first run downloads an embedding model of about 600 MB.

uvx engineering-corpus demo

The Quickstart connects it to Claude Code or Codex.

What an agent hands back, from hits to receipts:

Text version

  1. Research agent (pack/agents)
  • You ask one of seven agents, inside the coding agent you already use: corpus-miner, design-explorer, precedent-reviewer, prior-art-researcher, provenance-guard, test-scout and usage-finder.
  • The receipt rules are the same block in all seven.
  1. Corpus tools (server.py)
  • Twelve tools, all read-only: corpus_search, corpus_compare, corpus_explore, corpus_read, corpus_grep, corpus_symbols, corpus_references, corpus_context, corpus_package, corpus_usage, corpus_repos and corpus_status.
  • Corpus text is treated as evidence. Every result that holds corpus text has a notice that says so. With --agent-files warn, a hit on a file written to steer agents has a warning.
  1. Search, alongside Read and grep, Structure (server.py)
  • corpus_search returns one hit per file, best first.
  • Each hit has a license class, a permalink pinned to the commit, and a snippet for P, B, W and C. The result lists one verdict for each class.
  1. Read and grep, alongside Search, Structure (read.rs)
  • corpus_read: the file's text at the indexed commit, only for files the secret scan saw. A page is at most 200 lines and 16,000 characters, cut at whole lines.
  • corpus_grep: a regex over the same files, at most 100 matches, each line cut at 300 characters.
  1. Structure, alongside Search, Read and grep (symbols.rs)
  • corpus_symbols and corpus_references find definitions and references by name. References are inferred.
  • corpus_context shows a definition with its callers, tests and docs.
  • corpus_package lists which repos use a package, at which version, with lockfile lines.
  • corpus_usage shows call sites of an API with their error path.
  1. The report (usage-finder.md)
  • Every citation is written in full: owner/repo@commit and path:line.
  • A snippet is pasted only when the user is told to paste lines, and only for classes P, B, W and C. R and U are always pattern only.
  1. The receipt block (usage-finder.md)
  • bytedance/deer-flow@35656d6a9fe2ac76ddcf40335ede7361504ddf5b | backend/packages/harness/deerflow/models/claude_provider.py:376-447 | class P (MIT) | pattern only
  • One line per cited source: the 40 character commit, the lines, the class and its SPDX id (none for U).
  • Then pattern only, or copied with notice and a notice line with the copyright and the license name.
  • No source cited: No sources cited.
  1. The closing line (usage-finder.md)
  • Licence classes are automated verdicts, not legal advice.
  • The agents print this line last.

Beside the steps:

  • Class verdicts (server.py)
  • P: reuse the code if you keep its copyright and license notice.
  • B: reuse the code with its notice. The names and logos are excluded.
  • W: changes to these files stay under the same license; keep the notice.
  • C: reuse puts your derived work under the same license; keep the notice.
  • R and U: location only. Read the file on GitHub and reuse the pattern, without the code.
  • Each verdict says it is automated and is not legal advice.

One brief

A developer asks:

my Python agent calls an LLM API and sometimes gets rate limits and timeouts. How do serious projects retry a failed LLM or HTTP request with exponential backoff, and which approach fits an app that runs as one process? I want no new services, and I can only copy code under permissive licenses.

A model can answer that question from memory. Memory holds the general advice. What each project chose is in its code, and the projects differ. One detail of this question shows it: how long to wait when a server sends a Retry-After header.

Claude Code ran the prior-art-researcher agent on that question on 2026-11-13, against an index of 14 public repos, the set the project uses to test comparisons. The page it returned is in docs/example-brief.md, unedited. Its pick, in its words:

Pick: B, your own loop, with the SDK's `max_retries=0` whenever an SDK sits underneath. The deciding constraint is that your client is unknown and the general case is any failed HTTP request. A only exists where an SDK offers the setting. B covers SDK calls and raw httpx/requests/urllib calls with one policy, and adds no dependency or service. Its state stays local, which is all one process needs (inference).

Every source on the page gets a receipt, for example:

bytedance/deer-flow@35656d6a9fe2ac76ddcf40335ede7361504ddf5b | backend/packages/harness/deerflow/models/claude_provider.py:376-447 | class P (MIT) | pattern only

The agent made 52 calls to the corpus tools in 862 seconds, on Claude Opus 5.5: 99,224 output tokens and 1,802,609 input tokens, 1,539,847 of them cached context read again on later steps. The run cost $3.68 at list prices.

To get a brief for your own question, ask your agent to run the prior-art-researcher agent on it.

How it works

Indexing builds one index from the repos you choose. Searching reads it. The research agents sit on top of searching and write the receipts. The picture at the top of this page shows what they hand back. ARCHITECTURE.md describes each step.

Indexing, from a slice file to the index:

Text version

  1. Intake (intake.py)
  • URLs must be https://github.com/owner/repo. A repo marked private in the slice file and owners that start with an excluded prefix are dropped. The engine does not check visibility on GitHub: list public repos only (corpus stars leaves private stars out).
  • Owner: letters, digits and hyphens, at most 39. Repo name: at most 100.
  • slice.toml: repos and exclude_owners; per repo url, default_branch, commit, licence, licence_overrides, private.
  • No network call. An unknown key stops the run before any work.
  1. Clone (git.rs)
  • A shallow bare clone of one branch: git clone --bare --depth 1 --branch, into a .partial folder renamed when complete.
  • An existing clone is updated with git fetch --depth 1. A pinned commit is fetched and the branch pointed at it.
  • No shell, and GIT_TERMINAL_PROMPT=0. Branch and commit are validated; the URL comes after --.
  1. Walk (walk.rs)
  • The head commit's tree is read with gitoxide, no working tree.
  • Checks run in order. Every skipped file names its rule, one of 15.
  • The rules: non_utf8_path, symlink, submodule, excluded_dir (14 folder names), lockfile (19 names), excluded_suffix (87 endings), licence_text, translation, translated_doc, generated, too_large, lfs_pointer, binary, non_utf8_content, minified.
  • Size caps: 2,000,000 bytes for source code, Markdown and reStructuredText outside test folders, 300,000 for the rest.
  • A file is binary if it has a zero byte (NUL) in its first 8 KiB.
  • A file is minified if it is 2,000 bytes or more. Then either its first line is over 1,000 bytes or its lines average over 300.
  1. Licenses (licence.rs)
  • Six classes, most to least permissive: P permissive, B permissive with branding terms, W weak copyleft, C copyleft, R restricted, U unknown.
  • Where a file's class comes from, most specific first: an override in the slice file, then an SPDX-License-Identifier: tag in its first 20 lines.
  • Then comes the nearest folder with a license file, then the repo's declared license.
  • If none applies, the source is unknown and the class is U.
  • For a license written as an SPDX expression (MIT OR Apache-2.0), OR gives the class that comes first in the order of the six classes.
  • AND gives the one that comes last.
  • Text matching uses the spdx crate, from 0.8 confidence.
  1. Secret scan (secrets.rs)
  • Betterleaks 1.x scans a temporary copy of every kept file, and of the

Only the beginning is shown; read the rest in the repo