{"id":15495051,"url":"https://github.com/samchon/tgrid","last_synced_at":"2025-10-09T17:05:51.539Z","repository":{"id":33139829,"uuid":"152748886","full_name":"samchon/tgrid","owner":"samchon","description":"TypeScript RPC (Remote Procedure Call) for WebSocket and Worker protocols","archived":false,"fork":false,"pushed_at":"2025-07-15T08:54:16.000Z","size":9692,"stargazers_count":164,"open_issues_count":3,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-09T17:05:51.327Z","etag":null,"topics":["grid-computing","nestia","nestjs","network","process","remote-function-call","remote-procedure-call","rpc","thread","typescript","websocket","worker"],"latest_commit_sha":null,"homepage":"https://tgrid.com/","language":"TypeScript","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/samchon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null},"funding":{"github":["samchon"]}},"created_at":"2018-10-12T12:42:02.000Z","updated_at":"2025-09-16T05:55:17.000Z","dependencies_parsed_at":"2024-01-02T23:42:33.759Z","dependency_job_id":"cc1b679a-b496-487f-9af4-75e03be5639c","html_url":"https://github.com/samchon/tgrid","commit_stats":{"total_commits":236,"total_committers":7,"mean_commits":"33.714285714285715","dds":0.5677966101694916,"last_synced_commit":"6a334ef6cf46b9d478dc5279e11b1c1ad420d1ac"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/samchon/tgrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Ftgrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Ftgrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Ftgrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Ftgrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samchon","download_url":"https://codeload.github.com/samchon/tgrid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Ftgrid/sbom","scorecard":{"id":797255,"data":{"date":"2025-08-11","repo":{"name":"github.com/samchon/tgrid","commit":"1b0710e0b3e6f76ab438e0ab0776989f0571b6c7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/website.yml:1","Info: no jobLevel write permissions found"],"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 1/16 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":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/samchon/tgrid/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/samchon/tgrid/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/samchon/tgrid/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/samchon/tgrid/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/samchon/tgrid/website.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/samchon/tgrid/website.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/website.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/samchon/tgrid/website.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/build.yml:23","Warn: npmCommand not pinned by hash: .github/workflows/website.yml:19","Warn: npmCommand not pinned by hash: .github/workflows/website.yml:22","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 npmCommand dependencies pinned"],"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-vhxf-7vqr-mrjg","Warn: Project is vulnerable to: GHSA-f7f6-9jq7-3rqj","Warn: Project is vulnerable to: GHSA-cg87-wmx4-v546","Warn: Project is vulnerable to: GHSA-m4gq-x24j-jpmf","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-g77x-44xx-532m","Warn: Project is vulnerable to: GHSA-gp8f-8m3g-qvj9","Warn: Project is vulnerable to: GHSA-7gfc-8cq8-jh5f","Warn: Project is vulnerable to: GHSA-7m27-7ghc-44w9","Warn: Project is vulnerable to: GHSA-qpjv-v59x-3qc4","Warn: Project is vulnerable to: GHSA-f82v-jwr5-mffw","Warn: Project is vulnerable to: GHSA-3h52-269p-cp9r"],"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-23T09:21:59.858Z","repository_id":33139829,"created_at":"2025-08-23T09:21:59.859Z","updated_at":"2025-08-23T09:21:59.859Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001890,"owners_count":26083197,"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-10-09T02:00:07.460Z","response_time":59,"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":["grid-computing","nestia","nestjs","network","process","remote-function-call","remote-procedure-call","rpc","thread","typescript","websocket","worker"],"created_at":"2024-10-02T08:15:55.775Z","updated_at":"2025-10-09T17:05:51.518Z","avatar_url":"https://github.com/samchon.png","language":"TypeScript","readme":"# TGrid\n![TGrid logo](https://tgrid.com/logo.png)\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/samchon/tgrid/blob/master/LICENSE)\n[![npm version](https://badge.fury.io/js/tgrid.svg)](https://www.npmjs.com/package/tgrid)\n[![Downloads](https://img.shields.io/npm/dm/tgrid.svg)](https://www.npmjs.com/package/tgrid)\n[![Build Status](https://github.com/samchon/tgrid/workflows/build/badge.svg)](https://github.com/samchon/tgrid/actions?query=workflow%3Abuild)\n[![Guide Documents](https://img.shields.io/badge/guide-documents-forestgreen)](https://tgrid.com/docs)\n\nTypeScript Grid Computing Framework.\n\nTypeScript RPC (Remote Procedure Call) framework for `WebSocket` and `Worker` protocols. \n\n  - `WebSocket`\n  - `Worker`\n  - `SharedWorker`\n  - `NestJS`\n\nAlso, easy to develop complicated network system like grid computing.\n\n```typescript\nimport { Driver, WebSocketConnector } from \"tgrid\";\n\nexport const webSocketClientMain = async () =\u003e {\n  // CONNECT TO WEBSOCKET SERVER\n  const connector: WebSocketConnector\u003cnull, null, ICalculator\u003e =\n    new WebSocketConnector(\n      null, // header\n      null, // provider for remote server\n    );\n  await connector.connect(\"ws://127.0.0.1:37000/composite\");\n\n  // CALL REMOTE FUNCTIONS\n  const remote: Driver\u003cICalculator\u003e = connector.getDriver();\n  console.log(\n    await remote.plus(10, 20), // returns 30\n    await remote.minus(7, 3), // returns 4\n    await remote.multiply(3, 4), // returns 12\n    await remote.divide(5, 2), // returns 2.5\n  );\n  await connector.close();\n};\n\ninterface ICalculator {\n  plus(a: number, b: number): number\n  minus(a: number, b: number): number\n  multiply(a: number, b: number): number\n  divide(a: number, b: number): number\n}\n```\n\n\u003e ```bash\n\u003e $ npm start\n\u003e 30 4 12 2.5\n\u003e ```\n\n\n\n\n## Setup\n```bash\nnpm install tgrid\n```\n\nJust install with `npm` command. That's all.\n\nIf you wanna use `TGrid` in `NestJS`, read `Nestia` guide documents, too.\n\n  - [TGrid \u003e Guide Documents \u003e Setup](https://tgrid.com/docs/setup/)\n  - [Nestia \u003e Guide Documents \u003e Setup](https://nestia.io/docs/setup/)\n  - [Nestia \u003e Guide Documents \u003e WebSocketRoute](https://nestia.io/docs/core/WebSocketRoute/)\n\n\n\n\n## Playground\nYou can quickly experience `TGrid` on the playground websites:\n\n  - [Remote Function Call](https://stackblitz.com/~/github.com/samchon/tgrid.example.remote-function-call?file=src/client.ts\u0026view=editor)\n  - [Remote Object Call](https://stackblitz.com/~/github.com/samchon/tgrid.example.remote-object-call?file=src/client.ts\u0026view=editor)\n  - [Object Oriented Network](https://stackblitz.com/~/github.com/samchon/tgrid.example.object-oriented-network?file=src/composite.ts\u0026view=editor)\n  - [WebSocket Protocol](https://stackblitz.com/~/github.com/samchon/tgrid.example.websocket?file=src/client.ts\u0026view=editor)\n  - [Worker Protocol](https://stackblitz.com/~/github.com/samchon/tgrid.example.worker?file=src/client.ts\u0026view=editor)\n  - [NestJS WebSocket](https://stackblitz.com/~/github.com/samchon/tgrid.example.nestjs?file=src/calculate.test.ts\u0026view=editor)\n\n\n## Guide Documents\nCheck out the document in the [website](https://tgrid.com/docs):\n\n### 🏠 Home\n  - [Introduction](https://tgrid.com/docs)\n  - [Remote Procedure Call](https://tgrid.com/docs/remote-procedure-call)\n  - [Setup](https://tgrid.com/docs/setup)\n\n### 📖 Tutorial\n  - Features\n    - [Components](https://tgrid.com/docs/features/components)\n    - [WebSocket Protocol](https://tgrid.com/docs/features/websocket)\n    - [Worker Protocol](https://tgrid.com/docs/features/worker)\n  - Learn from Examples\n    - [Remote Function Call](https://tgrid.com/docs/examples/remote-function-call)\n    - [Remote Object Call](https://tgrid.com/docs/examples/remote-object-call)\n    - [Object Oriented Network](https://tgrid.com/docs/examples/object-oriented-network)\n    - [NestJS WebSocket](https://tgrid.com/docs/examples/nestjs-websocket)\n  - Learn from Projects\n    - [Chat Application](https://tgrid.com/docs/projects/chat)\n    - [Grid Market](https://tgrid.com/docs/projects/market)\n    - [Mutex Server](https://tgrid.com/docs/projects/mutex)\n\n### 🔗 Appendix\n  - [API Documents](https://tgrid.com/api)","funding_links":["https://github.com/sponsors/samchon"],"categories":["TypeScript 工具/库/框架","Built with TypeScript","Libraries"],"sub_categories":["Server","Libraries"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Ftgrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamchon%2Ftgrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Ftgrid/lists"}