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.

Features

  • Simple notebooks management with paths autocompletion
  • Passphrase-less, fully-encrypted notes, compatible with existing SSH keys
  • No external age binary needed
  • Almost all age advantages, like having multiple keys for encryption and decryption
  • Remote (HTTP) public keys import: e.g: github.com/<username>.keys

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: ~/Documents/Notebooks
identity_paths: 
  - ~/.ssh/id_ed25519
recipient_paths:
  - ~/.ssh/id_ed25519.pub
  - https://github.com/<username>.keys
  - https://gitlab.com/<username>.keys
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.5.0.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

halig-0.5.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: halig-0.5.0.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.15.4 CPython/3.12.3 Linux/6.9.5-zen1-1-zen

File hashes

Hashes for halig-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f1e9a9f624a857c5313d3769f2f222fcce6bc23bb6b39ad379ab27f96195b812
MD5 2adb9e06207ce625bfc3f8b9b2607750
BLAKE2b-256 0f3d3f92b4b194fc9fbc970f4945c9210d2bf498ac56a2c659b1d13ddba20b6f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: halig-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.15.4 CPython/3.12.3 Linux/6.9.5-zen1-1-zen

File hashes

Hashes for halig-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc84a6404abb45a914c2a12592bc7521e0d1ddc771b70d7ab15ce600defab219
MD5 47b9890fc2dabc7f02ffbe5e66b2be54
BLAKE2b-256 5bb553f9c0139fa90a1e0d06ed1985c89bf776bc0b12852aa7d76a0acd2c5ee1

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