{"id":19369209,"url":"https://github.com/joystream/onchain-git-poc","last_synced_at":"2026-05-16T09:06:10.077Z","repository":{"id":66359801,"uuid":"161162470","full_name":"Joystream/onchain-git-poc","owner":"Joystream","description":"[PoC] Onchain git collaboration","archived":false,"fork":false,"pushed_at":"2019-01-14T12:19:38.000Z","size":8036,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-24T13:48:54.098Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/Joystream.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}},"created_at":"2018-12-10T11:11:52.000Z","updated_at":"2021-09-06T07:41:46.000Z","dependencies_parsed_at":"2023-02-21T18:15:13.198Z","dependency_job_id":null,"html_url":"https://github.com/Joystream/onchain-git-poc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Joystream/onchain-git-poc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joystream%2Fonchain-git-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joystream%2Fonchain-git-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joystream%2Fonchain-git-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joystream%2Fonchain-git-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joystream","download_url":"https://codeload.github.com/Joystream/onchain-git-poc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joystream%2Fonchain-git-poc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285035892,"owners_count":27103933,"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-11-18T02:00:05.759Z","response_time":61,"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":[],"created_at":"2024-11-10T08:10:05.090Z","updated_at":"2025-11-18T09:03:22.322Z","avatar_url":"https://github.com/Joystream.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# onchain-git\nA [Git remote helper](https://git-scm.com/docs/git-remote-helpers) and underlying\n[Cosmos/Tendermint](https://cosmos.network/developers) app for synchronizing with remote\nrepositories on our Cosmos/Tendermint based blockchain.\n\n## Structure\n### cmd/git-remote-joystream\nGit remote helper, not functional as of now, but should be trivial to wire up against\n`gitservicecli` which does the real work.\n\n### cmd/gitservicecli\nCosmos/Tendermint client app that mainly supports pushing references to a repository on\nthe blockchain. It's implemented as a standard Tendermint app, so it will function by sending\nmessages to corresponding servers (`gitserviced`).\n\n### cmd/gitserviced\nCosmos/Tendermint server app that supports the following:\n\n* Listing of references (required by the Git remote helper)\n* Querying of advertised references (required in conjunction with pushing of references)\n* Pushing of references\n* Removal of repositories\n\nA server instance will respond to queries (for reference listing or advertised references)\nand messages to push references to repositories or remove repositories.\n\n#### Pushing references\nA message for pushing of references will cause updates to references in the corresponding\nrepository to be stored in a blockchain transaction. This information will basically consist\nof a list of commands to update the references and a packfile containing Git data\n(commits/trees/blobs).\n\nWhen a server processes such a message, it will also update the corresponding repository in\napp storage. If the repository isn't already there it will be initialized.\n\n### cmd/gogitclient\nThis is a test application to study the behaviour of go-git when it comes to serving pushing\nof updates. It's basically a simplified Git client that supports the `push` command and will\nuse our replacement for [`git-receive-pack`](https://git-scm.com/docs/git-receive-pack),\n`gogit-receive-pack` when using the `debugf` protocol, which basically is for pushing to\na remote in the local filesystem but using our own back-end (`gogit-receive-pack`).\n\n### cmd/gogit-receive-pack\nThis is a re-implementation of `git-receive-pack` using the `go-git` library that's instrumented\nthrough debug logging, so that we can understand how go-git serves pushing of updates.\n\n## References\n* https://git-scm.com/docs/git-remote-helpers\n* https://keybase.io/blog/encrypted-git-for-everyone\n* https://github.com/src-d/go-git\n* https://cosmos.network/developers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoystream%2Fonchain-git-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoystream%2Fonchain-git-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoystream%2Fonchain-git-poc/lists"}