45 points · by htrap · 3y ago · 21 comments
Our journey into the open-source world started with Google Summer of Code, where we contributed to syslog-ng and GDAL, respectively. It was a transformative experience that truly highlighted the value of open-source development to us.
During the pandemic, we participated in an Arweave hackathon hosted on Gitcoin. It was here that our initial project, Dgit - https://web.archive.org/web/20201029162838/https://dgit.sh/#..., took form. This sparked the idea of a decentralized code collaboration platform and set us on the path towards what we now call Gitopia - a 'utopia' for open-source collaboration.
One of our guiding principles while developing Gitopia has been to maintain familiarity for users. To achieve this, we designed Gitopia to work directly with the git CLI and incorporated Gitopia's git remote helper - https://docs.gitopia.com/git-remote-gitopia, that allows git to understand our custom transport protocol. This integration ensures that you can continue using the git commands you use daily, thereby offering a decentralized experience that doesn't disrupt your existing workflow.
Making the transition easier, we have also released a GitHub action, gitopia-mirror-action: https://github.com/marketplace/actions/gitopia-mirror-action, that mirrors your repositories from GitHub to Gitopia. Each commit is backed up on IPFS, Filecoin, and Arweave, safeguarding your code against censorship and eliminating single points of failure. A basic search feature is also enabled on Gitopia using the graph protocol.
We recognize the challenges in the open-source community around lack of incentivization. Developers often find themselves contributing their time and skills for free, leading to potential burnout. To combat this, we have implemented bounties, allowing contributors to earn rewards when their PRs get merged. We encourage you to contribute and get involved with the bounties open in various Gitopia repositories.
- gitopia-web: https://gitopia.com/Gitopia/gitopia-web/issues
- gitopia chain: https://gitopia.com/Gitopia/gitopia/issues
- git-remote-gitopia: https://gitopia.com/Gitopia/git-remote-gitopia/issues
Gitopia introduces a utility token, $LORE, which plays a crucial role in our platform. $LORE not only incentivizes open-source maintainers and contributors but also empowers the community to participate in platform governance via proposals. You can find more details about our token model here - https://blog.gitopia.com/post/2023/03/lore-token-model/
The journey towards building Gitopia is ongoing, and there are exciting features in our pipeline:
- Activity feed
- Improve search ranking
- CI/CD workflows
- DAO workflows
We're also actively working on tackling challenges in platform moderation, reducing maintainer fatigue, improving platform governance, and enhancing discovery on the platform. We invite you to try out Gitopia - https://gitopia.com and share your feedback, ideas or suggestions. Please comment here or reach out to us at hi [at] gitopia.org. We look forward to hearing from you!
Helpful links:
Documentation: https://docs.gitopia.com/
First, why blockchain? I know it's a bit of a meme around here to be instantly critical of any blockchain project, but I genuinely am not sure what a blockchain provides here over git itself, which is already a distributed version control system.
Second, why a new token? Transaction fees and maintainer donations can easily be handled with existing payment providers and (if desired) ETH/BTC. What is a new token contributing towards the goal of a decentralized GitHub?
git is distributed, we use git as well and it is irreplaceable. The hosting platform till now has been centralized and prone to censorships due to the jurisdiction it was based in for eg US sanctions. A decentralized platform that uses a blockchain provides censorship resistance out of the box.
> Second, why a new token? Transaction fees and maintainer donations can easily be handled with existing payment providers and (if desired) ETH/BTC. What is a new token contributing towards the goal of a decentralized GitHub?
The payment providers need KYC or valid jurisdictions to operate under. ETH/BTC could work here(can also work on gitopia in the future). But building just on top of another network restricts us to their limitations. On the other hand having your own network enables us to change along with the requirements of the platform. The new token contributes to the security of the platform as it is used by validators to secure the network via PoS consensus. The token also acts as a governance mechanism in voting for governance proposals that shape the future of the platform. This won't be possible by relying on existing tokens.
This is an argument in favor of decentralizing, and I'm 100% in agreement. However, you haven't really explained what the blockchain layer is providing here that couldn't be accomplished with git's native ability to be a distributed VCS. There's a lot of overhead introduced by adding a blockchain—extra development time, extra code to maintain, extra CPU work (even with PoS). In order to persuade a technical audience to use your tool, you have to explain what value all that complexity is bringing!
Put another way: I can have a distributed, censorship-resistant VCS by self-hosting Forgejo and mirroring repos that I like and want to help keep online. If a tool like Foregjo could encode the issue tracker and other meta information inside the .git folder, it could even make those aspects distributed, without all the complexity inherent in a blockchain. Given that, what does blockchain bring to the table?
Agreed that there is a lot of overhead introduced, but that is for the development of the platform and network of Gitopia. For the end user the workflows remain almost the same for collaboration.
> Put another way: I can have a distributed, censorship-resistant VCS by self-hosting Forgejo and mirroring repos that I like and want to help keep online. If a tool like Foregjo could encode the issue tracker and other meta information inside the .git folder, it could even make those aspects distributed, without all the complexity inherent in a blockchain. Given that, what does blockchain bring to the table?
I understand that this would work for technically inclined users but not for everyone who want to contribute to open source. Along with this the blockchain layer layer offers immutable, transparent and tamper proof versioning of code along with the collaboration meta and augments the current collaboration flow. Along with this it enables us to provide a novel means to incentivize open-source contributions along with fostering a more decentralized approach for governance (even for projects), every token holder could have a say in the decision making, reducing the risk of undue influence by a single party, hence eliminating centralized control.
I will also add that we have tried to keep the flow of collaboration on Gitopia as intuitive as possible for the developer hence adding no additional complexity for the end user if they don't want it. But for some projects this might be useful or necessary to use the web3 workflows along with the collaboration features on Gitopia.
However our platform isn't trying to solve a deficiency in git. Rather, it aims to introduce new features and capabilities that might not be essential to every project but could be beneficial to some. The introduction of a blockchain layer offers immutable, transparent and tamper proof versioning of code. It is augmenting the current collaboration flow. This could be crucial for certain projects where provenance and auditability are paramount.
Regarding tokenization, it could provide a novel means to incentivize open-source contributions. It might help projects attract and reward contributors, something that has been a long-standing challenge in open source development. In contract to traditional project governance models, Gitopia could foster a more decentralized approach for governance (even for projects), every token holder could have a say in the decision making, reducing the risk of undue influence by a single party, hence eliminating centralized control.
The need for these features varies greatly depending on the nature of requirements of each project . We believe in providing tools and options for those who find them useful or necessary. We are not suggesting a replacement of git or traditional practices, but rather an additional option for certain contexts.
https://git-scm.com/about/trademark
Disclaimer: I work for GitLab, but I think that name predates this policy. Just sharing in case you weren't aware.
> The USPTO initially rejected our application as confusingly similar to the existing trademark on GitHub, which was filed in 2008. While one might imagine where the "Git" in GitHub comes from, by the time we applied to the USPTO, both marks had been widely used in parallel for years. So we worked out an agreement with GitHub which basically says "we are mutually OK with the other trademark existing".
> ...
> So GitHub is essentially outside the scope of the trademark policy, due to the history. We also decided to explicitly grandfather some major projects that were using similar portmanteaus, but which had generally been good citizens of the Git ecosystem (building on Git in a useful way, not breaking compatibility). Those include GitLab, JGit, libgit2, and some others. The reasoning was generally that it would be a big pain for those projects, which have established their own brands, to have to switch names. It's hard to hold them responsible for picking a name that violated a policy that didn't yet exist.
Forgejo if you want something like this without the "Blockchain".
Is this just another Gogz/Gitea derivative (the Hub repo looked Golang so I am guessing one of these projects)?
Is there something decentralized about the Hub part? From my quick 2m glance I couldn't see anything.
Thanks for your positive feedback.
> Is this just another Gogz/Gitea derivative (the Hub repo looked Golang so I am guessing one of these projects)? Is there something decentralized about the Hub part? From my quick 2m glance I couldn't see anything.
To clarify your queries, our project is not a derivative of Gogs or Gitea. The repository refs, access control info and other critical data are stored on the blockchain. This adds an extra layer of security, as it makes it very difficult for any malicious users to tamper with this critical data. And all these updates can be verified by anyone on the public blockchain. The golang repository that you refer to here (gitopia/gitopia) is the chain repository that uses cosmos-sdk/tendermint(comet-bft)
Regarding the storage of repository objects/packfiles, these are stored separately and backed up using IPFS and Filecoin. Currently there's a custom server logic that sits between the user and the data store, which uses the git protocol for optimization. However, we're actively working on removing this dependency.
We'd love to have you try out Gitopia and get your feedback.
Of all things, the spaceman in a car was what put me off this, as I straight away felt like anyone who would use that as art must be some kind of Elon Musk superfan. And then the buzzwords web3, blockchain and *coin made me turn away completely.
I'll say one nice thing - I like the live preview of the app on the front page that is interactive and actually works. More web apps should do this
> I'll say one nice thing - I like the live preview of the app on the front page that is interactive and actually works. More web apps should do this
Thanks, it was put up there to show that Gitopia is open source and is being developed on Gitopia. Also that we are not just an idea or whitepaper, the app is live and working.
But, i do agree with centralization with respect with hosted webapp at gitopia.com. However, since webapp is open-source, anyone is free to host their version. And, also we have plans to release a desktop app which removes the reliance on a website altogether.
[0] https://gitopia.com/gitopia/gitopia