{"id":14979633,"url":"https://github.com/xfg16/youtubediscordpresence","last_synced_at":"2026-04-09T06:01:11.557Z","repository":{"id":38737728,"uuid":"372265967","full_name":"XFG16/YouTubeDiscordPresence","owner":"XFG16","description":"An extension that takes data directly from the YouTube video playing on the browser and displays it as a rich presence on Discord. Works similar to the Spotify Discord rich presence. ","archived":false,"fork":false,"pushed_at":"2026-04-08T04:27:51.000Z","size":50798,"stargazers_count":243,"open_issues_count":17,"forks_count":19,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-04-08T05:12:09.112Z","etag":null,"topics":["64-bit","chrome-extension","cpp","discord","discord-js","discordjs","javascript","native-messaging","nodejs","opera-extension","windows","youtube","youtube-video"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/youtubediscordpresence/hnmeidgkfcbpjjjpmjmpehjdljlaeaaa","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/XFG16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-30T16:39:32.000Z","updated_at":"2026-04-08T04:27:59.000Z","dependencies_parsed_at":"2024-08-28T03:21:59.545Z","dependency_job_id":"a9e8296e-5cc3-4d80-b136-b604bc531ad2","html_url":"https://github.com/XFG16/YouTubeDiscordPresence","commit_stats":{"total_commits":186,"total_committers":4,"mean_commits":46.5,"dds":0.3978494623655914,"last_synced_commit":"edea42c64e877fca81230331c3383b639b5ae9bd"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/XFG16/YouTubeDiscordPresence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XFG16%2FYouTubeDiscordPresence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XFG16%2FYouTubeDiscordPresence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XFG16%2FYouTubeDiscordPresence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XFG16%2FYouTubeDiscordPresence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XFG16","download_url":"https://codeload.github.com/XFG16/YouTubeDiscordPresence/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XFG16%2FYouTubeDiscordPresence/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31588038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-09T05:33:47.836Z","status":"ssl_error","status_checked_at":"2026-04-09T05:32:26.579Z","response_time":112,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["64-bit","chrome-extension","cpp","discord","discord-js","discordjs","javascript","native-messaging","nodejs","opera-extension","windows","youtube","youtube-video"],"created_at":"2024-09-24T14:00:25.387Z","updated_at":"2026-04-09T06:01:11.552Z","avatar_url":"https://github.com/XFG16.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\n\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"https://chrome.google.com/webstore/detail/youtubediscordpresence/hnmeidgkfcbpjjjpmjmpehjdljlaeaaa\" alt=\"Chrome Extension\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Chrome%20Web%20Store-21%2C000%2B%20Users-critical\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://chrome.google.com/webstore/detail/youtubediscordpresence/hnmeidgkfcbpjjjpmjmpehjdljlaeaaa\" alt=\"Category: Social \u0026 Communication\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Total%20Installs-71%2C000%2B-blue\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nIf you've already downloaded the extension, **you can skip the first step!**\n\n1. Add the [\u003cins\u003e**Chrome Extension**\u003c/ins\u003e](https://chrome.google.com/webstore/detail/youtubediscordpresence/hnmeidgkfcbpjjjpmjmpehjdljlaeaaa) from the Chrome Web Store\n\n   - To access personalization settings, click on the extension icon in your browser's extension menu at the top right corner of your browser.\n\n2. Download the latest `YTDPsetup.msi` file in the [**\u003cins\u003ereleases\u003c/ins\u003e**](https://github.com/XFG16/YouTubeDiscordPresence/releases) section of this repository and **run it on your device** to install the secondary desktop component.\n\n   - **Note:** Only Windows (x64) is currently supported.\n\nStill confused? Watch the **installation tutorial** on YouTube using [**\u003cins\u003ethis link\u003c/ins\u003e**](https://www.youtube.com/watch?v=BWPNqPGFyL4).\n\n---\n\n# YouTubeDiscordPresence for Windows (x64)\n\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"https://chrome.google.com/webstore/detail/youtubediscordpresence/hnmeidgkfcbpjjjpmjmpehjdljlaeaaa\" alt=\"Category: Social \u0026 Communication\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Category-Social%20%26%20Communication-blueviolet\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/XFG16/YouTubeDiscordPresence#license\" alt=\"MIT License\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**YouTubeDiscordPresence** (YTDP) is an application and browser extension used to create a detailed rich presence for YouTube and YouTube Music on Discord. Only **Windows (x64)** is supported, although more operating systems may be supported in the future.\n\n\u003cbr\u003e\n\n\u003cimg height=\"350px\" src=\"Screenshots/newUiExample.png\"\u003e\n\n## Things to know\n\n- **Buttons:** The `Listen Along` and `View Channel` buttons in the rich presence don't show when looking at your own profile, but it will show for others. See the example image above. This is a Discord [**\u003cins\u003elimitation\u003c/ins\u003e**](https://github.com/discordjs/RPC/issues/180#issuecomment-2313232518).\n\n- **Time Left:** Discord deprecated the ability to display the time left in a video, so as a workaround, the rich presence will display how far you are into the video instead.\n\n- **False Positives:** Any warnings from services like VirusTotal are false positives due to YTDP being compiled using [**\u003cins\u003epkg\u003c/ins\u003e**](https://github.com/vercel/pkg), a widely-used app bundler.\n\n---\n\n## Troubleshooting/Known Issues\n\n- YouTubeDiscordPresence only works with the desktop application of Discord, **not the browser version.**\n\n- Ensure that the `Share my activity` setting under `Activity Privacy` is **turned on.**\n\n- The rich presence may randomly disappear and reappear within a few seconds due to Chrome forcibly unloading and reloading `background.js` in Manifest v3.\n\nIf none of the above address your issue, then you should first disable and re-enable the extension. Then close and reopen your browser, especially...\n\n- If the extension is **not appearing** even after you installed the desktop application...\n\n  - In this case, your Discord client is likely ratelimiting YTDP. To fix this, do not simply just reload Discord. Go to your system tray or task manager and quit Discord before relaunching it.\n\n- If **two or more instances of the rich presence** appear on your profile...\n\n  - This is an error with the socket implementation Discord currently has and there is currently no easy way around it.\n\n---\n\n## Bugs \u0026 Feature Requests\n\n### Reporting a Bug\nBefore submitting a new [Issue](https://github.com/XFG16/YouTubeDiscordPresence/issues/new), please follow these steps to help us debug:\n\n1.  **Search First:** Check if the issue has [already been reported](https://github.com/XFG16/YouTubeDiscordPresence/issues).\n2.  **Inspect the Service Worker:**\n    - Go to `chrome://extensions` in your browser.\n    - Turn on **Developer mode** (top right).\n    - Find `YouTubeDiscordPresence` and click **inspect views: \u003cins\u003eservice worker\u003c/ins\u003e**.\n    - In the window that opens, go to the **Console** tab.\n3.  **Provide Details:** In your issue description, include:\n    - What the console log shows (especially any errors in red).\n    - Your Browser (e.g., Chrome, Brave, Edge).\n    - The extension version.\n\n\u003e [!IMPORTANT]\n\u003e Most connection issues can be fixed by fully quitting Discord (from the system tray) and restarting it, or by restarting your browser.\n\n### Requesting a Feature\nIf you have suggestions for new features:\n1.  Check if it's already [been suggested](https://github.com/XFG16/YouTubeDiscordPresence/issues).\n2.  Submit a new [Issue](https://github.com/XFG16/YouTubeDiscordPresence/issues/new) and describe your idea in detail!\n\n---\n\n## Building\n\nDesktop application:\n   - `npm run compile`\n   - Replace the existing `YTDPwin.exe` in `C:\\Program Files\\YouTubeDiscordPresence` with the newly compiled one.\n\n   - Building the `.msi`: Download **Visual Studio 2026** with the **Microsoft Visual Studio Installer Project** extension. Open `Host\\YTDPwin\\YTDPsetup\\YTDPsetup.vdproj` and build `YTDPsetup`.\n\nExtension:\n   - Download the `Extension` directory, compress it into a zip, and load it onto your browser manually.\n\n   - Make sure that the `\"allowed_origins\"` key in the JSON file involved in [**\u003cins\u003enative messaging\u003c/ins\u003e**](https://developer.chrome.com/docs/apps/nativeMessaging/) contains the extension's ID. This file should be found at `C:\\Program Files\\YouTubeDiscordPresence` as `main.json`.\n\n---\n\n## Maintainers\n\n- **Charles Kim** ([@charleskimbac](https://github.com/charleskimbac))\n\n---\n\n## Miscellaneous\n\n**DISCLAIMER:** this is not a bootleg copy of PreMiD. On a more technical note, it works similar to the Spotify rich presence—it only appears **when a video is playing** and **disappears when there is no video or the video is paused**. In addition, it only displays the presence for videos. Idling and searching are **not displayed**. Features such as exclusions, fully customizable details, and thumbnail coverage are **unique and original** to YouTubeDiscordPresence. YouTubeDiscordPresence has not referenced nor is affiliated with PreMiD in any way whatsoever.\n\n---\n\n## License\n\nLicensed under the [MIT](https://github.com/XFG16/YouTubeDiscordPresence/blob/main/LICENSE.txt) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfg16%2Fyoutubediscordpresence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxfg16%2Fyoutubediscordpresence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfg16%2Fyoutubediscordpresence/lists"}