Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xqm32/chats-marker-bot
https://github.com/xqm32/chats-marker-bot
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/xqm32/chats-marker-bot
- Owner: xqm32
- License: mit
- Created: 2024-02-17T15:20:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-21T14:45:20.000Z (11 months ago)
- Last Synced: 2024-02-21T16:38:00.980Z (11 months ago)
- Language: TypeScript
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chats Marker Bot
_Chats Marker Bot_ is a Telegram bot helps mark channels and groups. Just send or forward message contains Telegram links to the bot, it will helps resolve links and reply the links in a clean format.
## How to deploy
Fork this GitHub repository, add a repository secrets `CLOUDFLARE_API_TOKEN` with a [CloudFlare API Token](https://dash.cloudflare.com/profile/api-tokens). Then enable GitHub Actions and manually run the deploy workflow.
A Telegram bot token is required to configure, which can be created with [BotFather](https://t.me/BotFather). After the bot token created, open CloudFlare worker settings and add an environment variable `BOT_TOKEN`.
Now visit the URL to set the webhook, replace `` and `` with an actual value:
```
https://api.telegram.org/bot/setWebhook?url=https://chats-marker-bot..workers.dev/
```