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

Uploaded Source

Built Distribution

halig-0.1.8-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: halig-0.1.8.tar.gz
  • Upload date:
  • Size: 22.5 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.8.tar.gz
Algorithm Hash digest
SHA256 3de0df2b918404051a09432f6d9f4c1d45d8e45739ba08cbbeeea842b509f5c7
MD5 1d50d811a0a55a14baf4f11bcc1f8134
BLAKE2b-256 0ddce90065a6aa72598c0a131a5700d0e76163143583c5bf4b10481f5664084c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: halig-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 345d0d501a822a2a071b5209b6984317b9716a6e809a22a7eea4d73bff3d9da2
MD5 d6415b39cb71188368051d6097870b5e
BLAKE2b-256 31ff20ba6e637603d1c202eb808ee0d7de37bc3512378ddad4633a47589676ba

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