# teamgram/teamgram-server

Unofficial open source mtproto server written in golang with compatible telegram client.

Repository: https://github.com/teamgram/teamgram-server
Canonical: https://ross.abutalabs.com/products/teamgram-server
Homepage: https://teamgram.net
Language: Go
License: Apache-2.0
License Family: permissive
Topics: chat, im, mtproto, mtproto-server, telegram, telegram-server, golang, go, messenger, messaging, im-server
Last push: 2026-08-04T03:43:29+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 2835, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2255, forks 439 (observed 2026-08-28T04:06:31.310969+00:00)

## What it is
Teamgram Server is an unofficial open-source MTProto 2.0 server implementation written in Go that is compatible with official Telegram clients. It enables self-hosted Telegram-style messaging with private chats, basic groups, and contacts, backed by MySQL, Redis, etcd, Kafka, and MinIO.

## Use cases
- self-host a telegram-compatible messenger server
- run a private MTProto server in golang
- deploy my own chat server that works with telegram clients
- host an internal messaging platform for my company
- replace telegram server with an open source implementation
- set up a self-hosted IM server with docker

## When to choose
- you want full control over your messaging infrastructure while keeping Telegram client compatibility
- you need a self-hosted messenger for privacy or compliance reasons
- you are building on or studying the MTProto protocol in Go

## When to avoid
- you need full Telegram feature parity such as channels, secret chats, or bots
- you want a simple chat server without heavy dependencies like Kafka, etcd, and MinIO
- you require a production-proven, officially supported Telegram server

## Facets
- artifact type: service
- maturity: active
- function: http-server, rpc, message-queue, caching, object-storage, self-hosted
- domain: messaging-platforms, self-hosted, privacy, networking
- platform: go, self-hosted
- tags: mtproto, telegram-server, messenger, im-server, chat, linux, macos, docker

## Member repositories
- teamgram/teamgram-server (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:31.310969+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:43:45.583987+00:00, confidence not recorded.
  - readme: https://github.com/teamgram/teamgram-server (fetched 2026-08-28T04:06:31.310969+00:00, sha d391be6b8e62)
  - homepage: https://teamgram.net (fetched 2026-08-29T10:23:44.509519+00:00, sha 1de684c04ab1)
  - site_page: https://teamgram.net/faq (fetched 2026-08-29T10:23:44.518610+00:00, sha 36bf9960a40b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
