EchoAtlas is a Telegram bot that delivers Instant Song Metadata, Lyrics and Descriptive insights. It enables users to quickly access metadata of a song such as Artist details, Album, Release year and Genre.
This repo now supports Telegram webhooks on Vercel.
- Set these environment variables in Vercel:
TELEGRAM_BOT_TOKENGENIUS_ACCESS_TOKENTELEGRAM_WEBHOOK_SECRETor leave it unset
- Deploy the project to Vercel.
- Register the webhook with Telegram once the deployment is live:
curl -X POST "https://api.telegram.org/bot<YOUR_BOT_TOKEN>/setWebhook" \
-d "url=https://<your-vercel-domain>/api/webhook" \
-d "secret_token=<your-telegram-webhook-secret>"Or run the helper script after setting the same environment variables locally:
python set_webhook.pyFor local runs, python song_metadata_bot.py still uses polling.