teamgram-server

module
v0.86.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2022 License: Apache-2.0

README

Teamgram - Open source mtproto server written in golang

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

English | 简体中文

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
Run dpends with docker-compose
# pull docker images
docker-compose pull

# run docker-compose
docker-compose up -d
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
  • 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 and signOut 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!

Directories

Path Synopsis
app
service/dfs/internal/imaging/jpeg
Package jpeg implements a JPEG image decoder and encoder.
Package jpeg implements a JPEG image decoder and encoder.
service/dfs/internal/imaging/jpeg/imageutil
Package imageutil contains code shared by image-related packages.
Package imageutil contains code shared by image-related packages.
pkg
mention
Package mention provides function for parsing twitter like mentions and hashtags
Package mention provides function for parsing twitter like mentions and hashtags

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL