Skip to content

feat(repo-deps): repository dependencies on GitHub and GitLab, beyond npm - #16

Merged
maxgfr merged 5 commits into
release-nextfrom
issue-8-repo-deps
Nov 20, 2026
Merged

maxgfr merged 5 commits into
release-nextfrom
issue-8-repo-deps

Conversation

@maxgfr

@maxgfr maxgfr commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Lists a GitHub or GitLab folder's dependencies, like npmhub, for six ecosystems.

  • Manifests: npm package.json (dependencies, dev, peer, optional, workspaces, npm: aliases), Python requirements*.txt and pyproject.toml (PEP 621, Poetry, dependency groups, build-system), Rust Cargo.toml (workspaces, target tables, renames), Go go.mod, PHP composer.json, Ruby Gemfile; a small TOML reader, no new dependency.
  • Files are read same-origin from the page (/raw/<ref>/<path> on GitHub, /-/raw/ on GitLab), so private repositories work with the user's session; ref and file list come from the page.
  • Per package: requested version, latest version and description from npm, PyPI, crates.io, RubyGems and Packagist (all allow cross-origin reads; Go gets links only), links to the registry and, for npm, BundlePhobia, PackagePhobia, npmgraph and unpkg, plus the manifest.
  • Inspect › Repo dependencies panel, and an opt-in Dependencies box below the README on github.com and gitlab.com (asks only for those two origins, follows in-app navigation).
  • Privacy policy notes that package names are sent to public registries.

Checked on npmhub/npmhub (18 npm packages), maxgfr/skycmd (Cargo workspace) and gitlab-org/gitlab-ui (119 packages).

Closes #8

…crates, Go, Packagist and RubyGems

Repository URLs on GitHub and GitLab (nested groups, refs with slashes,
self-hosted instances through the page's own hints), parsers for
package.json, requirements*.txt, pyproject.toml (PEP 621, dependency
groups, Poetry), Cargo.toml (workspaces, targets, renames), go.mod,
composer.json and Gemfile on a small TOML reader, files fetched from the
page with its session, registry links, and descriptions from the
registries that allow any origin, cached in storage.session.
… folder's packages

Grouped by manifest and kind, with the requested and latest versions,
the registry's description, links (npmjs, BundlePhobia, PackagePhobia,
npmgraph, UNPKG, PyPI, crates.io, docs.rs, pkg.go.dev, Packagist,
RubyGems), a filter and Copy as Markdown.
…b.com and gitlab.com

Registered at runtime after asking for those two sites only, follows
in-app navigation, and gets descriptions through the background. The
build keeps its matches out of the install-time host permissions.
@maxgfr
maxgfr merged commit d9cf320 into release-next Nov 20, 2026
2 checks passed
@maxgfr
maxgfr deleted the issue-8-repo-deps branch November 20, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant