{"id":44345651,"url":"https://github.com/notgne2/arc-rpc","last_synced_at":"2026-02-11T13:37:26.588Z","repository":{"id":57183217,"uuid":"94157040","full_name":"notgne2/arc-rpc","owner":"notgne2","description":"Asynchronous Remote Classes make RPC simple","archived":false,"fork":false,"pushed_at":"2017-08-03T23:40:24.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-20T05:55:48.534Z","etag":null,"topics":["arc-rpc","clusters","ipc","remote","rpc","spawned"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notgne2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-13T01:42:58.000Z","updated_at":"2017-06-29T06:57:18.000Z","dependencies_parsed_at":"2022-09-11T22:40:24.747Z","dependency_job_id":null,"html_url":"https://github.com/notgne2/arc-rpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/notgne2/arc-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notgne2%2Farc-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notgne2%2Farc-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notgne2%2Farc-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notgne2%2Farc-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notgne2","download_url":"https://codeload.github.com/notgne2/arc-rpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notgne2%2Farc-rpc/sbom","scorecard":{"id":694997,"data":{"date":"2025-08-11","repo":{"name":"github.com/notgne2/arc-rpc","commit":"89ee5491011904fc5cf01972b736ac98abb1b7f3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-cwx2-736x-mf6w","Warn: Project is vulnerable to: GHSA-v39p-96qg-c8rf","Warn: Project is vulnerable to: GHSA-8v63-cqqc-6r2c"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T03:25:26.763Z","repository_id":57183217,"created_at":"2025-08-22T03:25:26.764Z","updated_at":"2025-08-22T03:25:26.764Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"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":["arc-rpc","clusters","ipc","remote","rpc","spawned"],"created_at":"2026-02-11T13:37:26.477Z","updated_at":"2026-02-11T13:37:26.583Z","avatar_url":"https://github.com/notgne2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arc RPC\n###### Asynchronous Remote Classes make RPC simple\n\n---\n\n## How does it work\nArc RPC allows you to remotely call functions on other processes or even other hardware using these few main concepts\n\n- Ability to wrap existing class instances\n- Mock that acts like the remote class\n- Bi-directional\n- Protocol agnostic\n\n## How to use it\n\nHere is a basic example of using RPC with `socket.io`\n\n`client.js`\n\n```js\n// Include library for socket RPC clients\nlet ClientSocketRpc = require(\"arc-rpc\").ClientSocketRpc\n\n// Define `serverRpc` in higher scope for testing purposes\nlet serverRpc = null\n\n// Example remotely-callable class (this can be anything)\nclass ClientClass {\n\t// Example method\n\tasync clientTest() {\n\t\tconsole.log(\"Remotely called by server, calling server method.\")\n\n\t\t// Call remote as if it was a local class instance\n\t\tawait rpc.class.serverTest()\n\n\t\t// This is garuanteed to be afterwards, as ES7 awaits are used\n\t\tconsole.log(\"Called remote server method!\")\n\t}\n}\n\n// Create RPC to server over socket.io socket, predefined encryption key, with an instance of the example client class\nserverRpc = new ClientSocketRpc (\"127.0.0.1\", 9919, Buffer.from ('flbd+mTz8bIWl2DQxFMKHYAA1+PFxpEKmVNsZpFP5xQ=', 'base64'), new ClientClass())\n```\n\n`server.js`\n\n```js\n// Include library for socket RPC servers\nlet ServerSocketRpcMaster = require(\"arc-rpc\").ServerSocketRpcMaster\n\n\n// Example remotely-callable class (this can be anything)\nclass ServerClass {\n\tasync serverTest() {\n\t\tconsole.log(\"Remotely called by client.\")\n\t}\n}\n\n// Create RPC master/listener, on socket.io connection, predefined encryption key, with an instance of the example server class\nlet rpcMaster = new ServerSocketRpcMaster (9919, Buffer.from ('flbd+mTz8bIWl2DQxFMKHYAA1+PFxpEKmVNsZpFP5xQ=', 'base64'), new ServerClass())\n\n// Listen for new clients\nrpcMaster.on(\"client\", async (clientRpc) =\u003e {\n\tconsole.log(\"Got new client, remotely calling client test.\")\n\n\t// Call remote as if it was a local class instance\n\tawait clientRpc.class.clientTest()\n\n\t// This is garuanteed to be afterwards, as ES7 awaits are used\n\tconsole.log(\"Remotely called client test!\")\n})\n```\n\n## Basic documentation\n\nI'll get to completing this later","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotgne2%2Farc-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotgne2%2Farc-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotgne2%2Farc-rpc/lists"}