Safenetwork Git Portal Discussion

Why Safe is a Massive Deal for Developers

I mentioned above that I’m a bit slow, here’s why I mentioned that (re-posted from something I wrote today on another topic).

Something that I’ve only just realised is the absolutely staggering leverage developers will gain by developing on Safe Network.

I had already appreciated some big gains, such as the ability to scale a website or application to any degree with zero infrastructure costs. That alone has massive implications, including turning the financial models for business upside down, and of course decentralising power and blowing the doors off innovation.

But it took me starting to build Git Portal to appreciate that this network is going to be much more than a way to scale with economics built in that people have been dreaming of for decades but has not yet materialised.

So what’s this big new realisation? Well look, here I am just one moderately skilled coder and I’m attempting to build an alternative to GitHub, had a proof of concept running in less than a month and all but complete in two. How is this possible?

It’s possible because Safe provides me with not just a ready made scalable platform, but the option of avoiding all the complicated bits that have put me off attempting this for years.

A few years ago I looked inside SSB-Git and recoiled in horror at the prospect of figuring out how git works under the hood and integrating that into a decentralised protocol as they had done.

Now we see Radicle building a decentralised git system. They have a large team because they’re doing that and more - building a decentralised protocol that fits git like a glove, as well as expanding git’s capabilities in the way I’m doing for Git Portal (adding issues, PRs, social etc). It may well be effective but we know how hard it is to build those protocols! And there’s a large development cost which has to be paid for somehow.

I never stuck with SSB (Scuttlebutt) whenever I tried it because it just doesn’t work for me, taking forever to update and using enormous bandwidth and storage for a single social app.

So what’s different about Git Portal? The big difference is that it is not using the protocols, nor the data types, just the peer-to-peer storage that sits on top of them. This has reduced the work needed enormously. No protocols to design, write, or even to interface with. And I don’t even need to interface with the storage much, because a consequence of having a standard storage API is that I can put Git Portal together from existing git libraries that already sit on a storage API.

There’s still a lot of code to write, and I have had to figure out a way to glue it all together, but it’s probably between one and five percent of the work needed to build something identical in functionality that uses its own protocol.

The same will be true for many apps now that we don’t just have the data types, but local first CRDT types, as well as the option of just using a filesystem (device or in-browser). Others can use the work I’ve done and have even less work to do.

This is going to be a massive incentive for anyone building things that can take advantage of those development economies.

19 Likes

Git Portal Micro-Update

Lots of activity but the best part is that Git Portal had two new contributors! :tada:

By @dredd :pray:

  • Windows support added (for development)
  • build and test commands tidied up (renamed and rationalised)

By @happybeing :pray:

  • added CONTRIBUTING.md for anyone wishing to contribute. Contains guidelines for non-coders, as well as for front-end and Rust subsystem covering documentation, testing, error handling etc.
  • added Windows build to github actions (CI) so everything is built, and tests run on Linux and Windows when code is pushed or merged
  • added Rust checks to CI and Rust source code is checked with clippy (lint) and rustfmt (layout)
  • added Semgrep to CI to scan code and dependencies for security issues (untested, so :crossed_fingers:). Thank you to @StephenC who made this trivial by doing the hard work and leaving me with a copy/paste job.

By @janriemer :pray:

  • proof read and updated CONTRIBUTING.md with useful links plus fixes to spelling and grammar

Help Welcome!

Ad hoc contributions are welcome so don’t think you need to make a big commitment to help out. If you are interested in any area, coding (Svelte, JavaScript or Rust) or related to documentation, testing or feedback get in touch. For specifics, check out CONTRIBUTING.md.

19 Likes

I’ve paused my work on Git Portal and am considering whether I want to continue alone on such a large project, or on code at all.

With almost perfect timing, MaidSafe have announced substantial funding is available to third party developers. So if you have relevant skills and might want to contribute or even take the lead over time, let’s talk.

See Announcing the BambooGarden Fund and my note here.

13 Likes

@happybeing … if you have the time, could you make a blog post of that? It’s really good and it’d be awesome to be able to share it around to people who might be interested in developing on Safe.

1 Like

I’ve already shared it as is, linking directly to the reply and I think that works well, bringing people to the community as well as the content itself. I do this whenever I write or see a suitable reply, David often writes something that works for, or has a good quote etc.

If anyone wishes to make a blog of it by all means used what you like.

2 Likes

Keep up the excellent work, inspiration and your wisdom please @happybeing

5 Likes

It’s a shame you are pausing on this. It looked like you were enjoying breaking new ground?

I’ve no idea what your day job is, but it seems you have a passion for this. It would be a shame to see it go to waste.

3 Likes

It’s not wasted even if this code isn’t used, and I’ve been working away flat out knowing it’s too much for me to complete on my own. Perhaps now we have a fund others will be tempted to join in, take it over, or come up with their own solutions.

I think I’m done for the time being, though still considering. It’s been a long haul, not just Git Portal, but learning to code again, so many new tools on several Safe projects over the different APIs, and lots of my time on social media working to help the project.

It’s been great but a few weeks ago I felt the need to pause. The pause is continuing so I can see where I want to go from here. There’s still lots to do, but it feels like the project has reached a point where it will soon be unstoppable.

8 Likes

It’s always hard to get a balance. I’ve abandoned trying to work on projects in my spare time; my family need my time more.

It would be great to combine safe network with my day job though. That would far more fulfilling than what I often end up working on. Having worked mostly in fintech over the last few years, it feels like my soul needs to be taken off the market.

It would would great if other senior community members could focus more on safe network. Now it is coming to a head, it feels like there are a few mutually beneficial angles.

Anyway, no pressure. I just feel that sometimes things feel right and we shouldn’t fight that. Sometimes it leads to a happier place all round.

2 Likes