Awesome
matrix-appservice-telegram
Node.js Telegram bridge for Matrix
Prerequisites
- Telegram Bot API token, refer to Telegram Bot API setup for more info
- A working homeserver install
npm
andnodejs
NB: This how-to refers to the binary node - this may be nodejs depending on your distro.
Setup
-
npm install
-
cp telegram-config-example.yaml telegram-config.yaml
-
$EDITOR telegram-config.yaml
-
node index.js -r -u "http://localhost:9090"
or any available port -
Add path to generated
telegram-registration.yaml
intohomeserver.yaml
, e.g:app_service_config_files: [ "/home/user/matrix-appservice-telegram/telegram-registration.yaml" ]
-
node index.js -p 9090 -c telegram-config.yaml
, use same port as in step 4