{"id":36704083,"url":"https://github.com/gongzhang/procbridge","last_synced_at":"2026-01-12T11:40:59.892Z","repository":{"id":54748153,"uuid":"83279265","full_name":"gongzhang/procbridge","owner":"gongzhang","description":"A super-lightweight IPC (Inter-Process Communication) protocol over TCP socket.","archived":false,"fork":false,"pushed_at":"2024-04-17T04:20:03.000Z","size":1284,"stargazers_count":119,"open_issues_count":7,"forks_count":16,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-17T08:58:58.584Z","etag":null,"topics":["ipc","java","json","nodejs","protocol","python","rpc","socket"],"latest_commit_sha":null,"homepage":"","language":null,"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/gongzhang.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":"2017-02-27T07:05:36.000Z","updated_at":"2024-04-14T07:54:09.000Z","dependencies_parsed_at":"2022-08-14T01:31:29.874Z","dependency_job_id":null,"html_url":"https://github.com/gongzhang/procbridge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gongzhang/procbridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongzhang%2Fprocbridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongzhang%2Fprocbridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongzhang%2Fprocbridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongzhang%2Fprocbridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gongzhang","download_url":"https://codeload.github.com/gongzhang/procbridge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongzhang%2Fprocbridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"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":["ipc","java","json","nodejs","protocol","python","rpc","socket"],"created_at":"2026-01-12T11:40:59.826Z","updated_at":"2026-01-12T11:40:59.883Z","avatar_url":"https://github.com/gongzhang.png","language":null,"readme":"\u003cp\u003e\n\u003cimg src=\"./doc/logo.png\" width=\"140\"/\u003e\n\u003cimg src=\"https://img.shields.io/github/license/gongzhang/procbridge.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/pypi/pyversions/procbridge.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/java-8-brightgreen.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/node.js-8-red.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/swift-5-orange\"/\u003e\n\u003c/p\u003e\n\n# 1. Introduction\n\nProcBridge is a super-lightweight IPC (Inter-Process Communication) protocol over TCP socket. It enables you to **send and recieve JSON** between processes easily. ProcBridge is much like a simplified version of HTTP protocol, but only transfer JSON values.\n\n\u003cimg src=\"./doc/concept.png\" width=\"900\"\u003e\n\nOn the server side, you **define a function which handles requests and returns result**. On the client side, you just **make request and get results synchronously**. Both requests and responses are wildcard JSON values (null, boolean, number, string, object, and array).\n\nProcBridge has been **implemented in Java, Python, Node.js, Swift, and C#**. If you want to connect two processes and HTTP \u0026 RPC are too heavy for your scenario, then ProcBridge will be an ideal choice.\n\n# 2. Instructions \u0026 Example\n\nPlease go to sub-repos for more information.\n\n- ✅ **Java** - [gongzhang/procbridge-java](https://github.com/gongzhang/procbridge-java)\n- ✅ **Python** - [gongzhang/procbridge-python](https://github.com/gongzhang/procbridge-python)\n- ✅ **Node.js** - [gongzhang/procbridge-nodejs](https://github.com/gongzhang/procbridge-nodejs)\n- ✅ **Swift** - [royalstream/procbridge-swift](https://github.com/royalstream/procbridge-swift)\n  - Alternative: [gongzhang/procbridge-swift](https://github.com/gongzhang/procbridge-swift) (WIP but supported Unix domain socket already)\n- ✅ **C#** - [IXI01/procbridge-csharp](https://github.com/IXI01/procbridge-csharp)\n- ⚠️ **Go** - not yet supported\n\n# 3. Protocol Design\n\n\u003cimg src=\"./doc/protocol.png\" width=\"550\"\u003e\n\nBoth request and response are encoded into **ProcBridge Packets**. Those binary packets are sent over TCP socket directly. Talk is cheap, please read [Python implementation](https://github.com/gongzhang/procbridge-python/blob/master/procbridge/protocol.py) to fully understand the protocol design.\n\n# 4. Collaboration\n\n👀 **Note for Early Collaborators (2019-01-10)**\n \nThe library implementations have been **refactored** and **migrated** to sub-repos as described above. From now on, this repo only stores docs. If you worked on `master` branch before, please switch to `legacy` branch. Thank you for your understanding and support. 😼\n\n***\n\nBelow is the collaboration guideline:\n\n#### ✨ Extend the protocol\n\nIf you want to extend the protocol, for example:\n\n- support packet compression\n- support bidirectional communication\n- support long connection and event-based communication\n- define conventions to method name or JSON body\n\nPlease open an issue first.\n\n#### ✨ Implement the protocol\n\nYou can quickly implement ProcBridge in any other programming languages. Note that it **only takes 300 lines of code** to fully implement the protocol in Python. Please name your repo like `procbridge-xxx` where `xxx` is your programming language. Don't forget to open an issue to let me know it.\n\n#### ✨ Improve existing implementation\n\nCool. Please open PR in sub-repos.\n\n# 5. Contacts\n\n👨🏻‍💻 Gong Zhang (gong@me.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongzhang%2Fprocbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgongzhang%2Fprocbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongzhang%2Fprocbridge/lists"}