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 encrypted file that you can relatively store 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.5.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: halig-0.1.5.tar.gz
  • Upload date:
  • Size: 20.8 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.5.tar.gz
Algorithm Hash digest
SHA256 a83ddf0ed22c5e51e4329be264d6aef51404c7743839a37b7f91c644110354af
MD5 35bf229ce97d3ba3ac11be3609bf0be3
BLAKE2b-256 90f464cb0345157515ac0c83b3ba080ba2b48598b8e6e483afe0c51d2e7c7350

See more details on using hashes here.

File details

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

File metadata

  • Download URL: halig-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b017d429edd929f48014755ebffbc8de7d99f422d416163e117bb787f5dd44e9
MD5 f2897fc25db4d0767dd3d401cbe73601
BLAKE2b-256 d54dcaf228150985b153c51de56e04a092ff0e26894cc492193fbb686636e010

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