Skip to content
@git-pkgs

git-pkgs

Dependency tools for git

git-pkgs tracks package dependencies across your repository's git history. It answers questions like "who added this dependency?", "when was it introduced?", and "how long were we exposed to this vulnerability?" Works with 45+ package managers.

Install it with:

brew install git-pkgs

Or download a binary from the releases page.

Or build from source:

go install github.com/git-pkgs/git-pkgs@latest

Tools

  • brief - Detect a project's toolchain, configuration, and conventions
  • capcheck - Fail CI when Go code or dependencies gain new privileged operations
  • distill - Train and run repository classifiers from code-derived signals
  • downstream - Test library changes against projects that depend on them
  • forge - Work with GitHub, GitLab, Gitea, Forgejo, Bitbucket, Gerrit, and Tangled through one CLI
  • git-pkgs - Track package dependencies across a repository's git history
  • licenses - Scan repositories for license text using ScanCode's rule corpus
  • pin - Vendor browser assets without npm
  • proxy - Lightweight caching proxy for package registries
  • silo - Prototype Git host with gittuf verification in the receive path

Utilities

  • actions - Reusable GitHub Actions for git-pkgs dependency analysis
  • skills - Claude Code skills plugin for git-pkgs, brief, forge, pin, and capcheck

Modules

Identity & versions

  • purl - Package URL construction, parsing, and registry URL mapping
  • vers - Version range parsing and comparison per the VERS spec
  • platforms - Translating platform identifiers across package ecosystems
  • artifacts - Describing package files with package URLs, content digests, and byte counts

Manifests & resolution

  • manifests - Parsing package manager manifest and lockfiles
  • managers - Wrapping package manager CLIs behind a common interface
  • resolve - Parsing package manager resolve output into dependency trees
  • pom - Resolving effective POMs for Maven artifacts

Data sources

  • registries - Fetching package metadata from registry APIs
  • enrichment - Fetching package metadata from multiple sources
  • vulns - Fetching vulnerability data from multiple sources
  • nexus - Reading Maven repository indexes without Java or Lucene
  • cooldown - Filtering package versions by minimum age across ecosystems

Provenance

  • attestation - Parsing SLSA provenance v1 attestation bundles
  • sigstore - Verifying attestation bundles against the Sigstore TUF trust root
  • integrity - Parsing Subresource Integrity metadata and verifying streams

Formats

  • sbom - Reading and writing Software Bill of Materials documents
  • sarif - Reading, writing, and validating SARIF 2.1.0 logs
  • cwe - Looking up MITRE CWE entries and categories

Licensing

  • licenses - Matching license text against ScanCode's rule corpus
  • reuse - Extracting SPDX license and copyright data from REUSE-compliant projects
  • spdx - SPDX license expression parsing, normalization, and validation

Files & content

  • archives - Reading and browsing archive files in memory
  • changelog - Parsing changelog files into structured entries
  • gitignore - Matching paths against gitignore rules
  • magic - Detecting file formats and MIME types from content
  • markup - Rendering markup files to HTML

Source & repository

  • clone - Managing local checkouts of remote Git repositories
  • dependents - Finding and ranking repositories that depend on a package
  • outline - Reduce a source tree to a structural skeleton for LLM context
  • provides - Mapping package identities to names used in source code

Storage

  • gcs - Minimal Google Cloud Storage client over the JSON API

License

MIT.

Pinned Loading

  1. git-pkgs git-pkgs Public

    A git subcommand for analyzing package/dependency usage in git repositories over time

    Go 185 11

  2. forge forge Public

    Go library and CLI for working with git forges. Supports GitHub, GitLab, Gitea/Forgejo, and Bitbucket Cloud through a single interface.

    Go 217 14

  3. proxy proxy Public

    A lightweight caching proxy for package registries.

    Go 214 38

  4. brief brief Public

    A single-binary CLI tool that detects a software project's toolchain, configuration, and conventions, then outputs a structured report.

    Go 74 6

  5. manifests manifests Public

    A Go library for parsing package manager manifest and lockfiles.

    Go 6 4

  6. managers managers Public

    A Go library that wraps package manager CLIs behind a common interface.

    Go 6 2

Repositories

Showing 10 of 64 repositories
  • resolve Public

    Takes the output bytes from a manager's resolve command (e.g. npm ls --json, go mod graph, uv tree) and returns a structured Result with the dependency tree and PURL for each package.

    git-pkgs/resolve's past year of commit activity
    Go 2 MIT 0 0 0 Updated Sep 23, 2026
  • proxy Public

    A lightweight caching proxy for package registries.

    git-pkgs/proxy's past year of commit activity
    Go 214 GPL-3.0 38 39 (2 issues need help) 4 Updated Sep 23, 2026
  • managers Public

    A Go library that wraps package manager CLIs behind a common interface.

    git-pkgs/managers's past year of commit activity
    Go 6 MIT 2 5 1 Updated Sep 23, 2026
  • markup Public

    A Go library for rendering markup files to HTML

    git-pkgs/markup's past year of commit activity
    Go 1 MIT 0 0 0 Updated Sep 23, 2026
  • purl Public

    Go library for working with Package URLs (PURLs).

    git-pkgs/purl's past year of commit activity
    Go 5 MIT 1 0 0 Updated Sep 23, 2026
  • licenses Public

    Go library and CLI for fast license detection and repository scanning against ScanCode's rule corpus.

    git-pkgs/licenses's past year of commit activity
    Go 4 MIT 1 2 0 Updated Sep 23, 2026
  • gcs Public

    Lightweight Google Cloud Storage client for Go

    git-pkgs/gcs's past year of commit activity
    Go 4 MIT 0 0 0 Updated Sep 23, 2026
  • changelog Public

    A Go library for parsing changelog files into structured entries. Supports Keep a Changelog, markdown header, and setext/underline formats with automatic detection.

    git-pkgs/changelog's past year of commit activity
    Go 2 MIT 0 0 0 Updated Sep 23, 2026
  • secrets Public

    Find leaked credentials across Git history

    git-pkgs/secrets's past year of commit activity
    Go 4 MIT 0 1 (1 issue needs help) 0 Updated Sep 23, 2026
  • citation Public

    A dependency-free Go library for parsing CITATION.cff files and validating citation metadata

    git-pkgs/citation's past year of commit activity
    Go 3 MIT 0 0 0 Updated Sep 23, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Go Ruby HTML