Skip to content

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

License

Notifications You must be signed in to change notification settings

spiderpanel/teamgram-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teamgram - Unofficial open source mtproto server written in golang

open source mtproto server implemented in golang with compatible telegram client.

Introduce

Open source mtproto server written in golang

Architecture

Architecture

Documents

Diffie–Hellman key exchange

Creating an Authorization Key

Mobile Protocol: Detailed Description (v.1.0, DEPRECATED)

Encrypted CDNs for Speed and Security Translate By @steedfly

Quick start with Docker

TODO...

Manual Build and Install

Depends

Install Teamgram

  • Get source code 
git clone https://github.com/teamgram/teamgram-server.git
cd teamgram-server
  • init database
1. create database teamgram
2. init teamgram database
   mysql -uroot teamgram < teamgramd/sql/teamgram2.sql
   mysql -uroot teamgram < teamgramd/sql/migrate-20220321.sql
   mysql -uroot teamgram < teamgramd/sql/migrate-20220326.sql
   mysql -uroot teamgram < teamgramd/sql/migrate-20220328.sql
   mysql -uroot teamgram < teamgramd/sql/migrate-20220401.sql
   mysql -uroot teamgram < teamgramd/sql/migrate-20220412.sql
   mysql -uroot teamgram < teamgramd/sql/migrate-20220419.sql
   mysql -uroot teamgram < teamgramd/sql/migrate-20220423.sql
  • init minio buckets, bucket names:

    • documents
    • encryptedfiles
    • photos
    • videos
  • Build

cd scripts
./build.sh
  • Run
cd ../teamgramd/bin
./runall2.sh

Compatible clients

Important: default signIn verify code is 12345

Android client for Teamgram

iOS client for Teamgram

tdesktop for Teamgram

Feedback

Please report bugs, concerns, suggestions by issues, or join telegram group Teamgram中文社区 Or Teamgram to discuss problems around source code.

Notes

If need enterprise edition, please PM the author

Give a Star! ⭐

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.5%
  • Shell 0.5%