An open API service indexing awesome lists of open source software.

https://github.com/imgios/nonnatittina-bot

👵🏼 Unofficial Nonna Tittina Telegram Bot
https://github.com/imgios/nonnatittina-bot

python-telegram-bot telegram-bot

Last synced: 11 months ago
JSON representation

👵🏼 Unofficial Nonna Tittina Telegram Bot

Awesome Lists containing this project

README

          

# 👵🏼 Nonna Tittina Bot

NonnaTittina ([👵🏼 @NonnaTittinaBot](https://t.me/nonnatittinabot)) is a Telegram Bot that allows you to fetch the restaurant menu from the [official website](https://nonnatittina.eu/) and reading it within the app.

## Getting Started

These instructions will get you a copy of the project up and running.

### Prerequisites

- Python (used v3.9)
- pip
- Virtualenv
- Telegram Bot (use [BotFather](https://t.me/botfather))
- Docker (optional: mandatory if you want to run it inside a container)

### Running it with Docker

Running it in a Docker container is almost a one-step procedure:

```bash
$ docker pull ghcr.io/imgios/nonnatittina-bot:latest
$ docker run -it imgios/nonnatittina-bot:latest -e TELEGRAM_BOT_TOKEN=
```

### Running it without Docker

1. First of all, you need to clone the repository:

```bash
$ git clone https://github.com/imgios/nonnatittina-bot.git
$ cd nonnatittina-bot
```

2. Then create a virtualenv and activate it:

```bash
$ python -m venv venv
$ source venv/bin/activate # Linux
$ .\venv\Scripts\activate.bat # Windows
```

3. Install dependencies inside the virtualenv using pip:

```bash
$ pip install -r requirements.txt
```

4. Create an environment variable named `TELEGRAM_BOT_TOKEN` and use the bot token as value.
5. Start the bot:
```bash
$ python bot.py
```

## Built With

* [Python](https://www.python.org/)
* [python-telegram-bot Wrapper](https://github.com/python-telegram-bot/python-telegram-bot)

## Contributors



## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details