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 375fb3555f expand docs
2026-04-16 13:32:29 +02:00
.github build on every push 2026-04-16 13:32:29 +02:00
docs Fix for untracked files 2026-04-01 07:57:09 +02:00
labeler added support for printing simple labels 2026-04-16 13:32:29 +02:00
labeler_docs/brother add function for getting info about installed tape 2026-04-16 13:32:29 +02:00
template Move xml str to separate files 2026-04-01 07:30:50 +02:00
tests add function for getting info about installed tape 2026-04-16 13:32:29 +02:00
.gitignore Add a function to replace string in existing topics 2026-01-18 13:38:09 +01:00
discourse.py Add audiolab and server-room 2026-04-01 07:39:10 +02:00
Dockerfile starter docs 2026-04-16 13:32:29 +02:00
img.png expand docs 2026-04-16 13:32:29 +02:00
img_1.png expand docs 2026-04-16 13:32:29 +02:00
main.py Add slightly (ok, very) dirty code to generate Brother P-Touch files 2026-02-04 10:50:33 +01:00
poetry.lock starter docs 2026-04-16 13:32:29 +02:00
pyproject.toml starter docs 2026-04-16 13:32:29 +02:00
readme.md expand docs 2026-04-16 13:32:29 +02:00
README.md Update README.md 2026-02-03 21:24:47 +01:00
requirements.txt Add pagination and auth headers 2026-01-18 13:20:57 +01:00
zasoby.csv Fix for untracked files 2026-04-01 07:57:09 +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.

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