{"id":17749859,"url":"https://github.com/stscoundrel/troubleman","last_synced_at":"2025-04-01T08:19:48.401Z","repository":{"id":41458145,"uuid":"505922750","full_name":"stscoundrel/troubleman","owner":"stscoundrel","description":"List open issues in Github by user. For all the troubles you forgot you're in.","archived":false,"fork":false,"pushed_at":"2024-01-06T08:17:45.000Z","size":37,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T07:38:24.429Z","etag":null,"topics":["github-api","go","golang","issues"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/stscoundrel/troubleman","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/stscoundrel.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":"2022-06-21T16:31:23.000Z","updated_at":"2022-07-02T06:55:44.000Z","dependencies_parsed_at":"2024-10-26T13:31:56.007Z","dependency_job_id":"79baa25d-5599-448f-b62e-d2276ca602fc","html_url":"https://github.com/stscoundrel/troubleman","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":"stscoundrel/go-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Ftroubleman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Ftroubleman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Ftroubleman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stscoundrel%2Ftroubleman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stscoundrel","download_url":"https://codeload.github.com/stscoundrel/troubleman/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246604613,"owners_count":20804101,"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":["github-api","go","golang","issues"],"created_at":"2024-10-26T11:25:15.429Z","updated_at":"2025-04-01T08:19:48.381Z","avatar_url":"https://github.com/stscoundrel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Troubleman\n\nList issues in Github by username. For the times when you can't recall all the troubles you're in.\n\n## Install\n\n`go get -d github.com/stscoundrel/troubleman`\n\n## Usage\n\nTroubleman exposes two functions: one for listing issues by user, other for listing same data grouped by repositories.\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/stscoundrel/troubleman/issues\"\n)\n\nfunc main() {\n    // Get list of all issues\n    issuesResult, issuesError := issues.GetIssues(\"stscoundrel\")\n    \n    fmt.Println(issuesResult[0])\n    // {\n    // \tTitle:          \"Test issue 1\",\n    // \tLink:           \"https://github.com/stscoundrel/test-repo/issues/1\",\n    // \tContent:        \"Lorem ipsum dolor sit issue\",\n    // \tRepositoryLink: \"https://github.com/stscoundrel/test-repo\",\n    // },\n\n    // Get list of issues of issues grouped by repositories.\n    repositoriesResult, repositoriesError := issues.GetRepositories(\"stscoundrel\")\n    \n    fmt.Println(repositoriesResult[0])\n    // {\n    // \tTitle:          \"stscoundrel/test-repo\",\n    // \tLink:           \"https://github.com/stscoundrel/test-repo\",\n    // \tCount:          666,\n    // \tIssues:         [] // list of issues, per upper structure\n    // },\n}\n```\n\n## What's in the name?\n\n\"Troublemaker\" was the first thing to come to mind when thinking of \"something that looks for issues\". Altered it a bit to refer to [a song](https://www.youtube.com/watch?v=3OC2aPCuzjo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstscoundrel%2Ftroubleman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstscoundrel%2Ftroubleman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstscoundrel%2Ftroubleman/lists"}