A Telegram bot to purify your links, based on pURLfy core. You can find the bot at @purlfy_bot.
Note that NodeJS 18+ is required. If you're using a lower version, you can try to remove
node:
from the first two lines atindex.js
, but I do not promise this solution will work.
- Clone the repo
- Install dependencies with
npm install --save node-telegram-bot-api
- Get
purlfy.js
andrules/
at pURLfy core and pURLfy rules (You can try outupdate.sh
if you're lazy) - Create
config.json
with following key(s):token
: Your bot token, required- Todo...
node index.js