Go Decentralized

Open-source Go projects categorized as Decentralized

Top 18 Go Decentralized Projects

  • yggdrasil-go

    An experiment in scalable routing as an encrypted IPv6 overlay network

    Project mention: Tinc, a GPLv2 mesh routing VPN | news.ycombinator.com | 2023-06-27

    > The next version will make it much simpler to deploy isolated networks by using TLS roots to prevent accidental peerings.

    Is that PR #1038 [1]? Any info on how to use that feature and whether it works over multicast as well?

    I noticed this PR uses SHA-1 for matching fingerprints. SHA-1 has been broken for 13 years now. Is it possible to use something more secure?

    > It's also worth noting that Yggdrasil doesn't have the equivalent of "peer exchange" — only directly connected peers would ever find out your public IP address. Yggdrasil will not form new peerings automatically, with the single exception being multicast-discovered nodes on the same LAN.

    Right, my worry is that by having a server with a public IPv4 address and Yggdrasil running on an open port (so that my other nodes can connect to it) will allow someone to connect to it (either on purpose or accidentally) and cause my traffic to route over their node(s) and/or the public mesh.

    Thanks!

    [1] https://github.com/yggdrasil-network/yggdrasil-go/pull/1038

  • CovenantSQL

    A decentralized, trusted, high performance, SQL database with blockchain features

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • cloud-morph

    Decentralize, Self-host Cloud Gaming/Application

  • mx-chain-go

    ⚡ The official implementation of the MultiversX blockchain protocol, written in golang.

    Project mention: Itheum Proudly Announces $ITHEUM Token Integration with Ledger Wallets by Itheum | /r/elrondnetwork | 2023-09-05

    In a major development underscoring Itheum’s dedication to digital asset security and user-centric solutions, we are ecstatic to unveil our collaboration with Ledger. Our native ITHEUM token, architected as an ESDT on the MultiversX blockchain, is now fully integrated and supported by Ledger’s esteemed cold storage solutions.

  • redwood

    A highly-configurable, distributed, realtime database that manages a state tree shared among many peers. (by brynbellomy)

  • superhighway84

    USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB

    Project mention: Open source P2P alternative to Slack and Discord built on Tor and IPFS | news.ycombinator.com | 2023-09-11

    While I do like the idea behind a P2P E2EE chat, I believe that unless you're willing to invest heavily into OrbitDB and IPFS, this project will stay niche at best.

    The performance issues that come along with running OrbitDB/IPFS on a machine, let alone a mobile device, are still significant unfortunately. Adding Electron on top of what is already a heavy-weight application is probably going to make people's devices go brrrrr all the time. Not only that, but I would argue that for instant communication this stack might not be the best idea in terms of performance in first place.

    Besides, the way IPFS has been (and still keeps) changing their dozens of libraries doesn't make development particularly smooth either. OrbitDB is always behind the latest IPFS version due to all these changes that are being introduced. Hence unless you're planning to allocate developer time on these two things as well, my guess is that you probably won't have too much fun with your back-end.

    The integration with Tor is another thing that will likely be a time drain for developers, as other people here already pointed out, and that will lead to even more performance issues down the line.

    Don't get me wrong, I really like the idea behind this project. However, I feel like the aspirations are unrealisticly high and the actual outcome might be realtively frustrating for the average end-user. Having that said, I would love my gut feeling to be proven wrong!

    Disclaimer: I'm the developer of Superhighway84 (https://en.wikipedia.org/wiki/InterPlanetary_File_System#App..., https://github.com/mrusme/superhighway84), a USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB.

  • bacalhau

    Compute over Data framework for public, transparent, and optionally verifiable computation

    Project mention: Bacalhau: Compute over Data framework for public, transparent, verifiable work | news.ycombinator.com | 2023-07-12
  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • cothority

    Scalable collective authority

  • surge

    Surge is a p2p filesharing app designed to utilize blockchain technologies to enable 100% anonymous file transfers. Surge is end-to-end encrypted, decentralized and open source. (by rule110-io)

    Project mention: Surge v1.1.0 release | /r/SurgeP2P | 2022-10-19

    From the GitHub pages (https://github.com/rule110-io/surge) it explains better the app is using a blockchain technology for the anonymous network connections(NKN blockchain network, https://github.com/nknorg, https://nkn.org/), does this mean that every connection get stored permanently in the blockchain and stays anonymous only until it doesn't eventually get cracked? The blockchain features states a novel "Proof-of-relay" feature:

  • theta-protocol-ledger

    Reference implementation of the Theta Blockchain Ledger Protocol

    Project mention: Staking Tfuel | /r/theta_network | 2023-03-20

    Go to https://docs.thetatoken.org/ for info

  • software

    DeepValueNetwork is a peer-to-peer database network managed and hosted by its community. It contains a browser to render 2D/3D content and allow the creation of scripted applications built on top of the p2p database network and managed by its creators, without intermediary platform. (by deepvalue-network)

  • onionpipe

    Onion addresses for anything.

    Project mention: Tor is not just for anonymity | news.ycombinator.com | 2023-07-17

    The internet is no longer as peer-to-peer friendly as it once was. Hence the existence of commercially-motivated hacks run by third parties such as hosting, e.g., Cloudflare, etc., including tunneling, e.g., ngrok, etc. Alternatively, Tor relies on third parties but AFAIK it's not so centralised and it's not commercially-motivated.

    That is what differentiates it from all the other options. There is no company behind it trying to make money by exploiting internet subscribers trying to connect with each other (not the so-called "tech" company).

    Tor can have uses other than the ones normally discussed such as anonymity and evading censorship. Tor can provide reachability without use of commercial eavesdropping third party intermediaries.

    For example, one can use Onion Services for advertising open IP:port information that is needed for peer-to-peer connections over other, faster peer-to-peer overlay networks, not the Tor network. The Onion Service can function as the "rendezvous" server for making peer-to-peer connection outside of Tor. Tor's Onion Services can be used to exchange IP:port information for making direct connections over the internet without using Tor. No need to use commercial third parties. Ngrok, Tailscale, etc. all require use of servers run by a commercial third party. Tor does not. There is ample free software that can establish peer-to-peer connections over the internet but in every case it requires some reachable server running this software on the internet, and for most users that means they have to run a server and pay a commercial third party for hosting. Tor has no such requirement.

    Imagine being able to share content with family, friends, colleagues without the need for so-called "tech" companies^1 acting as intermediaries ("middlemen"). With a reachable IPv4 address this becomes possible. It would be nice if every home internet access subscriber received a reachable IPv4 address from their ISP. No doubt, some do. But on today's internet most do not. The so-called "tech" companies all have reachable IPv4 addresses. Hence they assume the roles of middlemen and use this position to exploit internet subscribers for profit.

    Something like Tor provides a solution. Again, it is not always necessary to route all traffic over Tor. Tor can have other uses. When the goal is simply peer-to-peer connections, Onion Services can be used to bootstrap peer-to-peer overlay connections using the user's choice of software by providing a secure, reliable way to exchange IP:port information. Goal here when using Tor is not anonymity nor censorship evasion, it's reachability. Similarly, goal of peer-to-peer is not necessarily anonymity nor evading censorship either, it's bypassing commercially-motivated, eavesdropping middlemen known as "tech" companies, and avoiding the annoyances of advertising. A possible additional benefot of using Tor in this way is elevated privacy. Google, for example, cannot easily discover Onion Services. No one can discover Onion Services using ICANN DNS.

    1. The term "tech" as in "tech company" means a company, usually a website, that collects data from and about people to support the sale of advertising services because advertising services are the only services the company can sell on a scale large enough to sustain a profitable business.

    More reading/viewing:

    https://github.com/anderspitman/awesome-tunneling

    Tor Hidden Services (now called "Onion Services")

    https://jamielittle.org/2016/08/28/hidden.html

    As one author wrote on Github:

    "onion-expose is a utility that allows one to easily create and control temporary Tor onion services.

    onion-expose can be used for any sort of TCP traffic, from simple HTTP to Internet radio to Minecraft to SSH servers. It can also be used to expose individual files and allow you to request them from another computer.

    Why not just use ngrok?

    ngrok is nice. But it requires everything to go through a central authority (a potential security issue), and imposes artificial restrictions, such as a limit of one TCP tunnel per user. It also doesn't allow you to expose files easily (you have to set it up yourself)."

    https://github.com/ethan2-0/onion-expose

    As another Github contributor put it:

    "With onionpipe, that service doesn't need a public IPv4 or IPv6 ingress. You can publish services with a globally-unique persistent onion address, and share access securely and privately to your own allowlist of authorized keys.

    You don't need to rely on, and share your personal data with for-profit services (like Tailscale, ZeroTier, etc.) to get to it."

    https://github.com/cmars/onionpipe

    https://news.ycombinator.com/item?id=36734956

    https://news.ycombinator.com/item?id=30445421

    https://news.ycombinator.com/item?id=29929399

    "Finally, onion services are private by default, meaning that users must discover these sites organically, rather than with a search engine." [Small websites with small audiences get buried by advertising-supported search engines anyway.]

    https://nymity.ch/onion-services/pdf/sec18-onion-services.pd...

    https://media.ccc.de/v/31c3_-_6112_-_en_-_saal_2_-_201412301...

    https://wiki.termux.com/wiki/Bypassing_NAT (Termux recommends Tor over Ngrok)

    https://github.com/ajvb/awesome-tor

  • cruzbit

    A simple decentralized peer-to-peer ledger implementation

    Project mention: Does anyone watching this man he creating blockchain from scratch in golang amazing content | /r/golang | 2022-10-10

    If anybody’s interested in jumping into crypto programming in Go, we could use some more dev hands in the cruzbit project: https://cruzb.it

  • zos

    Autonomous operating system

    Project mention: An Organization Building a Decentralized Internet | /r/cryptocrashgg | 2022-10-31
  • pocket

    Official implementation of the Pocket Network Protocol v1

    Project mention: Ask HN: Where do I find good code to read? | news.ycombinator.com | 2023-08-24

    the right amount of context + easy-to-use tooling

    - Code culture; follow industry best practices and make it clear where & why you deviate

    My personal favorite one: `make todo_list`

    We use keywords (TODO, OPTIMIZE, HACK, etc…) through the codebase and make them easily searchable with make helpers.

    Ref: https://github.com/pokt-network/pocket/blob/main/Makefile#L5...

  • filefilego

    Decentralized Data Sharing Network - A Peer-to-peer, censorship-resistant, and a privacy-focused data sharing network

    Project mention: Any new Opensource projects in (go) looking for contributors. I want to start my journey as an OSS contributor. | /r/golang | 2023-05-14

    If you are interested in blockchain and peer-to-peer systems feel free to join us: https://github.com/filefilego/filefilego

  • clout-cli

    this repo slowly moving to github.com/andrewarrow/cloutcli

  • mercury-blockchain

    blockchain from scratch in Go

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-11.

Go Decentralized related posts

Index

What are some of the best open-source Decentralized projects in Go? This list will help you:

Project Stars
1 yggdrasil-go 3,065
2 CovenantSQL 1,452
3 cloud-morph 966
4 mx-chain-go 883
5 redwood 806
6 superhighway84 614
7 bacalhau 472
8 cothority 417
9 surge 387
10 theta-protocol-ledger 355
11 software 330
12 onionpipe 297
13 cruzbit 129
14 zos 74
15 pocket 56
16 filefilego 53
17 clout-cli 9
18 mercury-blockchain 8
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org