{"id":22449230,"url":"https://github.com/konh/githubexplorer","last_synced_at":"2025-03-27T12:14:53.713Z","repository":{"id":56163200,"uuid":"312557783","full_name":"KonH/GithubExplorer","owner":"KonH","description":"Terminal wrapper to retrieve \u0026 serialize info using Github API","archived":false,"fork":false,"pushed_at":"2024-03-25T21:31:49.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T16:26:06.270Z","etag":null,"topics":["csharp","csharp-library","dotnet-core","dotnetcore","github-api","global-tool"],"latest_commit_sha":null,"homepage":"","language":"C#","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/KonH.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}},"created_at":"2020-11-13T11:32:38.000Z","updated_at":"2023-08-28T11:24:54.000Z","dependencies_parsed_at":"2024-03-25T22:32:36.966Z","dependency_job_id":"002dcb16-3cfc-4972-bf7f-f7c22f56bb42","html_url":"https://github.com/KonH/GithubExplorer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KonH%2FGithubExplorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KonH%2FGithubExplorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KonH%2FGithubExplorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KonH%2FGithubExplorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KonH","download_url":"https://codeload.github.com/KonH/GithubExplorer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245841762,"owners_count":20681195,"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":["csharp","csharp-library","dotnet-core","dotnetcore","github-api","global-tool"],"created_at":"2024-12-06T05:08:18.917Z","updated_at":"2025-03-27T12:14:53.693Z","avatar_url":"https://github.com/KonH.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Explorer\n\n[![Build status](https://ci.appveyor.com/api/projects/status/kpkcc3urwdbv0819?svg=true)](https://ci.appveyor.com/project/KonH/githubexplorer)\n[![codecov](https://codecov.io/gh/KonH/GithubExplorer/branch/master/graph/badge.svg)](https://codecov.io/gh/KonH/GithubExplorer)\n[![Nuget](https://img.shields.io/nuget/v/GithubExplorer.CommandLine)](https://www.nuget.org/packages/GithubExplorer.CommandLine)\n\n## Description\n\nSimple terminal wrapper to retrieve small information subset using Github API and serialize it.\nThis tool can be installed as .NET Core Global Tool, manual build is not required.\n\n## Installation\n\n```\ndotnet tool install --global GithubExplorer.CommandLine\n```\n\n## Usage\n\n### Access token\n\nYou should have environment variable with GitHub access token with name `GH_ACCESS_TOKEN`.\n\n### Repositories\n\n```\ngithub_explorer --target repositories --username %USER% --output repositories.json\n```\n```\ninfo: GithubExplorer.Explorer[0]\n      Retrieving user information for '...'\ninfo: GithubExplorer.Explorer[0]\n      Retrieving repositories for '...'\ninfo: GithubExplorer.Explorer[0]\n      Found ... repositories for '...'\ninfo: GithubExplorer.Writer[0]\n      Result saved into 'repositories.json'\n```\n\n=\u003e repositories.json:\n```\n[\n  {\n    \"Url\": \"https://api.github.com/repos/...\",\n    \"HtmlUrl\": \"https://github.com/...\",\n    \"CloneUrl\": \"https://github.com/...\",\n    \"GitUrl\": \"git://github.com/...\",\n    \"SshUrl\": \"git@github.com:...\",\n    \"SvnUrl\": \"https://github.com/...\",\n    \"MirrorUrl\": null,\n    \"Id\": ...,\n    \"NodeId\": \"MDEwOlJlcG9zaXRvcnkxNDI3NjY0NjY=\",\n    \"Owner\": {\n        ...\n    },\n    \"Name\": \"...\",\n    ...\n  },\n  ...\n]\n```\n\n### Pull requests\n\n**Attention!** Filter here is required, serialization breaks without specifying safe properties (at least not selecting StringEnum based ones).\n\n```\ngithub_explorer -t pullrequests -u %USER% -o pull_requests.json --filter \"Title;CreatedAt\"\n```\n```\ninfo: GithubExplorer.Explorer[0]\n      Found ... pull requests for '...'\ninfo: GithubExplorer.Writer[0]\n      Result saved into 'pull_requests.json'\n```\n=\u003e pull_requests.json:\n```\n[\n  {\n    \"Title\": \"Circular buffer yields on single-core machines\",\n    \"CreatedAt\": \"2020-10-29T23:49:30+00:00\"\n  },\n  ...\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonh%2Fgithubexplorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonh%2Fgithubexplorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonh%2Fgithubexplorer/lists"}