Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CitRUSprod/tc2tc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitch Chat to Telegram Channel (TC2TC)

Twitch Chat logger in Telegram Channel

Build Status MIT license

Installation with Docker

  1. Install docker and docker-compose

  2. Clone the repository to your local computer:

$ git clone https://github.com/CitRUSprod/tc2tc
  1. Open app folder:
$ cd tc2tc
  1. Build an image of the app:
$ docker-compose build app
  1. Create a configuration file

Usage with Docker

Start app:

$ docker-compose up app

Stop app:

$ docker-compose down

Installation without Docker

  1. Install node.js and yarn

  2. Clone the repository to your local computer:

$ git clone https://github.com/CitRUSprod/tc2tc
  1. Open app folder:
$ cd tc2tc
  1. Build the app:
$ yarn && yarn build
  1. Create a configuration file

Usage without Docker

Start app:

$ yarn start

Configuration

// data/config.json
{
    "channelPairs": [
        {
            "twitch": "TWITCH_CHANNEL_1",
            "telegram": "TELEGRAM_CHANNEL_1"
        },
        {
            "twitch": "TWITCH_CHANNEL_2",
            "telegram": "TELEGRAM_CHANNEL_2"
        },
        {
            "twitch": "TWITCH_CHANNEL_3",
            "telegram": "TELEGRAM_CHANNEL_3"
        }
    ],
    "telegramBotTokens": [                     // recommended 5-6 bots
        "TELEGRAM_BOT_TOKEN_1",
        "TELEGRAM_BOT_TOKEN_2",
        "TELEGRAM_BOT_TOKEN_3",
        "TELEGRAM_BOT_TOKEN_4",
        "TELEGRAM_BOT_TOKEN_5"
    ],
    "httpsProxy": "0.0.0.0:8080",              // optional
    "format": {                                // optional
        "date": "DD.MM.YYYY",
        "time": "HH:mm:ss"
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published