halig (0.2.0)

Published 2023-04-24 11:57:37 +00:00 by catalin in catalin/halig

Installation

pip install --index-url  halig

About this package

age-encrypted, file-based, note-taking CLI app

halig

PyPI PyPI - License PyPI - Python Version pdm-managed

(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

pipx install halig # or pip

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
PyPI
2023-04-24 11:57:37 +00:00
5
GPL-3.0-or-later
43 KiB
Assets (2)
Versions (23) View all
0.6.1 2024-09-10
0.6.0 2024-09-06
0.5.1a2 2024-09-04
0.5.1 2024-08-04
0.5.0 2024-06-19