Skip to content

eugeneyak/lrlc

Repository files navigation

LRLC Telegram Bot

LRLC is a Telegram bot designed for resource management. It helps track the receipt, maintenance, extradition, and replacement of items, as well as keeping notes. The bot uses a state machine to guide the user through different processes.

Commands

The bot responds to the following commands:

  • /start - Initializes the bot and welcomes the user.
  • /receipt - Starts the process of recording a new item receipt.
  • /maintenance - Starts the process of recording maintenance on an item.
  • /extradition - Starts the process of recording the extradition of an item.
  • /replacement - Starts the process of recording the replacement of an item.
  • /notes - Allows the user to add notes.

Setup and Building

Environment Variables

The bot requires the following environment variables to be set:

  • TOKEN - Your Telegram bot token.
  • ENTRYPOINT - The entrypoint for the bot (e.g., polling or webhook).

Building

To build the bot, you need to have Docker installed.

  1. Login to the GitHub Container Registry:
    docker login ghcr.io
    
  2. Build the Docker image:
    docker buildx build --platform linux/amd64 --tag ghcr.io/eugeneyak/lrlc --push .
    

Upgrade ruby version

To upgrade the Ruby version, use the following command:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •