This bot listens to incoming messages for valid URLs. When a URL is provided, the bot fetches the website content and returns it as a PDF file.
https://t.me/article_saver_bot
- Clone the Repository:
git clone https://github.com/GottliebGlob/article-saver-bot.git
cd telegram-pdf-bot
- Setup Environment Variables
Rename the .env.sample
to .env
and update the BOT_TOKEN
variable with your bot's token.
BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN_HERE
- Install Dependencies:
`npm install`
- Run the Bot:
`npm run start`
This project is open-source and available under the MIT License.