Integrate Telegram into your workflow – Trello, Gitlab, Bitbucket and other bots
GPL-3.0 License
Framework and platform to integrate services with Telegram using the official Telegram Bot API
Individual integration repos are located at https://github.com/integram-org.
Just use these links to add bots to your Telegram
GitHub GitHub bot was developed by Igor Zhukov and it is not part of Integram
Did not find your favorite service? Vote for it
git clone https://github.com/requilence/integram && cd integram
docker-compose.yml
file for the required ENV vars for each service
E.g. in order to run the Trello integration you will need to export:
INTEGRAM_BASE_URL the base URL where your Integram host will be accessible, e.g. https://integram.org
INTEGRAM_PORT if set to 443 Integram will use ssl.key/ssl.cert at /go/.conf.
ssl.cert
has to be fullchain.pem
, not cert.pem
This directory is mounted on your host machine. Just get the path and put these files inside
## Get the path of config directory on the host machine
docker volume inspect -f '{{ .Mountpoint }}' integram_data-mainapp
TRELLO_BOT_TOKEN your bot's token you got from @BotFather
You will need to get your own OAuth credentials from Trello
For more detailed info about other services you should check the corresponding repo at https://github.com/integram-org
export INTEGRAM_PORT=xxxx
export ...
docker-compose -p integram up trello gitlab ## Here you specify the services you want to run
-d
): docker-compose -p integram up -d trello gitlab
/start
) and follow their directions, configure them using /settings
## Check the containers status
docker ps
## Fetch logs for main container
docker logs -f $(docker ps -aqf "name=integram_integram")
## Fetch last version of images
docker-compose pull integram trello gitlab
## Restart containers using the new images
docker-compose -p integram up -d trello gitlab
First you need to install all requirements: Go 1.9+, Go dep, MongoDB 3.4+ (for data), Redis 3.2+ (for jobs queue)
Then, using this template
create the main.go
file and put it in src/integram/
inside your preferred working directory (e.g. /var/integram/src/integram/main.go
)
## set the GOPATH to the absolute path of directory containing 'src' directory that you have created before
export GOPATH=/var/integram
cd $GOPATH/src/integram
## install dependencies
dep init
go build integram && ./integram
Dependencies are specified in Gopkg.toml
and fetched using Go dep
Feel free to send PRs. If you want to contribute new service integrations, please create an issue first. Just to make sure someone is not already working on it.
Code licensed under GPLV3 license