/andaluh-telegram

Telegram bot to transliterate español (spanish) spelling to andaluz proposals

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

Andaluh Telegram Bot

Deploy

Transliterate your spanish to andaluh EPA using this telegram bot. This bot stores user preferences after interacting with the transliteration options.

andaluh-slack about

Table of Contents

Installation

First install dependencies

You need to setup 3 environment variables to integrate with Telegram:

You can use the .env file to store them secretely. Use the .env.example template:

$ cp .env.example .env # and edit the file!

Then you can run the bot using the run.sh script for development purposes:

$ pip3 install -r requirements.txt
$ run.sh

Or dockerised, a better option for production deployments:

$ docker-compose up --build -d

IMPORTANT NOTE: In order to collect user preferences, you need to ENABLE inline feedback with /setinlinefeedback BotFather command. Please check doc for further reference: https://core.telegram.org/bots/inline#collecting-feedback

Roadmap

  • Add andaluh-py as an option instead of API.
  • Add a new command to set user preferences
  • Add a new command to exaplain how a transliteration is done, rule by rule. For educationan purposes.
  • Add a new command to retrieve andalugeeks memes. For fun!

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.