Zurück zum Ranking

teamgram/teamgram-server

Goteamgram.net

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

chatimmtprotomtproto-servertelegramtelegram-servergolanggomessengermessagingim-server
Sterne-Wachstum
Sterne
2.2k
Forks
436
Wochenwachstum
Issues
17
1k2k
Nov. 2018Mai 2021Dez. 2023Juli 2026
ArtefakteGo Modulesgo get github.com/teamgram/teamgram-server
README

Teamgram Server

中文 | English


Unofficial open-source MTProto server implementation in Go. Compatible with Telegram clients; supports self-hosted deployment.

Features

  • MTProto 2.0
    • Abridged
    • Intermediate
    • Padded intermediate
    • Full
  • API Layer: 227
  • Core features
    • private chat
    • basic group
    • contacts
    • web

Architecture

Architecture

Prerequisites

Component Purpose
MySQL 5.7+ / 8.0 Primary data store
Redis Cache, session, deduplication
etcd Service discovery & config
Kafka Message & event pipeline
MinIO Object storage
FFmpeg Media transcoding (on server)

Detailed versions and optional monitoring stack: Dependencies and runtime (specs).


Manual installation

For running the server from source (Go build), follow the step-by-step guides:

Requires Go 1.21+. You must install and configure dependencies (MySQL, Redis, etcd, Kafka, MinIO, FFmpeg), initialize the database and MinIO, then build and run.


Docker installation

For running the full stack with Docker. No manual data initialization: the dependency stack initializes the database (via mounted SQL) and MinIO buckets (via minio-mc) on first start.

1. Clone

git clone https://github.com/teamgram/teamgram-server.git
cd teamgram-server

2. Start dependency stack

This starts MySQL, Redis, etcd, Kafka, MinIO (and optional monitoring). The database and MinIO buckets are initialized automatically.

docker compose -f docker-compose-env.yaml up -d

3. Start application

docker compose up -d

Logging, monitoring & tracing

Area Brief Detailed docs
Log Filebeat → Kafka (teamgram-log) → go-stash → Elasticsearch → Kibana. Config: teamgramd/deploy/filebeat/conf/filebeat.yml, teamgramd/deploy/go-stash/etc/. Log collection (中文)
Monitor Prometheus scrapes metrics; Grafana for dashboards. Enable via Prometheus block in teamgramd/etc2/*.yaml. Config: teamgramd/deploy/prometheus/server/prometheus.yml. Service monitoring (中文)
Tracing go-zero Jaeger / Zipkin support. Set Telemetry in teamgramd/etc2/*.yaml. Jaeger is included in docker-compose-env.yaml. Link tracking (中文)

Compatible clients

Default sign-in verification code: 12345 (change for production.)

Platform Repository Patch Link
Android https://github.com/teamgram/teamgram-android teamgram-android
iOS https://github.com/teamgram/teamgram-ios teamgram-ios
Desktop (TDesktop) https://github.com/teamgram/teamgram-tdesktop teamgram-tdesktop

Documentation


Community & feedback


Enterprise edition

The following are available in the enterprise edition (contact the author):

  • sticker/theme/chat_theme/wallpaper/reactions/secretchat/2fa/sms/push(apns/web/fcm)/web/scheduled/autodelete/...
  • channels/megagroups
  • audio/video/group/conferenceCall
  • bots
  • miniapp

See specs/roadmap.md for community vs. enterprise scope.


License

Apache License 2.0.


Give a Star! ⭐

If this project helps you, consider giving it a star.

Ähnliche Repositories
lobehub/lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / DeepSeek / Qwen), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Plugins/Artifacts) and Thinking. One-click FREE deployment of your private ChatGPT/ Claude / DeepSeek application.

TypeScriptnpmOtherchatgptnextjs
chat-preview.lobehub.com
57.4k12.2k
RocketChat/Rocket.Chat

The Secure CommsOS™ for mission-critical operations

TypeScriptnpmOtherchatmeteor
rocket.chat
45.8k13.7k
2noise/ChatTTS

A generative speech model for daily dialogue.

PythonPyPIGNU Affero General Public License v3.0agenttext-to-speech
2noise.com
39.7k4.2k
khoj-ai/khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

PythonPyPIGNU Affero General Public License v3.0semantic-searchemacs
khoj.dev
35.9k2.3k
SillyTavern/SillyTavern

LLM Frontend for Power Users.

JavaScriptnpmGNU Affero General Public License v3.0aichat
sillytavern.app
31k5.8k
iOfficeAI/AionUi

Free, local, open-source 24/7 Cowork app for OpenClaw, Hermes Agent, Claude Code, Codex, OpenCode, Gemini CLI and 20+ more CLI | Customize your assistants | Star if you like it!

TypeScriptnpmApache License 2.0aiai-agent
aionui.com
30.6k3.1k
zulip/zulip

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

PythonPyPIApache License 2.0zulippython
zulip.com
25.5k10k
LiLittleCat/awesome-free-chatgpt

🆓免费的 ChatGPT 镜像网站列表,持续更新。List of free ChatGPT mirror sites, continuously updated.

PythonPyPIMIT Licenseawesome-listchatgpt
21.2k1.4k
simplex-chat/simplex-chat

SimpleX - the first messaging network operating without user identifiers of any kind - 100% private by design! iOS, Android and desktop apps 📱!

HaskellGNU Affero General Public License v3.0chatprotocol
simplex.chat
18.9k1.2k
xx025/carrot

AI 工具导航大全,帮你快速筛选免费、实用、高效的网站资源

chatgptai
17.1k1.5k
hubotio/hubot

A customizable life embetterment robot.

JavaScriptnpmMIT Licensehubotchat
hubotio.github.io/hubot/
16.8k3.7k
openimsdk/open-im-server

IM Chat OpenClaw

GoGo ModulesApache License 2.0imchat
openim.io
16.5k2.9k