# alberliu/gim

golang写的IM服务器(服务组件形式)

Repository: https://github.com/alberliu/gim
Canonical: https://ross.abutalabs.com/products/gim
Language: Go
License: MIT
License Family: permissive
Topics: golang, im
Last push: 2026-08-19T03:40:14+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 52, longevity 100
- inputs: {"age_days": 3167, "days_push": 14, "days_rel": 111, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2709, forks 540 (observed 2026-08-28T04:07:11.739359+00:00)

## What it is
GIM is a high-performance instant messaging server written in Go, designed as a set of service components (connect, logic, business) that can be integrated into business systems. It supports TCP and WebSocket access, multi-device sync, offline messages, and single/group/room chat with horizontal scaling.

## Use cases
- add chat to my app
- self-host an IM server in Go
- build group chat with offline message sync
- support multi-device login with real-time message sync
- deploy a scalable websocket chat backend
- integrate IM as a component into an existing business system

## When to choose
- you need a self-hosted, horizontally scalable IM backend in Go
- you want TCP and WebSocket client access with gRPC internal services
- you need offline message storage and seq-based sync
- you want to plug in your own auth via a gRPC interface

## When to avoid
- you need a turnkey end-user chat product with polished clients
- you prefer a managed SaaS chat service
- your stack is not Go or cannot run MySQL/Redis

## Facets
- artifact type: service
- maturity: active
- function: websocket, rpc, http-server, message-queue, auth
- domain: backend, developer-tools
- platform: go, cross-platform
- tags: instant-messaging, im-server, chat, grpc, protobuf, long-connection, microservices, self-hosted, messaging, real-time, docker, kubernetes, linux

## Member repositories
- alberliu/gim (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.739359+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:15:39.604827+00:00, confidence not recorded.
  - readme: https://github.com/alberliu/gim (fetched 2026-08-28T04:07:11.739359+00:00, sha 42a740936a8f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
