Crates.io | ngit |
lib.rs | ngit |
version | 1.5.3 |
source | src |
created_at | 2023-05-21 17:51:26.695959 |
updated_at | 2024-11-12 12:29:35.737137 |
description | cli for code collaboration over nostr with nip34 support |
homepage | https://gitworkshop.dev/r/naddr1qqzxuemfwsqs6amnwvaz7tmwdaejumr0dspzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqvzqqqrhnym0k2qj |
repository | https://codeberg.org/DanConwayDev/ngit-cli |
max_upload_size | |
id | 870080 |
size | 926,656 |
a command-line tool to send and review patches via nostr
see gitworkshop.dev/ngit and gitworkshop.dev/about for more details
a git remote helper (git plugin) included with ngit that enables nostr integration with native git commands when used with a nostr remote eg nostr://npub123/identifer
pr/*
nostr is a decentralised communications protocol with:
for code collaboration, nostr is used for:
a git server is still required for data storage and syncing state. multiple git servers can be used for reduncancy and they can be seemlessly swapped out by maintainers just like nostr relays.
eg self-hosted, github, codeberg, etc.
┌──────────┐
│ Author │
└──/─┬─\───┘
,------' │ '--------.-------.
┌──────▼─┐ ┌────▼───┐ ┌───▼───┐ ┌─▼─────┐ ┌───────┐
│ Git │ │ Git │ │ Relay │ │ Relay │ │ Relay │
│ Server │ │ Server │ │ │ │ │ │ │
└────────┘ └────\───┘ └───┬───┘ └──/────┘ └─/─────┘
\------. │ ,----/---------/
┌─▼──▼──▼─┐
│ User │
└─────────┘
run from the directory of the git repository:
ngit init
signal you are this repo's maintainer accepting proposals via nostrngit send
issue commits as a proposalngit list
list proposals; checkout, apply or donwload selectedngit fetch
fetch download latest repository updates to allow ngit list
usage offlineand when on a proposal branch:
ngit push
send proposal revisionngit pull
fetch and apply new proposal commits / revisions linked to branchuse ngit to submit proposals!
gitworkshop.dev/r/naddr1qqzxuemfwsq3gamnwvaz7tmjv4kxz7fwv3sk6atn9e5k7q3q5qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exsxpqqqpmejawq4qj 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.