I want to create a nostr-github bridge bot: if you open an issue/PR on nostr, it should be seen on GH and viceversa. Bridges are essential to foment smooth adoption. Why pick one or the other when you can have both...
Would this interest you @gsovereignty or its too fiat for you?
Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
I have nothing yet, this is just something that has been brewing on the back of my mind while I take a shower. I just think repo maintainers have no incentive to manage 99% of issues on GH and the rest on nostr. That won't work, even if they like nostr, managing 2 separate issue trackers is a big no.
Have you looked at the nostrocket problem tracker?
I have heard about nostrocket on your pod. Great idea albeit ambitious. I just checked the spec for NIP-1971 and it looks more like a replacement for complex issue tracked used internally within companies (like Youtrack, altassian, jira, zendesk, redmine) more than GH issues (which are rather simple). Would love to see it to fruition! For now I will focus on bridging NIP34 events, gotta start small.
Are people using Nip34 with github or just their own git servers? I don't want to dissuade you just wondering if the demand is there, still a fun project regardless though
My repo uses my personal git server as primary, github as a mirror: https://gitworkshop.dev/repo/sentrum If people mainly use GH for the social aspect and we can steal that with nip34, I believe people will naturally use other git servers since they won't depend on GH so much anymore.
There are a bunch of projects that use GH for PRs and Issues and have created a nip34 repo event. eg gossip, amber, amethyst, ndk...
RebelNet.me is an everything bridge. ANY keypairs, anyone can self-host, pure flexibility and freedom. I'd love to have you come post
Looks interesting but is it bridging github with nip34 events?
Not bridging to Big Tech/github. It’s bridging to other encryption keypairs, like Ethereum push channels and other cryptos.
@provoost and a number of other bitcoin core developers have expressed interest in a nostr/github bridge.
I'd be keen to collaborate on this. spam management would be important to prevent the bot from being banned by github.
My thoughts are to iust enable the bridge on repos that already voluntarily signaled a nip34 repo annoucement. There should be an easy clear way for them to opt out of the bridge (weird decision, if they already enabled nip34 but ok, won't blame them). After that, we can think of how to do better spam prevention (only mirror "qualityx npubs, etc).
I originally thought projects should have to opt-in to being bridged to github. I'm not keen for gitworkshop.dev or ngit to be bridged to github. perhaps maybe it could be opt-out for projects which list github first in the the 'clone' attribute of their repo event?
Another concern I had was around feature parity. There are some features that aren't built like Reviews, code comments on specific lines, etc and some that aren't possible. What if someone pushes to an existing patch on nostr. The account wont have permission to do the same to the github branch.
You're right, PRs are much more complex to mirror, although I still think it should be possible. If someobe creates a PR on nostr, it could be mirror by a PR created by the bot (which would have permissions to push to its fork). It's hard, but doable. Let's start with Issues only...
@b10c runs a backup script for bitcoin-core and libsec256k1. These are pretty useful to understand the structure of the data and what to expect. core developer Fabian also created a one way bridge to a self-hosted gitlab. se https://delvingbitcoin.org/t/gitlab-backups-for-bitcoin-core-repository/624 I remember finding a python tool that seemed to be quite active - can't seem to find that now. I'm not sure why Fabian didn't use it. Maybe it didn't meet his needs.
Btw, I've actually already started working on this and it's being going great. Hardest part now is making sure no issues get duplicated by running the bot multiple times. My goal is to do it in a reproducible way without the need to keep a local state. #devstr nostr:nevent1qqsv7q8fhc7uzkgw4v6xrpffwqjyekg9gskxyrz0hyf99h8mfulhg4cpz3mhxw309akx7cmpd35x7um58g6rsd3e9upzp5x7h70mzt00s86r6lrfg2dm0pyp9tq7f5k48gszmd42cl4yk3nvqvzqqqqqqyw8m28t