{"id":34773695,"url":"https://github.com/eighty4/poultry","last_synced_at":"2026-01-20T17:00:03.083Z","repository":{"id":326399799,"uuid":"1104121199","full_name":"eighty4/poultry","owner":"eighty4","description":"Language sampling from GitHub to local filesystem","archived":false,"fork":false,"pushed_at":"2025-11-27T17:18:18.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-26T19:44:38.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eighty4.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-25T19:30:52.000Z","updated_at":"2025-11-27T17:18:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eighty4/poultry","commit_stats":null,"previous_names":["eighty4/poultry"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eighty4/poultry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fpoultry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fpoultry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fpoultry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fpoultry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eighty4","download_url":"https://codeload.github.com/eighty4/poultry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eighty4%2Fpoultry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":"2025-12-25T08:08:48.385Z","updated_at":"2026-01-20T17:00:03.060Z","avatar_url":"https://github.com/eighty4.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Pulls code samples from GitHub repo trees\n\nThis utility is for collecting language samples for AST testing.\n\nGetting started is quick and easy with your favorite NPM package manager:\n\n```shell\nnpm i -g @eighty4/poultry\n```\n\n### Required for auth!\n\n`poultry` uses the `GH_TOKEN` environment variable to authorize requests to the GitHub Search Code API\nfor searching for language samples and GraphQL API for retrieving file contents.\n\nIf using the `gh` cli from GitHub, you can set it for a `poultry` command like so:\n\n```shell\nGH_TOKEN=$(gh auth token) poultry ...\n```\n\n### Output\n\nFiles will be written to the `--out-dir` in a flat structure using repo name, subpath and filename.\nFor example, the output path for a file from Apache Cassandra's docs will be `apache_cassandra_doc_modules_cassandra_examples_CQL_sum.cql`.\n\n### Full example\n\nHere is an example of collecting CQL for Cassandra from Apache, Datastax \u0026 ScyllaDB accounts:\n\n```shell\nGH_TOKEN=$(gh auth token) poultry --ext cql --lang sql --user apache --user datastax --user scylladb --out-dir out\n```\n\n## Search options\n\nSupported options mirror the search qualifiers available for the query string of the Search Code API\nincluding `extension`, `lang`, `org` \u0026 `user` and can be included multiple times just like the Search Code API query string.\n\nFull listing of options available with `poultry --help` and thorough details are on the\n[GitHub Search Code API documentation](https://docs.github.com/en/search-github/searching-on-github/searching-code)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feighty4%2Fpoultry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feighty4%2Fpoultry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feighty4%2Fpoultry/lists"}