| Crates.io | git-remote-htree |
| lib.rs | git-remote-htree |
| version | 0.2.3 |
| created_at | 2025-12-17 17:37:07.946625+00 |
| updated_at | 2026-01-19 13:16:10.662172+00 |
| description | Git remote helper for hashtree - push/pull git repos via nostr and hashtree |
| homepage | |
| repository | https://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree |
| max_upload_size | |
| id | 1990826 |
| size | 362,423 |
Git remote helper for hashtree - push/pull git repos via Nostr and hashtree.
cargo install git-remote-htree
# Clone a repo
git clone htree://npub1.../repo-name
# Push your own repo
git remote add htree htree://self/myrepo
git push htree master
# Link-visible repo (encrypted, shareable via secret URL)
git remote add origin htree://self/myrepo#link-visible
git push origin main
# Clone with secret key
git clone htree://npub1.../repo#k=<64-hex-chars>
# Private repo (encrypted, author-only)
git remote add origin htree://self/myrepo#private
git push origin main
For P2P sharing between peers, run the hashtree daemon:
htree start
Git operations automatically use the local daemon when running, enabling direct peer-to-peer transfers via WebRTC.
Keys file: ~/.hashtree/keys
nsec1abc123... default
nsec1xyz789... work
Use petnames in remote URLs: htree://work/myproject
Part of hashtree-rs.