go install github.com/adrianpk/snapfig@latestgit clone https://github.com/adrianpk/snapfig
cd snapfig
go build -o snapfig .-
Launch the TUI:
snapfig
-
Navigate with arrow keys or
j/k -
Press
Spaceon directories you want to backup (cycles through modes):[ ]- Not selected[x]- Selected, remove nested.gitdirectories[g]- Selected, preserve.gitas.git_disabled
-
Press
F9to open Settings and enter your git remote URL -
Press
F7to backup (copies to vault and pushes to remote)
-
Install snapfig
-
Launch and configure your remote:
snapfig # Press F9, enter your remote URL -
Press
F8to sync (pulls from remote and restores files)
For automation or headless setup:
snapfig setup \
--paths=".config/nvim:g,.zshrc:x,.bashrc:x" \
--remote="git@github.com:user/dotfiles.git" \
--copy-interval="1h" \
--push-interval="24h"This creates the config, runs initial copy, and starts the daemon.
Next: CLI Reference
All docs: Index · CLI Reference · Background Runner · Workflows · Architecture