halig (0.1.7)
Installation
pip install --index-url haligAbout this package
age-encrypted, file-based, note-taking CLI app
halig
(R)age encrypted note-taking CLI app.
halig opens, using your favorite $EDITOR, an in-memory copy of a file and upon save-and-exit,
it encrypts the new contents into an age file that
you can store, relatively safe, anywhere.
Install
pip install halig
PS: I recommend using pipx instead
Setup TLDR
set -e
ssh-keygen -t ed25519
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/halig"
cat << EOF > "${XDG_CONFIG_HOME:-$HOME/.config}/halig/halig.yml"
---
notebooks_root_path: /home/$(id -un)/Documents/Notebooks
identity_path: /home/$(id -un)/.ssh/id_ed25519
recipient_path: /home/$(id -un)/.ssh/id_ed25519.pub
EOF
Usage TLDR
halig edit some_notebook # edit today's note relative to <notebooks_root_path>/some_notebook
halig edit some_notebook/foo # edit <notebooks_root_path>/some_notebook/foo.age
halig notebooks # list current notebooks
Requirements
Requires Python: >=3.10
Details
Assets (2)
Versions (23)
View all
halig-0.1.7-py3-none-any.whl
19 KiB
halig-0.1.7.tar.gz
20 KiB