Join Nostr
2025-12-27 09:26:19 UTC

Martti Malmi on Nostr: Need help testing git on blossom: --- Install rust: curl --proto '=https' --tlsv1.2 ...



Need help testing git on blossom:

---

Install rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install git-remote-htree:
cargo install git-remote-htree

Add htree remote to your repo & push
git remote add htree htree://self/your-repo-name
git push htree master

Try cloning a repo:
git clone htree://npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree-rs

Web interface for browsing repos:
https://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree-rs

---

Added support for encrypted repos:
git remote add htree-secret htree://self/your-secret-repo#link-visible
It replaces #link-visible with #k=randomkey xor key which is required to read the repo.

Encrypted to your nsec only
git remote add htree-secret htree://self/your-secret-repo#private