Skrypt, który generuje podsumowanie Bazy Wiedzy zasobów Hackerspace Trójmiasto w formie statycznej strony internetowej. https://martasien.github.io/hs3-baza-zasobow-dashboard/
Find a file
Hubert Bryłkowski 78a9f8cbe9
starter docs
2023-07-09 16:00:49 +02:00
.github/workflows build on every push 2023-07-09 15:37:03 +02:00
labeler simple bot for getting media info 2023-07-09 15:30:10 +02:00
labeler_docs/brother add function for getting info about installed tape 2023-07-09 15:10:24 +02:00
tests add function for getting info about installed tape 2023-07-09 15:10:24 +02:00
Dockerfile starter docs 2023-07-09 16:00:49 +02:00
poetry.lock starter docs 2023-07-09 16:00:49 +02:00
pyproject.toml starter docs 2023-07-09 16:00:49 +02:00
readme.md starter docs 2023-07-09 16:00:49 +02:00

labeling telegram bot

This application is build to render and print labels sent to it via telegram, as well as provide info about printer status and other useful information.

usage example

You need to things:

  1. A telegram bot token, you can write to @BotFather to get one
  2. A compatible printer
  3. docker installed on your system
version: "3.8"
services:
  bot:
    build:
      context: .
      dockerfile: Dockerfile
    environment:
      - PRINTER_IP=<printer_ip>
      - TELEGRAM_TOKEN=<telegram_bot_token>
    command:
      - python
      - labeler/adapter/telegram_bot.py

Supported printers

  • Brother PT-E550W