{"id":24355185,"url":"https://github.com/raskyld/grinta","last_synced_at":"2026-02-15T03:02:07.425Z","repository":{"id":273071182,"uuid":"906623028","full_name":"raskyld/grinta","owner":"raskyld","description":"A minimalist network fabric for your goroutines 🔗 ✨","archived":false,"fork":false,"pushed_at":"2025-01-18T12:39:52.000Z","size":405,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T20:46:10.069Z","etag":null,"topics":["concurrency","distributed-systems","fabric","framework","go","golang","goroutine","network","networking","protobuf"],"latest_commit_sha":null,"homepage":"","language":"Go","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/raskyld.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-21T12:29:16.000Z","updated_at":"2025-01-22T15:28:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"712a3ea6-346e-41fb-a973-6f891a341cfe","html_url":"https://github.com/raskyld/grinta","commit_stats":null,"previous_names":["raskyld/grinta"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raskyld/grinta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raskyld%2Fgrinta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raskyld%2Fgrinta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raskyld%2Fgrinta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raskyld%2Fgrinta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raskyld","download_url":"https://codeload.github.com/raskyld/grinta/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raskyld%2Fgrinta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29466925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T01:01:38.065Z","status":"online","status_checked_at":"2026-02-15T02:00:07.449Z","response_time":118,"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":["concurrency","distributed-systems","fabric","framework","go","golang","goroutine","network","networking","protobuf"],"created_at":"2025-01-18T17:29:27.589Z","updated_at":"2026-02-15T03:02:07.408Z","avatar_url":"https://github.com/raskyld.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003ccode\u003egrinta\u003c/code\u003e\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eA minimalist network fabric for your goroutines\n    :link: :sparkles:\u003c/strong\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003e **N.B.** This is a *Proof Of Concept* library I built as a side-project\n\u003e over the last month to fulfill the needs I have for another project, it is\n\u003e **NOT production ready**. :pray:\n\n* *Goroutines* hold an *Endpoint* :round_pushpin: on which they can listen\n  for inbound *Flow* :ocean: establishment requests\n* *Flows* :ocean: are bidirectional communication chanel between\n  a *client* and an *Endpoint* :round_pushpin:\n* *Fabrics* :link: are meshes of Golang processes \u0026mdash; potentially\n  distributed over multiple machines \u0026mdash; capable of establishing\n  *flow* :ocean:\n\n## Demo\n\nThis video shows the [`examples/hello-world`](examples/hello-world/) example.\n\nFirst, both goroutines are on the same node and can communicate using a\n*Flow* :ocean: anyway, behind the scene `grinta` use native Go `chan`.\n\nThen, we run **the same binary** but this time, we put each goroutine in a\ndifferent process. From a code point of view, nothing change for the goroutines,\nthey still use a *Flow* :ocean: but this time, `grinta` uses a QUIC inter-node\nmultiplexed stream fabric.\n\n[hello world example](https://github.com/user-attachments/assets/24064e25-3eda-4153-adfc-de16f57423cb)\n\n## Features\n\n* :relieved: **Simple API**: `Fabric` -\u003e `Endpoint` -\u003e `Flow` describes an intuitive\n  hierarchy and their APIs are kept minimal.\n* :writing_hand: **Built-in Codec**: We already support:\n  * Protobuf,\n  * JSON,\n  * Raw Bytes,\n* :pinching_hand: **Golang Focused**: By focusing on a single language, we remove a lot of\n  complexity and can optimise for just our specific use-case.\n* :family: **No Central Authority**: A `grinta` cluster has no central authority, no\n  strongly consistent consensus protocol, nodes collaborate together to\n  converge as fast as possible.\n* :sunglasses: **GRINTA Protocol**: A custom protocol made on top of:\n  * a first *QUIC Transport Layer* supporting multiplexed inter-node\n    bidirectional **streams** and lightweight **datagrams**, \n  * an implementation of the [\"SWIM\"][swim] gossip protocol:\n    [`hashicorp/memberlist`][dep-mbl],\n  * an adapter to run `memberlist` clusters on top of our\n    *QUIC Transport Layer*,\n  * a set of versioned [Protobuf Messages](./proto/grinta) which describes\n    our control plane communication format,\n  * an event and query bus to propagate *Endpoint* :round_pushpin: information:\n    [`hashicorp/serf`][dep-serf];\n\n[swim]: (http://ieeexplore.ieee.org/document/1028914/)\n[dep-mbl]: https://pkg.go.dev/github.com/hashicorp/memberlist\n[dep-serf]: https://pkg.go.dev/github.com/hashicorp/serf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraskyld%2Fgrinta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraskyld%2Fgrinta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraskyld%2Fgrinta/lists"}