{"id":24645003,"url":"https://github.com/parassolanki/ytdbot","last_synced_at":"2025-10-13T13:40:55.833Z","repository":{"id":273904256,"uuid":"921254686","full_name":"ParasSolanki/ytdbot","owner":"ParasSolanki","description":"Discord bot that sends message to your server's channel when your favorite youtube channel is live","archived":false,"fork":false,"pushed_at":"2025-02-04T12:11:56.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T15:14:13.289Z","etag":null,"topics":["discord-bot","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ParasSolanki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-23T16:16:48.000Z","updated_at":"2025-03-06T03:55:42.000Z","dependencies_parsed_at":"2025-01-23T17:42:51.484Z","dependency_job_id":"8249ed9c-e970-457f-a3d4-3a0037662c0d","html_url":"https://github.com/ParasSolanki/ytdbot","commit_stats":null,"previous_names":["parassolanki/ytdbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ParasSolanki/ytdbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fytdbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fytdbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fytdbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fytdbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ParasSolanki","download_url":"https://codeload.github.com/ParasSolanki/ytdbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParasSolanki%2Fytdbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015352,"owners_count":26085684,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["discord-bot","typescript"],"created_at":"2025-01-25T14:13:58.431Z","updated_at":"2025-10-13T13:40:55.786Z","avatar_url":"https://github.com/ParasSolanki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YTDBot\n\nDiscord bot that sends message to your server's channel when your favorite youtube channel is live.\n\n## How it works\n\n- The bot checks if the youtube channel is live every 3 hours\n- If the channel is live, the bot sends a message to the discord channel\n- If the channel is not live, the bot does nothing\n\n## How to use\n\n1. Create a discord bot and get the bot token from [here](https://discord.com/developers/applications)\n2. Go to [Google Cloud Console](https://console.cloud.google.com/) and create a new project\n3. Go to [Youtube Data API](https://console.cloud.google.com/apis/library/youtube.googleapis.com) and enable the API\n4. Go to [Youtube Data API Console](https://console.cloud.google.com/apis/credentials) and create a new API key\n5. Go to [Discord Developer Portal](https://discord.com/developers/applications) and add the bot to the channel\n6. Add the bot token, discord channel id, youtube channel id and youtube api key to the .env file\n7. Run the bot using `pnpm start`\n\n## Installation\n\n```bash\npnpm install\n```\n\n## Usage\n\n```bash\npnpm start\n```\n\n## Environment variables\n\nTo run this project, you will need to add the following environment variables to your .env file.\n\n| Name               | Description             |\n| ------------------ | ----------------------- |\n| DISCORD_BOT_TOKEN  | The discord bot token.  |\n| DISCORD_CHANNEL_ID | The discord channel id. |\n| YOUTUBE_CHANNEL_ID | The youtube channel id. |\n| YOUTUBE_API_KEY    | The youtube api key.    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparassolanki%2Fytdbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparassolanki%2Fytdbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparassolanki%2Fytdbot/lists"}