{"id":13467198,"url":"https://github.com/jagrosh/DiscordIPC","last_synced_at":"2025-03-26T01:30:29.648Z","repository":{"id":27141097,"uuid":"110803674","full_name":"jagrosh/DiscordIPC","owner":"jagrosh","description":"Connect locally to the Discord client using IPC for a subset of RPC features like Rich Presence and Activity Join/Spectate","archived":false,"fork":false,"pushed_at":"2024-07-31T04:14:15.000Z","size":55,"stargazers_count":145,"open_issues_count":15,"forks_count":50,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-15T02:41:50.932Z","etag":null,"topics":["activity","discord","ipc","java","join","presence","rich","rpc","spectate"],"latest_commit_sha":null,"homepage":"","language":"Java","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/jagrosh.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":"2017-11-15T08:07:15.000Z","updated_at":"2025-02-18T23:04:36.000Z","dependencies_parsed_at":"2024-01-21T09:48:01.168Z","dependency_job_id":"e83fcfaf-94dc-47b6-8ad3-7969dce92078","html_url":"https://github.com/jagrosh/DiscordIPC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagrosh%2FDiscordIPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagrosh%2FDiscordIPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagrosh%2FDiscordIPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagrosh%2FDiscordIPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jagrosh","download_url":"https://codeload.github.com/jagrosh/DiscordIPC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245571671,"owners_count":20637375,"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":["activity","discord","ipc","java","join","presence","rich","rpc","spectate"],"created_at":"2024-07-31T15:00:53.976Z","updated_at":"2025-03-26T01:30:29.207Z","avatar_url":"https://github.com/jagrosh.png","language":"Java","readme":"[version]: https://api.bintray.com/packages/jagrosh/maven/DiscordIPC/images/download.svg\n[download]: https://bintray.com/jagrosh/maven/DiscordIPC/_latestVersion\n[license]: https://img.shields.io/badge/License-Apache%202.0-lightgrey.svg\n\n[ ![version][] ][download]\n[ ![license][] ](https://github.com/jagrosh/DiscordIPC/tree/master/LICENSE)\n\n# DiscordIPC\n\nConnect locally to the Discord client using IPC for a subset of RPC features like Rich Presence and Activity Join/Spectate\n\n\n# Features\n\n- Setting Rich Presence\n- Listen for Join, Spectate, and Join-Request events\n- Detect and specify priority for client build (Stable, PTB, Canary)\n- 100% Java\n\n\n# Getting Started\n\nFirst you'll need to add this project as a dependency. If you're using maven:\n```xml\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.jagrosh\u003c/groupId\u003e\n    \u003cartifactId\u003eDiscordIPC\u003c/artifactId\u003e\n    \u003cversion\u003eLATEST\u003c/version\u003e\n  \u003c/dependency\u003e\n```\n```xml\n  \u003crepository\u003e\n    \u003cid\u003ecentral\u003c/id\u003e\n    \u003cname\u003ebintray\u003c/name\u003e\n    \u003curl\u003ehttp://jcenter.bintray.com\u003c/url\u003e\n  \u003c/repository\u003e\n```\nWith gradle:\n```groovy\ndependencies {\n    compile 'com.jagrosh:DiscordIPC:LATEST'\n}\n\nrepositories {\n    jcenter()\n}\n```\n\n# Example\n\nQuick example, assuming you already have a GUI application\n```java\nIPCClient client = new IPCClient(345229890980937739L);\nclient.setListener(new IPCListener(){\n    @Override\n    public void onReady(IPCClient client)\n    {\n        RichPresence.Builder builder = new RichPresence.Builder();\n        builder.setState(\"West of House\")\n            .setDetails(\"Frustration level: Over 9000\")\n            .setStartTimestamp(OffsetDateTime.now())\n            .setLargeImage(\"canary-large\", \"Discord Canary\")\n            .setSmallImage(\"ptb-small\", \"Discord PTB\")\n            .setParty(\"party1234\", 1, 6)\n            .setMatchSecret(\"xyzzy\")\n            .setJoinSecret(\"join\")\n            .setSpectateSecret(\"look\");\n        client.sendRichPresence(builder.build());\n    }\n});\nclient.connect();\n```\n\n### Other Examples\n* [Monster Hunter Gathering Hall App](https://github.com/MHGatheringHall/App) - App for displaying in-game info for a non-PC game series\n\n\n# Official Discord-RPC Bindings\n\nThe official RPC bindings can be found here: https://github.com/discordapp/discord-rpc\n\nA Java wrapper for the official bindings is available here: https://github.com/MinnDevelopment/Java-DiscordRPC\n","funding_links":[],"categories":["Misc Resources"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagrosh%2FDiscordIPC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjagrosh%2FDiscordIPC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagrosh%2FDiscordIPC/lists"}