{"id":13467077,"url":"https://github.com/antsif-a/riche","last_synced_at":"2026-03-12T09:21:39.212Z","repository":{"id":55526792,"uuid":"522697660","full_name":"antsif-a/riche","owner":"antsif-a","description":"A powerful library for Discord RPC","archived":false,"fork":false,"pushed_at":"2024-01-24T20:30:41.000Z","size":134,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T15:22:37.102Z","etag":null,"topics":["api","discord","rpc","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/riche","language":"TypeScript","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/antsif-a.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}},"created_at":"2022-08-08T20:29:50.000Z","updated_at":"2025-06-23T15:14:55.000Z","dependencies_parsed_at":"2024-07-31T15:14:34.464Z","dependency_job_id":null,"html_url":"https://github.com/antsif-a/riche","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":0.06060606060606055,"last_synced_commit":"11af74d792d05ba993f166c665fe40748be2c9e8"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/antsif-a/riche","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antsif-a%2Friche","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antsif-a%2Friche/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antsif-a%2Friche/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antsif-a%2Friche/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antsif-a","download_url":"https://codeload.github.com/antsif-a/riche/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antsif-a%2Friche/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270602452,"owners_count":24614260,"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-08-15T02:00:12.559Z","response_time":110,"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":["api","discord","rpc","typescript"],"created_at":"2024-07-31T15:00:52.885Z","updated_at":"2026-03-12T09:21:34.175Z","avatar_url":"https://github.com/antsif-a.png","language":"TypeScript","funding_links":[],"categories":["Game SDK \u0026 RPC Bindings"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eriche\u003c/h1\u003e\n    \u003ca href=\"https://www.npmjs.com/package/riche\"\u003e\n        \u003cimg alt=\"version\" src=\"https://img.shields.io/npm/v/riche\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/riche\"\u003e\n        \u003cimg alt=\"size\" src=\"https://img.shields.io/bundlephobia/min/riche\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/antsif-a/riche/actions/workflows/eslint.yml\"\u003e\n        \u003cimg alt=\"eslint\" src=\"https://img.shields.io/github/actions/workflow/status/antsif-a/riche/eslint.yml?label=eslint\"/\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n## About\n\n**riche** [/ʀiʃ/] (fr. rich) is a powerful [Node.js](https://nodejs.org) module\nthat allows you to interact with Discord Rich Presence.\n\n- :hammer_and_wrench: Made with [TypeScript](https://www.typescriptlang.org/)\n- :comet: Object-oriented\n- :package: No dependencies\n- :fire: Fast and secure\n\n## Installation\n\nUse your favourite package manager to install riche:\n```shell\n# npm\nnpm install riche\n\n# yarn\nyarn add riche\n\n# pnpm\npnpm add riche\n```\n\n## Example usage\n\nTo use Rich Presence Discord requires for you to create a new [Discord application](https://discord.com/developers/applications).\nAfter that navigate to `OAuth2` tab and copy `Client ID`.\nAlternatively, you can use riche's internal id for testing: `1006301974075035679`.\n\n```javascript\nconst riche = require('riche');\n\nconst activity = {\n  state: 'Signed in',\n  details: 'Using Discord',\n  timestamps: {\n    start: Date.now(),\n  },\n  assets: {\n    large_image: 'https://discord.com/assets/9f6f9cd156ce35e2d94c0e62e3eff462.png',\n    large_text: 'Discord',\n  },\n};\n\nconst client = riche.create('your-client-id');\n\nclient.connect()\n  .then(() =\u003e client.setActivity(activity))\n  .then(() =\u003e console.log('Activity has been set! Check your Discord profile'));\n```\n\nSee more examples [here](https://github.com/antsif-a/riche/tree/main/examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantsif-a%2Friche","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantsif-a%2Friche","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantsif-a%2Friche/lists"}