ngit
cli for code collaboration over nostr
It supports both:
- patches over nostr similar to
git format-patchandgit send-emailfollowing the nip34 daft spec - branches similar to pull request model popularised by github
so that users can decide to work with either model using the same nost events.
the term 'proposals' is used to bridge the divide between 'patches and patch sets over email' and 'PRs'
patches produced using other nip34 clients will work with the nip34 patch model but wont have branch support.
Commands
run from the directory of the git repository:
-
ngit initsignal you are this repo's maintainer accepting proposals via nostr -
ngit sendissue commits as a proposal -
ngit listlist proposals; checkout, apply or donwload selected
and when on a proposal branch:
-
ngit pushsend proposal revision -
ngit pullfetch and apply new proposal commits / revisions linked to branch
Contributions Welcome!
use ngit to submit proposals!
install the tool with cargo install ngit, use a prebuilt binary or build from source off the master branch.