{"id":23173367,"url":"https://github.com/rhygg/drpc","last_synced_at":"2026-04-30T13:31:32.042Z","repository":{"id":57151766,"uuid":"371395708","full_name":"rhygg/drpc","owner":"rhygg","description":"📦 A discord rich presence package in the cli!","archived":false,"fork":false,"pushed_at":"2021-05-28T04:40:40.000Z","size":80,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T23:15:20.714Z","etag":null,"topics":["cli","desktop","discord","discord-presence","discord-rpc","discord-status","drpc","rpc-application","timestamp"],"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/rhygg.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}},"created_at":"2021-05-27T14:08:15.000Z","updated_at":"2021-10-31T23:11:45.000Z","dependencies_parsed_at":"2022-09-03T16:50:46.303Z","dependency_job_id":null,"html_url":"https://github.com/rhygg/drpc","commit_stats":null,"previous_names":["rhydderchc/drpc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rhygg/drpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhygg%2Fdrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhygg%2Fdrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhygg%2Fdrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhygg%2Fdrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhygg","download_url":"https://codeload.github.com/rhygg/drpc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhygg%2Fdrpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32466333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":["cli","desktop","discord","discord-presence","discord-rpc","discord-status","drpc","rpc-application","timestamp"],"created_at":"2024-12-18T05:14:13.401Z","updated_at":"2026-04-30T13:31:31.996Z","avatar_url":"https://github.com/rhygg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DRPC \n```bash\n ________  ________  ________  ________          ________  ___       ___     \n|\\   ___ \\|\\   __  \\|\\   __  \\|\\   ____\\        |\\   ____\\|\\  \\     |\\  \\    \n\\ \\  \\_|\\ \\ \\  \\|\\  \\ \\  \\|\\  \\ \\  \\___|        \\ \\  \\___|\\ \\  \\    \\ \\  \\   \n \\ \\  \\ \\\\ \\ \\   _  _\\ \\   ____\\ \\  \\            \\ \\  \\    \\ \\  \\    \\ \\  \\  \n  \\ \\  \\_\\\\ \\ \\  \\\\  \\\\ \\  \\___|\\ \\  \\____        \\ \\  \\____\\ \\  \\____\\ \\  \\ \n   \\ \\_______\\ \\__\\\\ _\\\\ \\__\\    \\ \\_______\\       \\ \\_______\\ \\_______\\ \\__\\\n    \\|_______|\\|__|\\|__|\\|__|     \\|_______|        \\|_______|\\|_______|\\|__|\n```\n**Drpc** is a robust discord rich precence client on the command line, you can save a preset, delete it and configure it, easily!\n\n## Installation\n```\nnpm install -g drpc-cli\n\n```\n## Documentation\n\nTo configure a preset you must create a `drpc-settings.json` file, in the current working directory i.e., the directory you are currently working on it. \nFor example: if you create a `drpc-settings.json` file on the Desktop, the cli must run in the desktop folder.\n\nHere's a example settings file,\n\n```json\n{\n    \"client_id\":\"\",\n    \"large_image_key\":\"\",\n    \"large_image_text\":\"\",\n    \"small_image_key\":\"\",\n    \"small_image_text\":\"\",\n    \"description\":\"\",\n    \"state\":\"\",\n    \"show_timestamp\": ,\n    \"buttons\":[\n        {\"label\":\"\", \"url\":\"\"},\n        {\"label\":\"\", \"url\":\"\"}\n    ]\n}\n```\nThe following is a full template, fill all the information correctly to yield the result!\n\n## API\n\n**client_id**\n\nThe client id of the rpc application.\n\nrequired: `true`\n\n**large_image_key**\n\nThe key(name) of the large image as set in the rpc application.\n\nrequired: `true`\n\n**large_image_text**\nThe text that would show off when a user hovers over the image.\nrequired: `false`\n\n**small_image_key**\n\nThe key(name) of the small image as set in the rpc application.\n\nrequired: `false`\n\n**small_image_text**\n\nThe text that would show off when a user hovers over the image.\n\nrequired: `false`\n\n**description**\n\nThe rpc description.\n\nrequired: `true`\n\n**state**\n\nThe rpc state description.\n\nrequired: `false`\n\n**show_timestamp**\n\n(Bool) if you want to show the timestamp.\n\nrequired: `false`\n\n**buttons**\n\n(Array) Buttons on the Rich Presence.\n\nArray takes: two `objects`\n\nExample Object:\n```json\n{\"label\":\"Something\", \"url\":\"https://something.com\"},\n{\"label\":\"anothersomething\",\"url\":\"https://example.com\"}\n```\nMin buttons: `1`,\nMax buttons: `2`,\nrequired: `false`\n\n\n## CLI\n\n```\n    DRPC CLI\n----------------------------------------------------\nMAIN COMMANDS\n-------------\n--help | -h  --- Shows you the following menu\n\n--run  --- Starts a process.\n\n--delete | -del --- delete a configuration. (required args -\u003e \u003cname\u003e)\n\n--list | -l --- Check the list of saved presets.\n\nSUB-COMMANDS \n------------\nRUN\n------\n--save    --- Run a configuration while simultaneously saving it. (required args -\u003e \u003cname\u003e)\n--preset  --- Run a preset instead of a configuration file in the current working dir.\n\n```\n\n## FAQs\n\n**How to save a rpc preset?**\n\n```\ndrpc --run --save \u003cname\u003e\n\n```\n**Must the rpc config file be in the cwd while saving the preset?**\nYes.\n\nIf you're going to save the preset you want to run using:\n```\ndrpc --run --save \u003cname\u003e\n\n```\nThe configuration you want to run and save must be in the same current working directory.\n\n## Example\n```\ndrpc --list\n```\n```\n┌──────┬─────────────────────┬─────────────────────────┐\n│ No.  │ Name                │ ClientID                │\n├──────┼─────────────────────┼─────────────────────────┤\n│ 1    │ node.json           │ 781004595546816522      │\n└──────┴─────────────────────┴─────────────────────────┘\n```\n```\ndrpc --help\n\n```\n```\n\n    DRPC CLI\n----------------------------------------------------\nMAIN COMMANDS\n-------------\n--help | -h  --- Shows you the following menu\n--run  --- Starts a process.\n--delete | -del --- delete a configuration. (required args -\u003e \u003cname\u003e)\n--list | -l --- Check the list of saved presets.\nSUB-COMMANDS \n------------\nRUN\n------\n--save    --- Run a configuration while simultaneously saving it. (required args -\u003e \u003cname\u003e)\n--preset  --- Run a preset instead of a configuration file in the current working dir.\n```\n\n```\ndrpc --run --save example\n```\n```\n ________  ________  ________  ________          ________  ___       ___     \n|\\   ___ \\|\\   __  \\|\\   __  \\|\\   ____\\        |\\   ____\\|\\  \\     |\\  \\    \n\\ \\  \\_|\\ \\ \\  \\|\\  \\ \\  \\|\\  \\ \\  \\___|        \\ \\  \\___|\\ \\  \\    \\ \\  \\   \n \\ \\  \\ \\\\ \\ \\   _  _\\ \\   ____\\ \\  \\            \\ \\  \\    \\ \\  \\    \\ \\  \\  \n  \\ \\  \\_\\\\ \\ \\  \\\\  \\\\ \\  \\___|\\ \\  \\____        \\ \\  \\____\\ \\  \\____\\ \\  \\ \n   \\ \\_______\\ \\__\\\\ _\\\\ \\__\\    \\ \\_______\\       \\ \\_______\\ \\_______\\ \\__\\\n    \\|_______|\\|__|\\|__|\\|__|     \\|_______|        \\|_______|\\|_______|\\|__|\n                                                                             \n                                                                             \n                                                                             \nClient has sucessfully Started! \n Like this project? Please consider starring it On on github! (​https://github.com/rhydderchc/drpc​)\nData has been saved with the preset name example\n```\n```\ndrpc --list\n```\n```\n┌──────┬─────────────────────┬─────────────────────────┐\n│ No.  │ Name                │ ClientID                │\n├──────┼─────────────────────┼─────────────────────────┤\n│ 1    │ example.json        │ 781004595546816522      │\n├──────┼─────────────────────┼─────────────────────────┤\n│ 2    │ node.json           │ 781004595546816523      │\n└──────┴─────────────────────┴─────────────────────────┘\n```\n```\ndrpc --delete example\n```\n\n```\n✔ The preset example has been deleted sucessfully!\n```\n```\ndrpc --list\n```\n```\n┌──────┬─────────────────────┬─────────────────────────┐\n│ No.  │ Name                │ ClientID                │\n├──────┼─────────────────────┼─────────────────────────┤\n│ 1    │ node.json           │ 781004595546816522      │\n└──────┴─────────────────────┴─────────────────────────┘\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhygg%2Fdrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhygg%2Fdrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhygg%2Fdrpc/lists"}