GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - requilence/integram: Integrate Telegram into your workflow – Trello, Gitlab, Bitbucket and other bots

This repository was archived by the owner on Apr 14, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

295 Commits
295 Commits

Folders and files

NameName
Last commit message
Last commit date
.circleci
.circleci
 
 
cmd
cmd
 
 
modules/feedback
modules/feedback
 
 
.dockerignore
.dockerignore
 
 
Dockerfile
Dockerfile
 
 
FUNDING.yml
FUNDING.yml
 
 
Gopkg.lock
Gopkg.lock
 
 
Gopkg.toml
Gopkg.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bots.go
bots.go
 
 
bots_test.go
bots_test.go
 
 
config.go
config.go
 
 
context.go
context.go
 
 
context_test.go
context_test.go
 
 
data.go
data.go
 
 
data_test.go
data_test.go
 
 
docker-compose.yml
docker-compose.yml
 
 
encode.go
encode.go
 
 
handlers.go
handlers.go
 
 
helpers.go
helpers.go
 
 
migrations.go
migrations.go
 
 
oauth.go
oauth.go
 
 
oauth_token_store.go
oauth_token_store.go
 
 
richtext.go
richtext.go
 
 
richtext_test.go
richtext_test.go
 
 
services.go
services.go
 
 
services_test.go
services_test.go
 
 
stat.go
stat.go
 
 
templates.go
templates.go
 
 
tgupdates.go
tgupdates.go
 
 
tgupdates_test.go
tgupdates_test.go
 
 
types.go
types.go
 
 

Repository files navigation

Integram 2.0

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.

CircleCI Docker Image GoDoc

Screencast

How to use Integram in Telegram (using public bots)

Just use these links to add bots to your Telegram

  • Trello

  • Gitlab

  • Bitbucket

  • Simple webhook bot

  • GitHub – GitHub bot was developed by Igor Zhukov and it is not part of Integram

Did not find your favorite service? 🤘 Vote for it

How to host Integram on your own server (using your private bots)

🐳 Docker way

  • Prerequisites :
    • You will need docker and docker-compose installed
    • Create your Telegram bot(s) by talking to @BotFather
  • Clone the repo:
   git clone https://github.com/requilence/integram && cd integram
  • Check the 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.

        • For Let's Encrypt: 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

        • TRELLO_OAUTH_ID – API Key
        • TRELLO_OAUTH_SECRET – OAuth Secret
    • For more detailed info about other services you should check the corresponding repo at https://github.com/integram-org

  • Export the variables you identified in the previous step, for instance on linux this should be something like:
   export INTEGRAM_PORT=xxxx
   export ...
  • Now you can run the services (linux: careful if you need to sudo this, the exports you just did will not be available) :
   docker-compose -p integram up trello gitlab ## Here you specify the services you want to run
  • Or in background mode (add -d):
   docker-compose -p integram up -d trello gitlab
  • You should now see Integram's startup logs in your console
  • In Telegram, you can now start your bots (/start) and follow their directions, configure them using /settings
  • Some useful commands:
   ## Check the containers status
   docker ps
   
   ## Fetch logs for main container
   docker logs -f $(docker ps -aqf "name=integram_integram")   
  • To update Integram to the latest version:
    ## 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

🛠 Old-school way (No docker)

  • 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
  • Specify the required ENV variables – check the Docker way section
  • Run it
    go build integram && ./integram

Dependencies

Dependencies are specified in Gopkg.toml and fetched using Go dep

Contributing

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.

Libraries used in Integram

  • Telegram Bindings
  • Gin – HTTP router and framework
  • Mgo – MongoDB driver
  • Jobs – background jobs
  • Logrus – structure logging

License

Code licensed under GPLV3 license

Analytics

About

Integrate Telegram into your workflow – Trello, Gitlab, Bitbucket and other bots

integram.org

Topics

bitbucketgitlabgolanggolang-applicationtelegramtelegram-bottelegram-bot-apitrello

Resources

Readme
GPL-3.0 license
Activity

Stars

1.5k stars

Watchers

49 watching

Forks

146 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.