{"id":22382276,"url":"https://github.com/konnokai/DiscordStreamNotifyBot","last_synced_at":"2025-07-31T03:31:39.190Z","repository":{"id":37208986,"uuid":"378669371","full_name":"konnokai/DiscordStreamNotifyBot","owner":"konnokai","description":"直播小幫手","archived":false,"fork":false,"pushed_at":"2025-07-22T04:17:39.000Z","size":1955,"stargazers_count":29,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-22T06:42:23.596Z","etag":null,"topics":["discord","discord-bot","twitcasting","twitter","twitter-spcae","vtuber","youtube"],"latest_commit_sha":null,"homepage":"https://dcbot.konnokai.me/stream","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/konnokai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":null,"patreon":"konnokai","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-06-20T14:47:27.000Z","updated_at":"2025-07-22T04:17:43.000Z","dependencies_parsed_at":"2024-01-16T03:08:25.269Z","dependency_job_id":"58e983c6-23ba-4da5-9b18-44b69a0118f9","html_url":"https://github.com/konnokai/DiscordStreamNotifyBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/konnokai/DiscordStreamNotifyBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnokai%2FDiscordStreamNotifyBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnokai%2FDiscordStreamNotifyBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnokai%2FDiscordStreamNotifyBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnokai%2FDiscordStreamNotifyBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konnokai","download_url":"https://codeload.github.com/konnokai/DiscordStreamNotifyBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnokai%2FDiscordStreamNotifyBot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267983365,"owners_count":24176058,"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-07-31T02:00:08.723Z","response_time":66,"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","discord-bot","twitcasting","twitter","twitter-spcae","vtuber","youtube"],"created_at":"2024-12-05T00:12:23.431Z","updated_at":"2025-07-31T03:31:38.902Z","avatar_url":"https://github.com/konnokai.png","language":"C#","funding_links":["https://patreon.com/konnokai"],"categories":[],"sub_categories":[],"readme":"# 直播小幫手 [點我邀請到你的 Discord 內](https://discordapp.com/api/oauth2/authorize?client_id=758222559392432160\u0026permissions=2416143425\u0026scope=bot%20applications.commands)\n\n![Discord-Stream-Notify-Bot](https://socialify.git.ci/konnokai/Discord-Stream-Notify-Bot/image?description=1\u0026descriptionEditable=%E4%B8%80%E5%80%8B%E5%8F%AF%E4%BB%A5%E8%AE%93%E4%BD%A0%E5%9C%A8%20Discord%20%E4%B8%8A%E9%80%9A%E7%9F%A5%20Vtuber%20%E7%9B%B4%E6%92%AD%E7%9A%84%E5%B0%8F%E5%B9%AB%E6%89%8B\u0026font=Inter\u0026language=1\u0026name=1\u0026owner=1\u0026pattern=Plus\u0026stargazers=1\u0026theme=Auto)\n\n[![Website dcbot.konnokai.me](https://img.shields.io/website-up-down-green-red/http/dcbot.konnokai.me/stream.svg)](http://dcbot.konnokai.me/stream)\n[![GitHub commits](https://badgen.net/github/commits/konnokai/Discord-Stream-Notify-Bot)](https://GitHub.com/konnokai/Discord-Stream-Notify-Bot/commit/)\n[![GitHub latest commit](https://badgen.net/github/last-commit/konnokai/Discord-Stream-Notify-Bot)](https://GitHub.com/konnokai/Discord-Stream-Notify-Bot/commit/)\n\n自行運行所需環境與參數\n-\n- .NET Core 6.0 Runtime 或 SDK ([微軟網址](https://dotnet.microsoft.com/en-us/download/dotnet/6.0))\n- Redis Server ([Windows 下載網址](https://github.com/MicrosoftArchive/redis)，Linux 可直接透過 apt 或 yum 安裝)\n- Discord Bot Token ([Discord Dev網址](https://discord.com/developers/applications))\n- Discord Channel WebHook，做紀錄用\n- Google Console API 金鑰並確保已於程式庫開啟 Youtube Data API v3 ([Google Console網址](https://console.cloud.google.com/apis/library/youtube.googleapis.com))\n- 錄影功能需搭配隔壁 [Youtube Stream Record](https://github.com/konnokai/YoutubeStreamRecord) 使用 (如無搭配錄影的話則不會有關台通知，且不能即時的通知開台) \\*\n- Twitter AuthToken \u0026 CSRFToken，這需要從已登入的 Twitter 帳號中，由名稱為 `auth_token` 和 `ct0` 的 Cookie 來獲得 (如不需要推特語音通知則不需要) \\*\\*\n- Discord \u0026 Google 的 OAuth Client ID 跟 Client Secret，用於 YouTube 會限驗證，需搭配 [網站後端](https://github.com/konnokai/Discord-Stream-Bot-Backend) 使用 \\*\\*\n- ApiServerDomain，搭配上面的網站後端做 YouTube 影片上傳接收 \u0026 Twitch 狀態更新使用，僅需填寫後端域名就好 (Ex: api.example.me) ([Google PubSubHubbub](https://pubsubhubbub.appspot.com)) ([Twitch Webhook Callback](https://dev.twitch.tv/docs/eventsub/handling-webhook-events/))\n- Uptime Kuma Push 監測器的網址，如果不需要上線監測則可為空，需搭配 [Uptime Kuma](https://github.com/louislam/uptime-kuma) 使用\n- [ffmpeg](https://ffmpeg.org/download.html), [streamlink](https://streamlink.github.io/install.html)，原則上不裝的話就只是不會錄影 (裝完記得確認 PATH 環境變數是否有設定正確的路徑)\n- Twitch App Client Id \u0026 Client Secret ([Twitch Develpers](https://dev.twitch.tv/console/apps)) \\*\\*\n- TwitCasting Client Id \u0026 Client Secret ([TwitCasting Develpers](https://twitcasting.tv/developer.php)) \\*\\*\n\n備註\n-\n請使用 Release 組態進行編譯，Debug 組態有忽略掉不少東西會導致功能出現異常等錯誤\n\n如需要自行改程式碼也記得確認 Debug 組態下的 `#if` 是否會導致偵錯問題\n\n\\* 未錄影的話則是固定在排定開台時間的前一分鐘通知，若有開啟錄影則會在錄影環境偵測到開始錄影時一併發送開台通知\n\n\\*\\* 未設定的話則僅該功能無法使用，在使用該功能的時會有錯誤提示\n\n建置\u0026測試環境\n- \n- Visual Studio 2022\n- .NET SDK 6.0\n- Windows 10 \u0026 11 Pro\n- Debian 11\n- Redis 7.0.4\n\n參考專案\n-\n- [NadekoBot](https://gitlab.com/Kwoth/nadekobot)\n- [LivestreamRecorderService](https://github.com/Recorder-moe/LivestreamRecorderService)\n- [Discord .NET](https://github.com/discord-net/Discord.Net)\n- [TwitchLib](https://github.com/TwitchLib/TwitchLib)\n- [twspace-crawler](https://github.com/HitomaruKonpaku/twspace-crawler)\n- 其餘參考附於程式碼內\n\n授權\n-\n- 此專案採用 [MIT](https://github.com/konnokai/Discord-Stream-Notify-Bot/blob/master/LICENSE.txt) 授權\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonnokai%2FDiscordStreamNotifyBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonnokai%2FDiscordStreamNotifyBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonnokai%2FDiscordStreamNotifyBot/lists"}