Sign inSign up

jyrodriguezg95/glpi-bot

By jyrodriguezg95

Updated over 1 year ago

Image
0

1.2K

jyrodriguezg95/glpi-bot repository overview

GLPI Bot – Microservicio Chatbot

Contenedor que expone una API para interactuar con GLPI vía un chatbot de Telegram, ideal para abrir y consultar tickets automáticamente.

¿Qué es?

Un microservicio Python que se comunica con:

  • GLPI (API REST)
  • Telegram (API Bot)
  • Usuarios finales que hacen consultas automatizadas

¿Cómo funciona?

  1. Usa FastAPI para levantar un servidor REST.
  2. Se conecta al bot de Telegram usando un BOT_TOKEN.
  3. Las funciones se activan mediante comandos como /ticket, /status, etc.

¿Cómo usar?

docker build -t glpi-bot ./glpi-bot
docker run -d --name glpi-bot \
  -e TELEGRAM_TOKEN=tu_token \
  -e GLPI_API_URL=http://glpi-url/apirest.php \
  -e GLPI_APP_TOKEN=token_app \
  -e GLPI_USER_TOKEN=token_user \
  -p 8000:8000 \
  glpi-bot

Tag summary

Content type

Image

Digest

sha256:c4497db70

Size

51.9 MB

Last updated

over 1 year ago

docker pull jyrodriguezg95/glpi-bot