{"id":23062317,"url":"https://github.com/elara6331/go-lemmy","last_synced_at":"2025-08-15T08:33:34.802Z","repository":{"id":65187560,"uuid":"576694554","full_name":"Elara6331/go-lemmy","owner":"Elara6331","description":"Automatically generated Go API bindings for Lemmy","archived":false,"fork":false,"pushed_at":"2023-12-16T00:08:18.000Z","size":305,"stargazers_count":33,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T02:44:00.177Z","etag":null,"topics":["api-bindings","go","lemmy","lemmy-api","lemmy-client"],"latest_commit_sha":null,"homepage":"https://go.elara.ws/go-lemmy","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Elara6331.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"liberapay":"Elara6331"}},"created_at":"2022-12-10T17:19:14.000Z","updated_at":"2025-04-28T04:49:25.000Z","dependencies_parsed_at":"2023-02-16T22:01:14.290Z","dependency_job_id":"7a374b90-0ea8-4375-bddf-381d0efd7ada","html_url":"https://github.com/Elara6331/go-lemmy","commit_stats":null,"previous_names":["arsen6331/go-lemmy"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/Elara6331/go-lemmy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elara6331%2Fgo-lemmy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elara6331%2Fgo-lemmy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elara6331%2Fgo-lemmy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elara6331%2Fgo-lemmy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Elara6331","download_url":"https://codeload.github.com/Elara6331/go-lemmy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elara6331%2Fgo-lemmy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270544945,"owners_count":24604451,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-bindings","go","lemmy","lemmy-api","lemmy-client"],"created_at":"2024-12-16T03:26:38.918Z","updated_at":"2025-08-15T08:33:34.525Z","avatar_url":"https://github.com/Elara6331.png","language":"Go","funding_links":["https://liberapay.com/Elara6331"],"categories":[],"sub_categories":[],"readme":"# Go-Lemmy\n\n[![Go Reference](https://pkg.go.dev/badge/go.arsenm.dev/go-lemmy.svg)](https://pkg.go.dev/go.elara.ws/go-lemmy)\n\nGo bindings to the [Lemmy](https://join-lemmy.org) API, automatically generated from Lemmy's source code using the generator in [cmd/gen](cmd/gen).\n\n### Examples\n\nExamples can be found in the [examples](examples) directory.\n\n### How to generate\n\nFirst, clone the [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client) repo at whatever version you need:\n\n```bash\ngit clone https://github.com/LemmyNet/lemmy-js-client -b 0.18.3\n```\n\nInside it, build the JSON docs file:\n\n```bash\nnpm run docs -- --json docs.json\n```\n\nNext, build the generator:\n\n```bash\ngo build ./cmd/gen\n```\n\nRemove all the existing generated code:\n\n```bash\nrm **/*.gen.go\n```\n\nExecute the generator:\n\n```bash\n./gen -json-file \u003cpath_to_docs.json\u003e -out-dir .\n```\n\nAnd that's it! Your generated code should be ready for use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felara6331%2Fgo-lemmy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felara6331%2Fgo-lemmy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felara6331%2Fgo-lemmy/lists"}