Back to Explore

unjs/giget

GitHub
1 updates · last 90 days1 watchersOpen source

Last release: 2 months ago

giget is a CLI and Node.js helper for downloading templates and cloning project code from common git providers like GitHub, GitLab, Bitbucket, and Sourcehut. It supports template registries (built-in or custom), offline and disk caching, extracting from subdirectories, authorization for private templates, and an optional post-clone dependency install via unjs/nypm.

Project status

  • Actively maintained: The repo shows ongoing work in 2026, with multiple tagged versions (v3.1.1, v3.1.2, v3.2.0) and a very recent upstream push on 2026-06-07.
  • Updates cadence: From the provided history, updates landed fairly regularly early in 2026 (about 2 weeks between v3.1.1 and v3.1.2, then about 6 to 7 weeks until v3.2.0). The evidence suggests an evolving cadence, not a stalled or maintenance-only period.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v3.2.0

    2 months ago

    v3.2.0 adds a new `git:` template provider that performs git clones locally (instead of HTTP tarball APIs), with sparse checkout support for subdirectories and disk caching for offline reuse. It also improves GitLab handling for nested subgroup paths, including support for the `::` delimiter to separate repo path from subdirectory. The release notes additionally mention a small CLI error-message fix and a regex tweak in `parseGitURI`.

    Features
  • v3.1.2

    4 months ago

    Release v3.1.2 contains no clearly documented runtime feature changes, and most TypeScript diff hunks appear to be formatting only. The release notes only mention “Update deps”, but the actual diff shows a broader developer tooling migration (ESLint/Prettier to oxlint/oxfmt) plus dependency bumps in the lockfile.

  • v3.1.1

    4 months ago

    v3.1.1 release notes only mention a generic dependency update. The actual code changes in this release add new behavior to `downloadTemplate` related to dependency installation options, and also change how `tar` and `nypm` are loaded (lazy imports).

    Features
  • v3.1.0

    4 months ago

    v3.1.0 adds the ability to pass install options through to nypm, enabling more control over installation behavior. It also improves startup and import performance by lazily loading nypm and lazily importing tar.

    Features
  • v3.0.0

    4 months ago

    v3.0.0 refactors Giget to produce a zero-runtime-dependency package by bundling previously external libraries, and migrates bundled tar to v7 for security fixes. The release notes only call out the dependency removal and tar update, but the code diff also includes CLI behavior tightening and changes to how registry/auth environment variables are applied.

    BreakingSecurityFeatures
  • v2.0.0

    2/25/2025

    v2.0.0 primarily makes the package ESM-only and changes Windows caching to use the correct temp directory. It also rebuilds the distribution to bundle tar, and includes a tar patch intended to improve bun on Windows.

    Breaking
  • v1.2.5

    2/21/2025

    Release v1.2.5 is a chore-only release. It removes the unused runtime dependency ohash and updates a range of dependencies, along with development tooling versions captured in the lockfile.

  • v1.2.4

    1/27/2025

    v1.2.4 primarily upgrades internal dependencies, with documented upgrades to nypm (0.3 to 0.5) and pathe (to v2). The release notes also mention a couple of documentation fixes. The code diff shows mostly build/tooling and internal dependency changes, with only minor internal code edits.

  • v1.2.3

    3/21/2024

    v1.2.3 primarily adds support for parsing git refs that contain an @ symbol, improving handling of inputs like "org/repo#@org/tag@1.2.3". The release notes also mention documentation fixes for downloadTemplate options and the addition of a maizzle template. The code diff shows additional non-mentioned changes, mainly around CLI packaging, CI configuration, README/badge updates, and dependency version bumps.

    Features
  • v1.2.1

    12/25/2023

    The provided release notes for v1.2.1 claim two small changes, a CLI fix for a missing shebang and an update to badge URLs. However, the actual diff content provided does not show any CLI/source code changes, and instead shows version and documentation-related changes that appear inconsistent with the v1.2.1 release scope.