git-remote-htree
Git remote helper for hashtree - push/pull git repos via Nostr and hashtree.
Installation
|
That installs htree, htree-cashu, and git-remote-htree into ~/.local/bin by default. For a system-wide install, pass a target directory, for example sh -s -- /usr/local/bin.
Windows note: this shell bootstrap is not supported on Windows. Download the latest hashtree-x86_64-pc-windows-msvc.zip release asset, extract it, and add htree.exe, htree-cashu.exe, and git-remote-htree.exe to your PATH.
Or install with Cargo:
If you already have hashtree-cli, just install the helper:
Usage
# Clone a repo
# Push your own repo
# Link-visible repo (encrypted, shareable via secret URL)
# Clone with secret key
# Private repo (encrypted, author-only)
P2P
For P2P sharing between peers, run the hashtree daemon:
Git operations automatically use the local daemon when running, enabling direct peer-to-peer transfers via WebRTC.
Configuration
Keys file: ~/.hashtree/keys
nsec1abc123... default
nsec1xyz789... work
Use petnames in remote URLs: htree://work/myproject
Part of hashtree-rs.