1
0
Fork
You've already forked pass-backup
0
Easily backup and restore your pass folder and gpg keys
  • Janet 100%
Find a file
2026年01月24日 01:31:58 -05:00
.gitignore Implement core functionality 2025年10月20日 23:30:33 -04:00
backup.janet Simplify file redirects via new API 2026年01月24日 01:31:58 -05:00
project.janet Migrate to spork/sh-dsl from janet-sh 2026年01月24日 01:19:02 -05:00
readme.md Misc. 2025年10月27日 22:24:49 -04:00
restore.janet Migrate to spork/sh-dsl from janet-sh 2026年01月24日 01:19:02 -05:00

pass-backup extracts your pass files and (all) gpg keys.

Use

janet backup.janet will produce key-backup.tar with gpg keys and passwords which janet restore.janet will restore on another system.

Issues

  • how to build backup.janet andrestore.janet as separate executables or combine them? Modern bundles call a build hook which can just be a function doing whatever you want!
  • include gpg and pass as dependencies?
    • s says no because they're normally installed via OS package manager, best use readme
      • cosmictoast mentions that libcurl is needed for jurl here
      • sogaiu mentions prerequisites for index-janet-source here
    • p says yes
    • would this shadow or somehow mess with the general versions? E.g. would it try to install them if already installed? Perhaps best to rather call which to see if they exist or not and then just print that they need to be installed (besides in the readme)
  • expand in the direction of https://github.com/tionis/cosmo and https://github.com/tionis/glyph.janet to backup/manage dotfiles etc. according to some configuration?