pull down to refresh

Remember Jack's 10btc bounty for Github alternative on nostr...Remember Jack's 10btc bounty for Github alternative on nostr...

Once upon a time (March, 2023), Jack was offering a 10btc bounty for github on nostr.

I'm not really sure if the bounty still exists, but Open Sats just re-upped a grant for Dan Conway, who is working on Grasp.

What is Grasp?What is Grasp?

There is already a NIP for git events on nostr (NIP-34), and it looks like Grasp uses this NIP to implement a git

You pre-authorize pushes via signed Nostr events, then any compliant server can host your repo. Discover, push, and pull from multiple Grasp servers for resilience and censorship resistance.

This screenshot is from a nice little animation that shows the flow of various git actions.

Protocol OverviewProtocol Overview



Grasp defines two core services at a single HTTP(S) endpoint:

Smart HTTP Git service
  • Repos live at /<npub>/<identifier>.git
  • No user auth – pushes are validated against the latest signed Nostr state
  • CORS origin * allows web app access


Nostr Relay
  • Auto-creates blank repos on repository-announcement events that list this instance
  • Accepts events related to hosted repositories

It seems incredibly simple. I'm sure actually implementing it and making it look as good as it does takes a lot of work.

There is also a public instance of the implementation where it looks like the project is hosted: https://gitworkshop.dev/danconwaydev.com/grasp

It looks pretty slick.

Additionally it looks like you can access it at https://gitnostr.com/