{"id":13842365,"url":"https://github.com/nyancrimew/goop","last_synced_at":"2026-01-17T11:52:41.746Z","repository":{"id":39315166,"uuid":"308704261","full_name":"nyancrimew/goop","owner":"nyancrimew","description":"Yet another tool to dump a git repository from a website, focused on as-complete-as-possible dumps and handling weird edge-cases.","archived":false,"fork":false,"pushed_at":"2025-05-03T18:52:34.000Z","size":85,"stargazers_count":608,"open_issues_count":8,"forks_count":52,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-03T19:39:19.815Z","etag":null,"topics":["bug-bounty","git","infosec","offensive-security"],"latest_commit_sha":null,"homepage":"","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/nyancrimew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"nyancrimew","liberapay":"deletescape","custom":"https://www.paypal.me/nyancrimew","ko_fi":"nyancrimew"}},"created_at":"2020-10-30T17:49:11.000Z","updated_at":"2025-05-03T18:52:38.000Z","dependencies_parsed_at":"2025-05-03T19:32:27.531Z","dependency_job_id":"dc9ca32c-4588-4d85-9b3e-9aa284bb1f27","html_url":"https://github.com/nyancrimew/goop","commit_stats":null,"previous_names":["deletescape/goop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nyancrimew/goop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancrimew%2Fgoop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancrimew%2Fgoop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancrimew%2Fgoop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancrimew%2Fgoop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nyancrimew","download_url":"https://codeload.github.com/nyancrimew/goop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyancrimew%2Fgoop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264840422,"owners_count":23671659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bug-bounty","git","infosec","offensive-security"],"created_at":"2024-08-04T17:01:33.071Z","updated_at":"2026-01-17T11:52:41.727Z","avatar_url":"https://github.com/nyancrimew.png","language":"Go","funding_links":["https://github.com/sponsors/nyancrimew","https://liberapay.com/deletescape","https://www.paypal.me/nyancrimew","https://ko-fi.com/nyancrimew"],"categories":["bug-bounty","Go"],"sub_categories":[],"readme":"# goop\n\nYet another tool to dump a git repository from a website. goop tries to focus on as-complete-as-possible dumps and handling as many edge-cases as possible, compared to other tools, which seem to focus on bare minimum dumps. Original codebase heavily inspired by [arthaud/git-dumper](https://github.com/arthaud/git-dumper).\n\n## Usage\n```bash\nUsage:\n  goop [flags] url [DIR]\n\nFlags:\n  -f, --force   overrides DIR if it already exists\n  -h, --help    help for goop\n  -k, --keep    keeps already downloaded files in DIR, useful if you keep being ratelimited by server\n  -l, --list    allows you to supply the name of a file containing a list of domain names instead of just one domain\n```\n\n### Example\n```bash\n$ goop example.com\n```\n\n## Installation\n\n```bash\ngo install github.com/deletescape/goop@latest\n```\n\n## How does it work?\n\nThe tool will first check if directory listing is available. If it is, then it will just recursively download the .git directory (what you would do with `wget`).\n\nIf directory listing is not available, it will use several methods to find as many files as possible. Step by step, goop will:\n* Fetch all common files (`.gitignore`, `.git/HEAD`, `.git/index`, etc.);\n* Find as many refs as possible (such as `refs/heads/master`, `refs/remotes/origin/HEAD`, etc.) by analyzing `.git/HEAD`, `.git/logs/HEAD`, `.git/config`, `.git/packed-refs` and so on;\n* Find as many objects (sha1) as possible by analyzing `.git/packed-refs`, `.git/index`, `.git/refs/*` and `.git/logs/*`;\n* Fetch all objects recursively, analyzing each commits to find their parents;\n* Run `git checkout .` to recover the current working tree;\n* Attempt to fetch missing files listed in the git index;\n* Attempt to create objects for manually fetched files;\n* Attempt to fetch files listed in .gitignore\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyancrimew%2Fgoop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnyancrimew%2Fgoop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyancrimew%2Fgoop/lists"}