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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: halig-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 102ea1f33dfa48a297c536496f46f721d973df30cbcdbc2114b6c7dcfb6e6e9a
MD5 3e75f86969e901c9e7b7092ae4429e35
BLAKE2b-256 9eac920a043f622873bd178e2b7732cc5a7b1594273bb04f9c5c818bbc655c04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: halig-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7940b0318e4c819cb40cbe93764db1991c23c2274a321a6994b24fb997da5bcf
MD5 e38969327a660fd8bd2beb31e6034ca0
BLAKE2b-256 750c23b90e64d30a40cbcabc2364e43a04f63bf19e1ab9aea3d0e97d4d9bbebe

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