This is a Telegram bot that scrapes a website for specific items and sends a message to a specified chat when it finds matching items.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- Typescript
- yarn
-
Clone the repository:
git clone https://github.com/namiranda/notifications-bot.git
-
Install the dependencies:
cd notifications-bot yarn install
-
Create a
.env
file in the root directory of the project, and add your bot token and chat ID:TOKEN=your_bot_token CHAT_ID=your_chat_id
-
Start the bot:
yarn start
This bot can be deployed on any platform that supports Node.js, such as Heroku, AWS Elastic Beanstalk, or Vercel.
- Node.js
- node-telegram-bot-api - Telegram Bot API for NodeJS
- Puppeteer - Headless Chrome Node.js API