{"id":49336305,"url":"https://github.com/raiderrobert/graft","last_synced_at":"2026-04-27T01:02:12.875Z","repository":{"id":344530112,"uuid":"1182084508","full_name":"raiderrobert/graft","owner":"raiderrobert","description":"A \"package manager\" for paths, both files and dirs.","archived":false,"fork":false,"pushed_at":"2026-03-15T04:18:04.000Z","size":155,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-15T15:47:58.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raiderrobert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/ROADMAP.md","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-03-15T02:37:40.000Z","updated_at":"2026-03-15T04:17:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/raiderrobert/graft","commit_stats":null,"previous_names":["raiderrobert/graft"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/raiderrobert/graft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fgraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fgraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fgraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fgraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raiderrobert","download_url":"https://codeload.github.com/raiderrobert/graft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiderrobert%2Fgraft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: 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":[],"created_at":"2026-04-27T01:02:12.106Z","updated_at":"2026-04-27T01:02:12.866Z","avatar_url":"https://github.com/raiderrobert.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graft\n\nA \"package manager\" for paths, both files and dirs.\n\n- **Pin files, not packages.** Pull a Makefile, a CI workflow, or a linter config from any GitHub repo and lock it to a version.\n- **Edit freely, upgrade safely.** Your local changes are preserved through three-way merge on upgrade.\n- **No registry, no publishing.** Tag your source repo. Any file in any GitHub repo is a valid dependency.\n- **CI-ready.** `graft check` exits non-zero if anything is modified or stale.\n\n## Install\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/raiderrobert/graft/main/install.sh | sh\n```\n\nOr build from source:\n\n```bash\ncargo install --path .\n```\n\nOr grab a binary from [GitHub Releases](https://github.com/raiderrobert/graft/releases).\n\n## Quick Start\n\n```bash\ngraft add gh:raiderrobert/graft/justfile@v0.1.0\n```\n\nThat's it. Graft fetches the file, writes it to `justfile` (matching the source path), and records it in `graft.toml`:\n\n```toml\n[deps.justfile]\nsource = \"gh:raiderrobert/graft/justfile\"\nversion = \"v0.1.0\"\ndest = \"justfile\"\n```\n\nLater, check for updates and upgrade:\n\n```bash\ngraft outdated        # see what's newer\ngraft upgrade         # pull updates, three-way merge if you've edited locally\n```\n\nAlready have a file you copied manually? Adopt it:\n\n```bash\ngraft add gh:raiderrobert/graft/justfile@v0.1.0 --adopt\n```\n\nThis tracks the file without overwriting your local version. The next `graft upgrade` will merge upstream changes with your edits.\n\n## Commands\n\n```\ngraft init                  Create graft.toml\ngraft add \u003csrc@ver\u003e [dest]  Fetch and track a file (dest defaults to source path)\ngraft add ... --adopt       Track an existing local file\ngraft sync                  Fetch all dependencies\ngraft list                  Show grafts with status\ngraft check                 Verify all clean (for CI)\ngraft outdated              Show newer upstream versions\ngraft upgrade [name]        Upgrade with three-way merge\ngraft upgrade --dry-run     Preview changes\ngraft resolve \u003cname\u003e        Mark conflicts as resolved\ngraft remove \u003cname\u003e         Stop tracking (keeps file)\n```\n\n## License\n\n[PolyForm Shield 1.0.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiderrobert%2Fgraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraiderrobert%2Fgraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiderrobert%2Fgraft/lists"}