Skip to content

Commit

Permalink
@caloriecounterlive_bot
Browse files Browse the repository at this point in the history
@caloriecounterlive_bot – a Mini App that helps you track your daily calorie intake. The user is presented with an interface where they can select food items, adjust the amount, customize with more items to calculate the total calories, and finally add the result back to the chat.
  • Loading branch information
aeither committed Oct 9, 2023
1 parent 87907b1 commit dabfd6a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Expand Up @@ -33,8 +33,22 @@ At this point, you should be able to see a sticky blue button at the bottom to s

# Instructions

## Calorie Counter App

Get the `.env` variables from edamam API website.

```text
npm install
```

```text
npm run dev
```

## Bot Setup

Open @BotFather and create a new bot.
Copy the bot token and go to the calorie-counter-bot repository to update the .env TELEGRAM_BOT_TOKEN with the token for local development and TELEGRAM_BOT_TOKEN_LIVE for production.
Copy the bot token and go to the calorie-counter-bot repository to update the `.env` `TELEGRAM_BOT_TOKEN` with the token for local development and `TELEGRAM_BOT_TOKEN_LIVE` for production.

You can choose to host it on whatever server you like. The server I used, which I also recommend, is Deno Deploy.
As a requirement, Deno should be installed on your system.
Expand Down

0 comments on commit dabfd6a

Please sign in to comment.