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

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

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.2.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

halig-0.2.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: halig-0.2.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.5.3 CPython/3.10.6

File hashes

Hashes for halig-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2b997414926dd586c72e76e68a1800355467306a0b79977b7c3d6c77cb7c5b34
MD5 2624a8cf0b767685fdfaaf8524b09807
BLAKE2b-256 3bc610d1911bc2627835047a609abaebc33c84ef292f13b212614897402cf82e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: halig-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.5.3 CPython/3.10.6

File hashes

Hashes for halig-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c494211df3de3bb425196980950a50029e2f6da32e9d064807e1c92f48c4ab05
MD5 bad0804a5a8f72c4ea02f0821565c8ca
BLAKE2b-256 d4da5b5136716cf179648e09e230a97c25a6b71fe74fce05361c5bb0af1ffe3e

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