{"id":16856392,"url":"https://github.com/vallentin/gh-repo-info","last_synced_at":"2026-05-20T19:08:47.922Z","repository":{"id":171483767,"uuid":"648005356","full_name":"vallentin/gh-repo-info","owner":"vallentin","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-01T02:27:52.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-07T02:25:13.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/vallentin.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-01T02:13:37.000Z","updated_at":"2023-06-01T02:26:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b787033d-00dd-48a9-8105-52c66f76209d","html_url":"https://github.com/vallentin/gh-repo-info","commit_stats":null,"previous_names":["vallentin/gh-repo-info"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vallentin/gh-repo-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2Fgh-repo-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2Fgh-repo-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2Fgh-repo-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2Fgh-repo-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vallentin","download_url":"https://codeload.github.com/vallentin/gh-repo-info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2Fgh-repo-info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33271575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"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":[],"created_at":"2024-10-13T14:04:06.619Z","updated_at":"2026-05-20T19:08:47.889Z","avatar_url":"https://github.com/vallentin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-repo-info\n\n[![Latest Version](https://img.shields.io/crates/v/gh-repo-info.svg)](https://crates.io/crates/gh-repo-info)\n[![Docs](https://docs.rs/gh-repo-info/badge.svg)](https://docs.rs/gh-repo-info)\n[![License](https://img.shields.io/github/license/vallentin/gh-repo-info.svg)](https://github.com/vallentin/gh-repo-info)\n\nGet GitHub repository information given an `owner` and `repo`.\n\n## Example\n\n```toml\n[dependencies]\ngh-repo-info = \"0.1\"\ntokio = { version = \"1\", features = [\"full\"] }\n```\n\n```rust\n#[tokio::main]\nasync fn main() {\n    let repo = gh_repo_info::get(\"rust-lang\", \"rust\").await.unwrap();\n    println!(\"{:#?}\", repo);\n}\n```\n\n## Blocking\n\n```toml\n[dependencies]\ngh-repo-info = { version = \"0.1\", features = [\"blocking\"] }\n```\n\n```rust\nfn main() {\n    let repo = gh_repo_info::blocking::get(\"rust-lang\", \"rust\").unwrap();\n    println!(\"{:#?}\", repo);\n}\n```\n\n## Output\n\n```text\nGhRepoInfo {\n    name: \"rust\",\n    full_name: \"rust-lang/rust\",\n    url: \"https://github.com/rust-lang/rust\",\n    owner: GhRepoOwnerInfo {\n        name: \"rust-lang\",\n        url: \"https://github.com/rust-lang\",\n        avatar_url: \"https://avatars.githubusercontent.com/u/5430905?v=4\",\n        kind: Organization,\n    },\n    stargazers_count: 82127,\n    subscribers_count: 1489,\n    forks_count: 10830,\n    open_issues_count: 9549,\n    is_fork: false,\n    is_archived: false,\n    default_branch: \"master\",\n    homepage: \"https://www.rust-lang.org\",\n    description: \"Empowering everyone to build reliable and efficient software.\",\n    license: GhRepoLicenseInfo {\n        key: \"other\",\n        name: \"Other\",\n    },\n    language: \"Rust\",\n    topics: [\n        \"compiler\",\n        \"hacktoberfest\",\n        \"language\",\n        \"rust\",\n    ],\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallentin%2Fgh-repo-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvallentin%2Fgh-repo-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallentin%2Fgh-repo-info/lists"}