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

Uploaded Source

Built Distribution

halig-0.4.5-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: halig-0.4.5.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.15.2 CPython/3.12.3 Linux/6.8.9-zen1-2-zen

File hashes

Hashes for halig-0.4.5.tar.gz
Algorithm Hash digest
SHA256 f1dbd89f8514ab67923ed06cb61f5f1d51f556a27535a1c74bb1342243cbdab0
MD5 bfd1beac14871d3f04bcf64aeff04d90
BLAKE2b-256 ff1bf8051ccdc3ee8e598c2ae59433f5506ebcd9afa5a3b7f2661e2ab5d14113

See more details on using hashes here.

File details

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

File metadata

  • Download URL: halig-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.15.2 CPython/3.12.3 Linux/6.8.9-zen1-2-zen

File hashes

Hashes for halig-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 07d54454d129c214e79f905a768e905c8cec53947a14646ce4d732ad72e315f2
MD5 aa016ef7c5a1c858813693a290f5902d
BLAKE2b-256 f7ea977f49ebf956e2bb641daa007e25a435f7defd1aaf2af253c003e1de78c2

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