{"id":37701784,"url":"https://github.com/GetStream/stream-chat-go","last_synced_at":"2026-01-23T23:00:46.555Z","repository":{"id":37686780,"uuid":"199600079","full_name":"GetStream/stream-chat-go","owner":"GetStream","description":"Stream Chat official Golang API Client","archived":false,"fork":false,"pushed_at":"2026-01-20T10:30:34.000Z","size":736,"stargazers_count":75,"open_issues_count":25,"forks_count":33,"subscribers_count":29,"default_branch":"master","last_synced_at":"2026-01-20T19:41:42.560Z","etag":null,"topics":["chat","chat-api","go","golang","rest"],"latest_commit_sha":null,"homepage":"https://getstream.io/chat/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GetStream.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-30T07:34:56.000Z","updated_at":"2026-01-08T14:51:31.000Z","dependencies_parsed_at":"2024-04-05T16:26:07.001Z","dependency_job_id":"f7fd169e-1fbc-4d32-b00c-781f852ce9f3","html_url":"https://github.com/GetStream/stream-chat-go","commit_stats":{"total_commits":378,"total_committers":31,"mean_commits":"12.193548387096774","dds":0.6957671957671958,"last_synced_commit":"b205b639d6f8ab299382a27d8f327901ea0a6aed"},"previous_names":[],"tags_count":97,"template":false,"template_full_name":null,"purl":"pkg:github/GetStream/stream-chat-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Fstream-chat-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Fstream-chat-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Fstream-chat-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Fstream-chat-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GetStream","download_url":"https://codeload.github.com/GetStream/stream-chat-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetStream%2Fstream-chat-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28702893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: 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":["chat","chat-api","go","golang","rest"],"created_at":"2026-01-16T13:00:26.529Z","updated_at":"2026-01-23T23:00:46.549Z","avatar_url":"https://github.com/GetStream.png","language":"Go","readme":"# Official Go SDK for [Stream Chat](https://getstream.io/chat/)\n\n[![build](https://github.com/GetStream/stream-chat-go/workflows/build/badge.svg)](https://github.com/GetStream/stream-chat-go/actions)\n[![godoc](https://pkg.go.dev/badge/GetStream/stream-chat-go)](https://pkg.go.dev/github.com/GetStream/stream-chat-go/v8?tab=doc)\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./assets/logo.svg\" width=\"50%\" height=\"50%\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    Official Go API client for Stream Chat, a service for building chat applications.\n    \u003cbr /\u003e\n    \u003ca href=\"https://getstream.io/chat/docs/\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/GetStream/stream-chat-go/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/GetStream/stream-chat-go/issues\"\u003eRequest Feature\u003c/a\u003e\n\u003c/p\u003e\n\n## 📝 About Stream\n\nYou can sign up for a Stream account at our [Get Started](https://getstream.io/chat/get_started/) page.\n\nYou can use this library to access chat API endpoints server-side.\n\nFor the client-side integrations (web and mobile) have a look at the JavaScript, iOS and Android SDK libraries ([docs](https://getstream.io/chat/)).\n\n## ⚙️ Installation\n\n```shell\ngo get github.com/GetStream/stream-chat-go/v8\n```\n\n## ✨ Getting started\n\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\tstream \"github.com/GetStream/stream-chat-go/v8\"\n)\n\nvar APIKey = os.Getenv(\"STREAM_KEY\")\nvar APISecret = os.Getenv(\"STREAM_SECRET\")\nvar userID = \"\" // your server user id\n\nfunc main() {\n\t// Initialize client\n\tclient, err := stream.NewClient(APIKey, APISecret)\n\t\n\t// Or with a specific timeout\n\tclient, err := stream.NewClient(APIKey, APISecret, WithTimeout(3 * time.Second))\n\n\t// Or using only environmental variables: (required) STREAM_KEY, (required) STREAM_SECRET,\n\t// (optional) STREAM_CHAT_TIMEOUT\n\tclient, err := stream.NewClientFromEnvVars()\n\n\t// handle error\n\n\t// Define a context\n\tctx := context.Background()\n\n\t// use client methods\n\n\t// create channel with users\n\tusers := []string{\"id1\", \"id2\", \"id3\"}\n\tuserID := \"id1\"\n\tchannel, err := client.CreateChannelWithMembers(ctx, \"messaging\", \"channel-id\", userID, users...)\n\n\t// use channel methods\n\tmsg, err := channel.SendMessage(ctx, \u0026stream.Message{Text: \"hello\"}, userID)\n}\n```\n\n## ✍️ Contributing\n\nWe welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our [license file](./LICENSE) for more details.\n\nHead over to [CONTRIBUTING.md](./CONTRIBUTING.md) for some development tips.\n\n## 🧑‍💻 We are hiring!\n\nWe've recently closed a [$38 million Series B funding round](https://techcrunch.com/2021/03/04/stream-raises-38m-as-its-chat-and-activity-feed-apis-power-communications-for-1b-users/) and we keep actively growing.\nOur APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.\n\nCheck out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs).\n","funding_links":[],"categories":["Official SDKs \u0026 Tutorials"],"sub_categories":["Backend SDKs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGetStream%2Fstream-chat-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGetStream%2Fstream-chat-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGetStream%2Fstream-chat-go/lists"}