Skip to content

Westwoodlabs/strichliste-telegram

Repository files navigation

strichliste-telegram - A Strichliste Telegram Bot

A Telegram Bot written in Python for the great Strichliste project. The Strichliste Telegram Bridge runs well as systemd daemon or inside a docker container like strichliste-docker we also build.

Screenshot

Screenshot

Usage

  • Get bot token form Telegram Bot Father

Docker

  • Map the config file and authorized users file to the container
services:
  telegram:
    image: ghcr.io/westwoodlabs/strichliste-telegram
    restart: unless-stopped
    volumes:
      - ./data/telegram/authorizedUsers.json:/usr/src/app/authorizedUsers.json
      - ./data/telegram/config.py:/usr/src/app/config.py

systemd-Deamon

  • Rename config.default.py to config.py and change parameters
  • Start script ./bot.py

See sltgbridge.service

[Unit]
Description=Strichliste Telegram Bridge
After=syslog.target
After=network.target

[Service]
Type=simple
User=sltgbridge
Group=sltgbridge
WorkingDirectory=/opt/StrichlisteTelegramBridge
ExecStart=/opt/StrichlisteTelegramBridge/SlTgBridge.py
SyslogIdentifier=sltgbridge
StandardOutput=syslog
StandardError=syslog
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target

About

A bridge from strichliste to Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages