Sign inSign up

ferpinan/ausolan-telegram-bot

By ferpinan

•Updated 13 days ago

Ausolan Telegram Bot - Version 2.0.0

Image
0

416

ferpinan/ausolan-telegram-bot repository overview

⁠Ausolan Telegram Bot

Docker Pulls Docker Image Size

A Telegram bot that provides menu information from Ausolan catering services.

⁠Disclaimer

This project is an unofficial community tool and is not affiliated with Ausolan.

⁠Quick Start

⁠Using Docker
docker run -d \
  --name ausolan-telegram-bot \
  --restart always \
  -e TELEGRAM_BOT_TOKEN=your_bot_token_here \
  -e TELEGRAM_CHAT_TOKEN=@your_channel_here \
  -e AUSOLAN_CENTROPK=your_centro_pk \
  -e AUSOLAN_CENTROENVIOPK=your_centro_envio_pk \
  -e AUSOLAN_DIETAPK=your_dieta_pk \
  -e AUSOLAN_IDIOMAPK=your_idioma_pk \
  -e AUSOLAN_MENUPK=your_menu_pk \
  -e AUSOLAN_SERVICIOPK=your_servicio_pk \
  ferpinan/ausolan-telegram-bot:latest
⁠Using Docker Compose

Create a docker-compose.yml file:

services:
  ausolan-telegram-bot:
    image: ferpinan/ausolan-telegram-bot:latest
    container_name: ausolan-telegram-bot
    environment:
      # Telegram Configuration
      - TELEGRAM_BOT_TOKEN=your_bot_token_here
      - TELEGRAM_CHAT_TOKEN=@your_channel_here
      # Ausolan Configuration
      - AUSOLAN_BASEURL=https://apimenuo.ausolan.com/plapi
      - AUSOLAN_CENTROPK=your_centro_pk
      - AUSOLAN_CENTROENVIOPK=your_centro_envio_pk
      - AUSOLAN_DIETAPK=your_dieta_pk
      - AUSOLAN_IDIOMAPK=your_idioma_pk
      - AUSOLAN_MENUPK=your_menu_pk
      - AUSOLAN_SERVICIOPK=your_servicio_pk
    restart: always

Example for Amassorrain Ikastola:

services:
  ausolan-telegram-bot:
    image: ferpinan/ausolan-telegram-bot:latest
    container_name: ausolan-telegram-bot
    environment:
      # Telegram Config Variables
      - TELEGRAM_BOT_TOKEN=7637911987:AAHLPYMyFSFbAyin_z6FmGg-IOJYUoNTRDI
      - TELEGRAM_CHAT_TOKEN=@amassorrainmenudev
      # Ausolan 
      - AUSOLAN_BASEURL=https://apimenuo.ausolan.com/plapi
      - AUSOLAN_CENTROPK=4c892ec4983a49dfb156b2830157a241
      - AUSOLAN_CENTROENVIOPK=385f5df365de42bfb890b291008e12c8
      - AUSOLAN_DIETAPK=d12fe25a9bbd49239e3cd65eef62e7c5
      - AUSOLAN_IDIOMAPK=00242C08E94B10101810432101292479
      - AUSOLAN_MENUPK=cebf5d72a8ba4ac2b20bb2ac008f5403
      - AUSOLAN_SERVICIOPK=6f6096586ff248189d7d535b8509f411
    restart: always

Then run:

docker-compose up -d

⁠Environment Variables

VariableRequiredDefault ValueDescription
TELEGRAM_BOT_TOKENYes-Your Telegram Bot API token from @BotFather⁠
TELEGRAM_CHAT_TOKENYes-Target Telegram channel or chat ID (e.g., @channelname or -1001234567890)
AUSOLAN_BASEURLNohttps://apimenuo.ausolan.com/plapiBase URL for Ausolan API
AUSOLAN_CENTROPKYes-Center primary key identifier
AUSOLAN_CENTROENVIOPKYes-Center shipment primary key identifier
AUSOLAN_DIETAPKYes-Diet primary key identifier
AUSOLAN_IDIOMAPKYes-Language primary key identifier
AUSOLAN_MENUPKYes-Menu primary key identifier
AUSOLAN_SERVICIOPKYes-Service primary key identifier

⁠Notes

  • All Ausolan PK (Primary Key) values are specific to your catering service configuration
  • The bot requires a valid Telegram Bot Token obtained from @BotFather⁠
  • Make sure the bot has permission to post in the specified channel/chat

⁠Configuration

To obtain your specific Ausolan configuration values (PK identifiers), you'll need to inspect the API calls from the official Ausolan menu platform or contact your catering service provider.

⁠License

This is an open-source community project. Please ensure you comply with Ausolan's terms of service when using their API.

⁠Contributing

Contributions, issues, and feature requests are welcome!

⁠Support

For issues and questions, please open an issue on the project repository.


Remember: This is an unofficial tool created by the community and is not endorsed or supported by Ausolan.

Tag summary

Content type

Image

Digest

sha256:d9bc071a0…

Size

210.5 MB

Last updated

13 days ago

docker pull ferpinan/ausolan-telegram-bot