{"id":18471706,"url":"https://github.com/surfboardv2ray/telegram-spotbot","last_synced_at":"2026-01-03T19:13:27.437Z","repository":{"id":240041709,"uuid":"801508306","full_name":"Surfboardv2ray/telegram-spotbot","owner":"Surfboardv2ray","description":"A simple bot to use Spotify features in Telegram.","archived":false,"fork":false,"pushed_at":"2024-05-22T04:26:55.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-23T21:42:53.665Z","etag":null,"topics":["github-actions","spotdl","spotify","spotify-downloader","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https:/t.me/Surfboardv2ray","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Surfboardv2ray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-16T11:16:23.000Z","updated_at":"2024-05-22T04:26:58.000Z","dependencies_parsed_at":"2024-05-22T05:26:03.375Z","dependency_job_id":"2173ec49-adad-4fba-99c0-68e372653a08","html_url":"https://github.com/Surfboardv2ray/telegram-spotbot","commit_stats":null,"previous_names":["surfboardv2ray/telegram-spotify-bot"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Ftelegram-spotbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Ftelegram-spotbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Ftelegram-spotbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Surfboardv2ray%2Ftelegram-spotbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Surfboardv2ray","download_url":"https://codeload.github.com/Surfboardv2ray/telegram-spotbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244031035,"owners_count":20386534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","spotdl","spotify","spotify-downloader","telegram","telegram-bot"],"created_at":"2024-11-06T10:17:46.310Z","updated_at":"2026-01-03T19:13:27.332Z","avatar_url":"https://github.com/Surfboardv2ray.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nA simple bot to get Spotify's features in Telegram.\n\n# Disclaimer\nThis code is developed for educational purposes only and no abuse of any services, either Github, Spotify, or Telegram is instended.\n\n# How to\n* Create a telegram bot using [@BotFather](https://t.me/BotFather) and get your bot API token.\n* Create an Actions Secret called `TELEGRAM_BOT_TOKEN` and set the value as your bot API token.\n* Make sure you've allowed `Read and Write Permission` to github actions before running the workflow.\n* To avoid extended workflow run for free users and avoid abuse of services, `tg-bot.yml` is set out to cancel the workflow after a limited time. Adjust it under `timeout-minutes`, capped at 6 hours due to Github policies (360 minutes).\n* Run the workflow and `/start` your Telegram bot.\n\n# Running Locally\n* Resources to run locally are available under [Releases](https://github.com/Surfboardv2ray/telegram-spotbot/releases).\n* Install dependencies via `requirements.txt`.\n* Edit `tg-bot.py` and replace `YOUR_BOT_TOKEN` with your bot API Token.\n* Run the script and `/start` your Telegram bot.\n\n# Advanced\n* Current version of the bot only supports Spotify links. However, to use search the function, you're also gonna need `SPOTIFY_CLEINT_ID` and `SPOTIFY_CLIENT_SECRET`.\n* That's why we added the source code with search ability under `advanced` folder to keep the main code simple.\n* Steps:\n  * Create a spotify account, then [Create a Spotify App](https://developer.spotify.com/dashboard/create).\n  * Get your Spotify Client ID and Client Secret and put them in your Github Actions Secrets.\n  * Use the Github action workflow and python script inside the `advanced` directory. Make sure you've set `TELEGRAM_BOT_TOKEN` in your secrets as well.\n  * If running locally, you could simply hard-code the three environment variables right inside the python script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfboardv2ray%2Ftelegram-spotbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurfboardv2ray%2Ftelegram-spotbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfboardv2ray%2Ftelegram-spotbot/lists"}