{"id":21671338,"url":"https://github.com/lachee/discord-rpc-unity","last_synced_at":"2025-06-13T10:09:32.407Z","repository":{"id":56788036,"uuid":"524938591","full_name":"Lachee/discord-rpc-unity","owner":"Lachee","description":"C# custom implementation for Discord Rich Presence. Unity package to easy add to your own games.","archived":false,"fork":false,"pushed_at":"2023-08-23T07:24:14.000Z","size":1094,"stargazers_count":50,"open_issues_count":8,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T10:07:08.509Z","etag":null,"topics":["discord","discord-net","discord-rich-presence","discord-rpc","discord-rpc-csharp","library","rich-presence","rich-presence-discord","unity","unity3d"],"latest_commit_sha":null,"homepage":"","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/Lachee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"lachee","github":"lachee"}},"created_at":"2022-08-15T10:09:42.000Z","updated_at":"2025-06-11T15:39:56.000Z","dependencies_parsed_at":"2024-11-25T12:50:34.381Z","dependency_job_id":null,"html_url":"https://github.com/Lachee/discord-rpc-unity","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Lachee/discord-rpc-unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lachee%2Fdiscord-rpc-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lachee%2Fdiscord-rpc-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lachee%2Fdiscord-rpc-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lachee%2Fdiscord-rpc-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lachee","download_url":"https://codeload.github.com/Lachee/discord-rpc-unity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lachee%2Fdiscord-rpc-unity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259624737,"owners_count":22886330,"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":["discord","discord-net","discord-rich-presence","discord-rpc","discord-rpc-csharp","library","rich-presence","rich-presence-discord","unity","unity3d"],"created_at":"2024-11-25T12:40:21.443Z","updated_at":"2025-06-13T10:09:32.380Z","avatar_url":"https://github.com/Lachee.png","language":"C#","funding_links":["https://ko-fi.com/lachee","https://github.com/sponsors/lachee"],"categories":[],"sub_categories":[],"readme":"\n\u003ctable frame=\"void\"\u003e\n    \u003ctr\u003e\n      \u003ctd width=\"200px\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/Lachee/discord-rpc-unity/master/Resources/logo.png\" align=\"center\" width=\"100%\" /\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n        \u003ch1\u003eDiscord RPC Unity\u003c/h1\u003e\n        \u003cp\u003e\n            \u003ca href=\"https://github.com/Lachee/discord-rpc-unity/actions/workflows/release.yml\"\u003e\u003cimg src=\"https://github.com/Lachee/discord-rpc-unity/actions/workflows/release.yml/badge.svg\" /\u003e\u003c/a\u003e\n            \u003ca href=\"https://github.com/Lachee/discord-rpc-unity/tags\"\u003e\u003cimg alt=\"GitHub package.json version\" src=\"https://img.shields.io/github/package-json/v/lachee/discord-rpc-unity?label=github\"\u003e\u003c/a\u003e\n            \u003ca href=\"https://openupm.com/packages/com.lachee.discordrpc/\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/com.lachee.discordrpc?label=openupm\u0026amp;registry_uri=https://package.openupm.com\" /\u003e\u003c/a\u003e\n          \u003cbr\u003e\n          This package provides a wrapper for \u003ca href=\"https://github.com/lachee/discord-rpc-csharp\"\u003elachee/discord-rpc-csharp\u003c/a\u003e and\n          a  better experience when intergrating with Unity3D, as well as solving some tricky annoyances such as named pipes and mono.\n        \u003c/p\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n# Usage\nAdd the package to your project and look at the sample code. For more documentation about the RPC, check the \n[discord-rpc-csharp](https://github.com/lachee/discord-rpc-csharp) documentation\n\nCheck out the documentation at [https://lachee.github.io/discord-rpc-unity/](https://lachee.github.io/discord-rpc-unity/)\n\n# Dependencies\n\n- At _least_ Unity 2018, however:\n    - Support is **only given down to** [Unity 2018.4.36f1](https://unity3d.com/unity/qa/lts-releases?version=2018.4) LTS\n    - Support is **only given up to** the latest LTS \n\n- Newtonsoft.JSON 13\n    - This is provided by [com.unity.nuget.newtonsoft-json](https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@3.0/manual/index.html)\n    - _this determines the 2018.4 min spec. You can go lower, but you need to supply your own newtonsoft.json 13.0 binary._\n\n\n# Installation\n#### OpenUPM \u003ca href=\"https://openupm.com/packages/com.lachee.discordrpc/\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/com.lachee.discordrpc?label=openupm\u0026amp;registry_uri=https://package.openupm.com\" /\u003e\u003c/a\u003e\nThe [openupm registry](https://openupm.com)  is a open source package manager for Unity and provides the [openupm-cli](https://github.com/openupm/openupm-cli) to manage your dependencies.\n```\nopenupm add com.lachee.discordrpc\n```\n\n#### Manual UPM             \u003ca href=\"https://github.com/Lachee/discord-rpc-unity/tags\"\u003e\u003cimg alt=\"GitHub package.json version\" src=\"https://img.shields.io/github/package-json/v/lachee/discord-rpc-unity?label=github\"\u003e\u003c/a\u003e\nUse the Unity Package Manager to add a git package. Adding the git to your UPM will limit updates as Unity will not track versioning on git projects (even though they totally could with tags).\n1. Open the Unity Package Manager and `Add Package by git URL...`\n2. `https://github.com/Lachee/discord-rpc-unity.git `\n\nFor local editable versions, manually clone the repo into your package folder. Note the exact spelling on destination name.\n1. `git clone https://github.com/Lachee/discord-rpc-unity.git Packages/com.lachee.discordrpc`\n\n#### Unity Package\nGo old school and download the Unity Package and import it into your project.\n1. Download the `.unitypackage` from the [Releases](releases) or via the last run `Create Release` action.\n2. Import that package into your Unity3D\n\n# Logging\n\nBy default, the DiscordManager will log to the Unity Console while in the Editor.\nTo enable logging in builds, create a [Development Build](https://docs.unity3d.com/Manual/BuildSettings.html) and a new discordrpc.log file will be generated with your app when it runs. \n\n# Licensing\n\nThe license is MIT so do what you want;\n\nHowever, i do appriciate attributations where possible and a link. Also if you plan to \"fix\" the library and sell it, please contribute back to this project with your fixes so others can benifit too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flachee%2Fdiscord-rpc-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flachee%2Fdiscord-rpc-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flachee%2Fdiscord-rpc-unity/lists"}