@fldr/trove
v0.1.3
Published
Trove CLI and git remote helper for end-to-end encrypted personal repositories
Readme
@fldr/trove
CLI and Git remote helper for Trove — an end-to-end encrypted personal Git repository.
Install
npm install -g @fldr/troveAuth (like gh)
trove auth login
trove clonetrove auth login defaults to https://trove.fldr.zip, prints a one-time code, and opens /connect. Authorize while your vault is unlocked in the browser — the web app wraps the repository key to this terminal so you are not prompted for a recovery phrase. trove clone writes a remote like trove::https://trove.fldr.zip/you/personal and pulls into ./personal. Existing remotes that still use /personal keep working as a slug-only fallback.
If the browser vault is locked, approve still works, but the CLI falls back to asking for the recovery phrase.
On interactive commands, the CLI checks npm every 12 hours and offers to run npm i -g @fldr/trove when a newer version exists. Use trove update to check immediately, or TROVE_NO_UPDATE=1 to disable.
Git
trove syncThat is git pull --rebase && git push, skipped when .trove/last-synced is newer than 60s (TROVE_SYNC_TTL_MS, or --force). The stamp is local (gitignored / .git/info/exclude) so agents can call trove sync after every ap run without paying for a round trip each time.
Only refs/heads/main is supported in this slice. If you are not in a git checkout, trove sync falls back to the working-tree pull/push path.
