{"id":35885807,"url":"https://github.com/meigma/blobber","last_synced_at":"2026-01-16T01:02:31.238Z","repository":{"id":332219864,"uuid":"1130147394","full_name":"meigma/blobber","owner":"meigma","description":"A Go library and CLI for securely pushing and pulling files to OCI container registries.","archived":false,"fork":false,"pushed_at":"2026-01-13T21:24:50.000Z","size":5102,"stargazers_count":6,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-13T22:12:15.221Z","etag":null,"topics":["cli","estargz","go","library","oci","storage"],"latest_commit_sha":null,"homepage":"https://blobber.meigma.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meigma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-08T05:14:28.000Z","updated_at":"2026-01-13T18:08:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/meigma/blobber","commit_stats":null,"previous_names":["meigma/blobber"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/meigma/blobber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meigma%2Fblobber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meigma%2Fblobber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meigma%2Fblobber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meigma%2Fblobber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meigma","download_url":"https://codeload.github.com/meigma/blobber/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meigma%2Fblobber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28475142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T00:15:39.755Z","status":"ssl_error","status_checked_at":"2026-01-16T00:15:32.174Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","estargz","go","library","oci","storage"],"created_at":"2026-01-08T20:14:38.812Z","updated_at":"2026-01-16T01:02:31.233Z","avatar_url":"https://github.com/meigma.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blobber\n\n[![CI](https://github.com/meigma/blobber/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/meigma/blobber/actions/workflows/ci.yml)\n[![Docs](https://img.shields.io/badge/docs-blobber.meigma.dev-blue)](https://blobber.meigma.dev/docs)\n[![Godocs](https://pkg.go.dev/badge/github.com/meigma/blobber.svg)](https://pkg.go.dev/github.com/meigma/blobber)\n[![Release](https://img.shields.io/github/v/release/meigma/blobber)](https://github.com/meigma/blobber/releases)\n[![License](https://img.shields.io/github/license/meigma/blobber)](LICENSE)\n\n\u003e A Go library and CLI for securely pushing and pulling files to OCI container registries.\n\nBlobber uses the [eStargz](https://github.com/containerd/stargz-snapshotter/blob/main/docs/estargz.md) format to enable listing and selective retrieval of files without downloading entire images.\nListing and streaming require eStargz images; Blobber pushes eStargz by default.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://blobber.meigma.dev\"\u003e\n    \u003cimg src=\"docs/static/img/demo.gif\" alt=\"Blobber CLI Demo\" width=\"700\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Quick Start\n\n```bash\ncurl -fsSL https://blobber.meigma.dev/install.sh | sh\n\n# Push a directory to a registry\nblobber push ./config ghcr.io/myorg/config:v1\n\n# List files without downloading\nblobber list ghcr.io/myorg/config:v1\n```\n\n## Installation\n\n### CLI\n\n```bash\ncurl -fsSL https://blobber.meigma.dev/install.sh | sh\n```\n\nSee the [installation docs](https://blobber.meigma.dev/docs/getting-started/cli/installation) for other options (Homebrew, Scoop, Nix, Go).\n\n### Library\n\n```bash\ngo get github.com/meigma/blobber\n```\n\n## Examples\n\n### CLI\n\n```bash\n# Push a directory to a registry\nblobber push ./config ghcr.io/myorg/config:v1\n\n# Push with Sigstore signing\nblobber push --sign ./config ghcr.io/myorg/config:v1\n\n# List files without downloading\nblobber list ghcr.io/myorg/config:v1\n\n# Stream a single file to stdout\nblobber cat ghcr.io/myorg/config:v1 app.yaml\n\n# Pull all files to a local directory\nblobber pull ghcr.io/myorg/config:v1 ./output\n\n# Pull with signature verification\nblobber pull --verify \\\n  --verify-issuer https://accounts.google.com \\\n  --verify-subject dev@company.com \\\n  ghcr.io/myorg/config:v1 ./output\n```\n\n### Library\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n    \"os\"\n\n    \"github.com/meigma/blobber\"\n    \"github.com/meigma/blobber/sigstore\"\n)\n\nfunc main() {\n    ctx := context.Background()\n\n    // Create a client with Sigstore signing\n    signer, _ := sigstore.NewSigner(sigstore.WithEphemeralKey())\n    client, err := blobber.NewClient(blobber.WithSigner(signer))\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    // Push a directory (automatically signed)\n    digest, err := client.Push(ctx, \"ghcr.io/myorg/config:v1\", os.DirFS(\"./config\"))\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Println(digest)\n\n    // Create a client with signature verification\n    verifier, _ := sigstore.NewVerifier(\n        sigstore.WithIdentity(\"https://accounts.google.com\", \"dev@company.com\"),\n    )\n    verifiedClient, _ := blobber.NewClient(blobber.WithVerifier(verifier))\n\n    // Open an image (signature verified before access)\n    img, err := verifiedClient.OpenImage(ctx, \"ghcr.io/myorg/config:v1\")\n    if err != nil {\n        log.Fatal(err)\n    }\n    defer img.Close()\n\n    entries, _ := img.List()\n    for _, e := range entries {\n        fmt.Printf(\"%s (%d bytes)\\n\", e.Path(), e.Size())\n    }\n}\n```\n\n## Features\n\n- **List without download** - View file contents using only the eStargz table of contents\n- **Selective retrieval** - Stream individual files via HTTP range requests\n- **Sigstore signing** - Sign artifacts for supply chain security; verify before pulling\n- **Any OCI registry** - Works with GHCR, Docker Hub, ECR, GCR, or self-hosted registries\n- **Compression options** - gzip (default) or zstd\n- **Local caching** - Cache blobs locally for faster repeated operations\n\n## Configuration\n\nBlobber stores configuration in `~/.config/blobber/config.yaml` (following XDG conventions).\n\n```bash\n# View current configuration\nblobber config\n\n# Create default config file\nblobber config init\n\n# Disable caching\nblobber config set cache.enabled false\n\n# Bypass cache for a single command\nblobber --no-cache pull ghcr.io/myorg/config:v1 ./output\n```\n\nConfiguration precedence: flags \u003e environment variables \u003e config file \u003e defaults.\n\n## Documentation\n\nFull documentation is available at [blobber.meigma.dev](https://blobber.meigma.dev):\n\n- [CLI Getting Started](https://blobber.meigma.dev/docs/getting-started/cli/installation)\n- [Library Getting Started](https://blobber.meigma.dev/docs/getting-started/library/installation)\n- [Signing \u0026 Verification](https://blobber.meigma.dev/docs/how-to/sign-artifacts)\n- [CLI Reference](https://blobber.meigma.dev/docs/reference/cli/push)\n- [Library Reference](https://blobber.meigma.dev/docs/reference/library/client)\n- [Configuration Guide](https://blobber.meigma.dev/docs/how-to/configure-blobber)\n\n## Authentication\n\nBlobber uses Docker credentials from `~/.docker/config.json`. If you can `docker push` to a registry, blobber can too.\n\n```bash\ndocker login ghcr.io\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeigma%2Fblobber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeigma%2Fblobber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeigma%2Fblobber/lists"}