See social media posts right in the Telegram Messenger.
- Media downloading
- TikTok
- YouTube Shorts
- Twitter (X)
- Soundcloud
- Unified
/downloadcommand for direct downloads
- Add @UMMRobot to the group chat
- Send any supported social media post link to the chat
- Type
@UMMRobotin any chat and paste a supported social media post link - Press "Share post"
- Add @UMMRobot to the group chat
- Use
/download linkor just/downloadin reply to the message containing a link - Or mention the bot in that reply to trigger the same download flow without the slash command
- Install Deno 2
- Set
COBALT_API_URLto your hosted Cobalt API endpoint. For an Azure Function HTTP trigger, this is usuallyhttps://<app>.azurewebsites.net/api/<route>. - Set
COBALT_API_KEYif your Cobalt instance requiresAuthorization: Api-Key. - Set
COBALT_AZURE_FUNCTION_KEYif your Azure Function requires anx-functions-keyheader. - Install
ffmpegif you want collage generation outside the app container - Start the bot with
deno task start - Run checks with
deno task check - Format with
deno task fmt - Run lint with
deno task lint - Run the full verification pass with
deno task verify - Run the existing migration with
deno task migrate:add-chat-settings - Runtime tasks load local variables from
.envvia Deno's--env-file
For local development, you can run a Cobalt container with Podman and point the bot at it directly:
- Set local Cobalt values in
.env:COBALT_API_URL=http://127.0.0.1:9000COBALT_AZURE_FUNCTION_KEY=
- Start everything with
deno task dev:local
This repo includes an Azure Functions HTTP trigger at
azure-functions/cobalt-proxy. It exposes POST /api/cobalt and GET /tunnel,
boots Cobalt API inside the Function worker on cold start, and forwards requests
to that internal Cobalt server.
- Install dependencies with
deno task function:install - Configure your Function App settings:
COBALT_INTERNAL_PORT=9000COBALT_DOWNLOAD_TIMEOUT_MS=120000COBALT_DOWNLOAD_RETRIES=5COBALT_DOWNLOAD_RETRY_DELAY_MS=1000
- Publish to your existing Function App with
deno task function:publish <function-app-name> - Set the bot env:
COBALT_API_URL=https://<function-app-name>.azurewebsites.net/api/cobaltCOBALT_AZURE_FUNCTION_KEY=<function-specific-key>