{"id":21372926,"url":"https://github.com/strivo-dev/discord-rpc","last_synced_at":"2026-03-04T21:02:23.422Z","repository":{"id":151713884,"uuid":"624685524","full_name":"strivo-dev/discord-rpc","owner":"strivo-dev","description":"discord-rpc is a powerful library created by Discord, allowing developers to integrate Rich Presence functionality into their Discord applications smoothly.","archived":false,"fork":false,"pushed_at":"2025-11-29T14:40:44.000Z","size":371,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-30T20:37:58.702Z","etag":null,"topics":["dc-rpc","discord","discord-rpc","rpc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/strivo-dev.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":".github/codeowners","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-07T02:47:03.000Z","updated_at":"2025-11-29T14:39:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"c113c9aa-fe63-4088-9fcc-83665857eb66","html_url":"https://github.com/strivo-dev/discord-rpc","commit_stats":{"total_commits":30,"total_committers":4,"mean_commits":7.5,"dds":0.4666666666666667,"last_synced_commit":"c72e1e7b8255fb2508c3990986e1db3d11e7d8cb"},"previous_names":["sitcommunity/discord-rpc","cyrateam/discord-rpc","strivo-dev/discord-rpc"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/strivo-dev/discord-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strivo-dev%2Fdiscord-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strivo-dev%2Fdiscord-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strivo-dev%2Fdiscord-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strivo-dev%2Fdiscord-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strivo-dev","download_url":"https://codeload.github.com/strivo-dev/discord-rpc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strivo-dev%2Fdiscord-rpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30092870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T20:42:30.420Z","status":"ssl_error","status_checked_at":"2026-03-04T20:42:30.057Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["dc-rpc","discord","discord-rpc","rpc"],"created_at":"2024-11-22T08:24:05.762Z","updated_at":"2026-03-04T21:02:23.396Z","avatar_url":"https://github.com/strivo-dev.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://www.npmjs.com/package/dc-rpc\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://nodei.co/npm/dc-rpc.png?downloads=true\u0026downloadRank=true\u0026stars=true\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://nodejs.org/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"node-current\" src=\"https://img.shields.io/node/v/dc-rpc\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/dc-rpc\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/dc-rpc\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/dc-rpc\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"npm latest\" src=\"https://img.shields.io/npm/v/dc-rpc/latest?color=blue\u0026label=dc-rpc%40latest\u0026logo=npm\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/SITCommunity/discord-rpc\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/SITCommunity/discord-rpc\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://discord.gg/qpT2AeYZRN\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/887650006977347594?label=EterNomm\u0026logo=discord\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://discord.cyrateam.xyz\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/984857299858382908?style=flat\u0026logo=discord\u0026logoColor=white\u0026label=SITCommunity\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/SITCommunity/discord-rpc\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Visitor\" src=\"https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FCyraTeam%2Fdiscord-rpc\u0026countColor=%2337d67a\u0026style=flat\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/SITCommunity/discord-rpc/issues\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/SITCommunity/discord-rpc\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/SITCommunity/discord-rpc\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Commit\" src=\"https://img.shields.io/github/commit-activity/y/SITCommunity/discord-rpc?label=Commit%20Activity\u0026logo=github\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/SITCommunity/discord-rpc/actions/workflows/test.yml\"\u003e\u003cimg alt=\"Build\" src=\"https://img.shields.io/github/actions/workflow/status/SITCommunity/discord-rpc/.github%2Fworkflows%2Ftest.yml\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/SITCommunity/discord-rpc/blob/main/LICENSE\"\u003e\u003cimg alt=\"Build\" src=\"https://img.shields.io/npm/l/dc-rpc\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# Discord RPC\n\n- **[Discord-RPC] is a powerful library developed by SITCommunity that enables developers to seamlessly integrate Rich Presence functionality into Discord applications or from Client ID**\n\n## Install\n\n- NPM\n\n```\nnpm i dc-rpc\n```\n\n## Quick example\n\n```js\n// Importing Discord-RPC\nconst { RpcClient } = require('dc-rpc');\n\n// Create an instance of Discord-RPC\nconst client = new RpcClient(); // removed websocket\n\n// ================================================================\n\n// Your Applications Client ID\nconst Id = 'client_id';\n\n// Login To Discord RPC\nawait client.login({ clientId: Id });\n\n// ================================================================\n\n// Function When Client Is Ready\nclient.on('ready', () =\u003e {\n\tconsole.log('Authed for user:', client.user.username); // Console Output: Authed for user: [discord_username]\n\n\t// Set Activity (Example)\n\tclient.setActivity({\n\t\tstate: 'it work!!!',\n\t\tdetails: 'Testing RPC',\n\t\tlargeImageKey: 'icon_name', // From Discord Applications Rich Presence Assets\n\t\tlargeImageText: 'this is icon',\n\t\tstartTimestamp: Date.now(),\n\t});\n});\n\n// ================================================================\n\n// Destroying Or Disconnecting From RPC\nclient.destroy();\n```\n\n## Example Results\n\n![presence](https://github.com/user-attachments/assets/a53e95ff-e9e5-4b86-8c52-7935cd23d469)\n\n## License\n\n```\nThis Project under MIT License\n© 2019 - 2024 SITCommunity. All Rights Reserved\n```\n\n## Credits\n\n- Original: [Senophyx]\n- Maintainer: [brokenedtz]\n\n[Discord-RPC]: https://www.npmjs.com/package/dc-rpc\n[Senophyx]: https://github.com/Senophyx\n[brokenedtz]: https://github.com/brokenedtzjs\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrivo-dev%2Fdiscord-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrivo-dev%2Fdiscord-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrivo-dev%2Fdiscord-rpc/lists"}