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
2026-03-24 14:31:07 +01:00
.github/workflows build on every push 2023-07-09 15:37:03 +02:00
labeler feat: Add Web iface with QR codes 2026-03-24 14:31:07 +01: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
docker-compose.yml support more tape widths 2023-07-12 18:49:21 +02:00
Dockerfile starter docs 2023-07-09 16:00:49 +02:00
img.png expand docs 2023-07-09 20:07:30 +02:00
img_1.png expand docs 2023-07-09 20:07:30 +02:00
pyproject.toml feat: Add Web iface with QR codes 2026-03-24 14:31:07 +01:00
readme.md expand docs 2023-07-09 20:07:30 +02:00
uv.lock feat: Add Web iface with QR codes 2026-03-24 14:31:07 +01: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.

Supported commands

  • /media_info - show info about currently installed media img.png
  • /simple_label - print a simple label img_1.png

Usage example

You need three 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