Skip to main content

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

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

halig-0.1.7.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

halig-0.1.7-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file halig-0.1.7.tar.gz.

File metadata

  • Download URL: halig-0.1.7.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.9 CPython/3.9.4

File hashes

Hashes for halig-0.1.7.tar.gz
Algorithm Hash digest
SHA256 fce5943fe95d525cd76499a9d86d8ee30968a012f74bbaf5d6848c1aac793be0
MD5 6d478db9c4969cac2e6b678712307138
BLAKE2b-256 30387fcdb9e17467a95de875e584221e059828a3601e135f7f334371f8caac5d

See more details on using hashes here.

File details

Details for the file halig-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: halig-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.9 CPython/3.9.4

File hashes

Hashes for halig-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 64b592570cd8e5918ba59b87d83868402c8d14f5b099ba19dcd87953262cacaa
MD5 5afae9f2f4ee27e421c09468cec60ac7
BLAKE2b-256 ba593598c5ec51d699cd18ce5c4efa4856f4f35fcd2fb7691ec67baf7fee4a1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page