Skip to content

A Telegram bot for recipes

License

Notifications You must be signed in to change notification settings

JosemyDuarte/recipe-bot

Repository files navigation

Recipe Bot

There's a bot for everything, and this is a bot to easily find new recipes. It was build by making use of the Serverless Framework CLI. Why? Just for fun 😉

How does it works?

  1. Start a conversation with the bot with a /start command/message.
  2. Send a message like /recipe [ingredient1, ingredient2, ...].

screenshot

Do you wanna try it?

The main thing you will require is a Telegram Bot Token. Once you have that and with Docker installed, build the image:

docker build --rm -f "Dockerfile" -t recipebot:latest "."

And run the Serverless Server 😎:

docker run -e TELEGRAM_TOKEN=<YOUR_TELEGRAM_TOKEN> -it --rm -p 80:80 recipebot

Now you only need to use some tunneling tool like localtunnel or ngrok and set the url as a webhook to Telegram making a request to this URL:

https://api.telegram.org/bot<YOUR_TOKEN_BOT>/setWebhook?url=<TUNNELING_URL>/find

About

A Telegram bot for recipes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published