/telegramd

Unofficial open source telegram server written in golang

Primary LanguageGoApache License 2.0Apache-2.0

telegramd

Chinese

简介

Go语言开源mtproto服务器,兼容telegram客户端

编译

首先,我们假设您已经有基本的golang基础,至少知道GOROOT,GOPATH这些概念。

下载代码

mkdir $GOPATH/src/github.com/nebulaim/
cd $GOPATH/src/github.com/nebulaim/
git clone https://github.com/nebulaim/telegramd.git

编译代码

编译frontend

cd $GOPATH/src/github.com/nebulaim/telegramd/access/frontend
go get
go build

编译session

cd $GOPATH/src/github.com/nebulaim/telegramd/access/session
go get
go build

编译sync

cd $GOPATH/src/github.com/nebulaim/telegramd/push/sync
go get
go build

编译biz_server

cd $GOPATH/src/github.com/nebulaim/telegramd/biz_server
go get
go build

运行

cd $GOPATH/src/github.com/nebulaim/telegramd/access/frontend
./frontend

cd $GOPATH/src/github.com/nebulaim/telegramd/access/session
./session

cd $GOPATH/src/github.com/nebulaim/telegramd/push/sync
./sync

cd $GOPATH/src/github.com/nebulaim/telegramd/biz_server
./biz_server

English

Introduce

open source mtproto server implement by golang, which compatible telegram client.

Compile