#nostr #git #command-line-tool #gnostr #patch

app gnostr-cli

gnostr-cli: git/nostr git2 command line utility

5 releases

new 0.0.6 May 7, 2024
0.0.4 Feb 15, 2024
0.0.3 Sep 3, 2023
0.0.2 Sep 3, 2023
0.0.1 Aug 31, 2023

#2456 in Command line utilities

Download history 113/week @ 2024-02-10 30/week @ 2024-02-17 30/week @ 2024-02-24 2/week @ 2024-03-02 35/week @ 2024-03-30 7/week @ 2024-04-06 230/week @ 2024-05-04

232 downloads per month

MIT license

290KB
7K SLoC

ngit

a command-line tool to send and review patches via nostr

  • works seemlessly with gitworkshop.dev
  • fully compatible with nip34 draft
  • enables proposals to be managed as branches, similar to GitHub PRs via nip34+

see gitworkshop.dev/ngit and gitworkshop.dev/about for more details

Commands

run from the directory of the git repository:

  • ngit init signal you are this repo's maintainer accepting proposals via nostr

  • ngit send issue commits as a proposal

  • ngit list list proposals; checkout, apply or donwload selected

and when on a proposal branch:

  • ngit push send proposal revision

  • ngit pull fetch and apply new proposal commits / revisions linked to branch

Contributions Welcome!

use ngit to submit proposals!

gitworkshop.dev/repo/ngit to report issues and see proposals

install the tool with cargo install ngit, use a prebuilt binary or build from source off the master branch.

Dependencies

~31–44MB
~705K SLoC