Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pro-2684/telegram-purlfy
A Telegram bot to purify your links
https://github.com/pro-2684/telegram-purlfy
nodejs purlfy telegram-bot url-cleaning
Last synced: 16 days ago
JSON representation
A Telegram bot to purify your links
- Host: GitHub
- URL: https://github.com/pro-2684/telegram-purlfy
- Owner: PRO-2684
- License: gpl-3.0
- Created: 2024-04-11T09:10:01.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-11T12:20:20.000Z (8 months ago)
- Last Synced: 2024-05-11T13:34:34.233Z (8 months ago)
- Topics: nodejs, purlfy, telegram-bot, url-cleaning
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram-pURLfy
A Telegram bot to purify your links, based on [pURLfy core](https://github.com/PRO-2684/pURLfy). You can find the bot at [@purlfy_bot](https://t.me/purlfy_bot).
## Deploying
> Note that **NodeJS 18+** is required. If you're using a lower version, you can try to remove `node:` from the first two lines at `index.js`, but I do not promise this solution will work.
1. Clone the repo
2. Install dependencies with `npm install --save node-telegram-bot-api`
3. Get `purlfy.js` and `rules/` at [pURLfy core](https://github.com/PRO-2684/pURLfy/) and [pURLfy rules](https://github.com/PRO-2684/pURLfy-rules/) (You can try out `update.sh` if you're lazy)
4. Create `config.json` with following key(s):
- `token`: Your bot token, **required**
- Todo...
5. `node index.js`