{"id":37183893,"url":"https://github.com/weavc/crusch","last_synced_at":"2026-01-14T21:14:30.709Z","repository":{"id":42222102,"uuid":"240717217","full_name":"weavc/crusch","owner":"weavc","description":"Authenticate \u0026 query Githubs API with crusch","archived":false,"fork":false,"pushed_at":"2022-04-10T00:01:25.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T12:36:04.289Z","etag":null,"topics":["api","authentication","github","golang","json"],"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/weavc.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}},"created_at":"2020-02-15T13:27:43.000Z","updated_at":"2025-08-02T21:04:37.000Z","dependencies_parsed_at":"2022-08-26T05:11:52.814Z","dependency_job_id":null,"html_url":"https://github.com/weavc/crusch","commit_stats":null,"previous_names":["weavc/crusch","chrisweaver1/crusch","mogolade/crusch","weavc-org/crusch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weavc/crusch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavc%2Fcrusch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavc%2Fcrusch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavc%2Fcrusch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavc%2Fcrusch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weavc","download_url":"https://codeload.github.com/weavc/crusch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavc%2Fcrusch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["api","authentication","github","golang","json"],"created_at":"2026-01-14T21:14:29.875Z","updated_at":"2026-01-14T21:14:30.690Z","avatar_url":"https://github.com/weavc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![tests](https://github.com/weavc/crusch/workflows/Go/badge.svg?branch=master) \n[![GoDoc](https://img.shields.io/static/v1?label=godoc\u0026message=reference\u0026color=blue)](https://pkg.go.dev/github.com/weavc/crusch)\n\nCrusch is a lightweight libary which provides tools for Github Apps to communicate with Githubs V3 API, without too much unnecessary hassle.\n\nThis libary provides a simple client structure to make requests to Githubs API. Clients aid with adding and creating the required authorization headers, keeping track of when they might need to be renewed and other small helper methods.\n \nIf you are looking for something more complete then [`go-github`](https://github.com/google/go-github) is probably for you. [`go-github`](https://github.com/google/go-github) is a more complete libary with types, seperate methods and bindings for every request github offers, which for what I was working on, was too complicated and quite annoying to work with when all I wanted was something simple, hence crusch.\n\n### Usage\n\n```go\nimport \"github.com/weavc/crusch\"\n```\n\nbasic installation example\n```go\nvar v []map[string]interface{}\nauthorizer, err := crusch\n    .NewInstallationAuth(\u003cApplicationID int64\u003e, \u003cInstallationID int64\u003e, \u003crsaKey *rsa.PrivateKey\u003e)\n\nres, err := crusch.Client.Get(\n    authorizer, \n    \"/repos/weavc/crusch/issues\", \n    \"assignee=weavc\u0026state=open\", \n    \u0026v)\n```\n\nnew client\n```go\nhttpClient := \u0026http.Client{}\n\nclient := crusch.NewGithubClient(\"api.github.com\", \"https\")\nclient.SetHTTPClient(httpClient)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavc%2Fcrusch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweavc%2Fcrusch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavc%2Fcrusch/lists"}