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/.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.3.2.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

halig-0.3.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: halig-0.3.2.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.6.1 CPython/3.10.6

File hashes

Hashes for halig-0.3.2.tar.gz
Algorithm Hash digest
SHA256 72db3837f193565ccec90a3c3ff2a52efc7094be0a89d5e4812fa49f619b1b58
MD5 9011ef1487410883cf0335d207ea4e7e
BLAKE2b-256 737b010fc3cb5b3964979f6c558f4e19f41606c91b0f42aa57ca13404e96d96c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: halig-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.6.1 CPython/3.10.6

File hashes

Hashes for halig-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f0c0e95d94795d70e4e9c33f458109a3b8207694eefc94eb1689022eb1f6923
MD5 6601eb13ae8e1a57368eb87f90ce4adb
BLAKE2b-256 78ae1573db5abc96685e0704d80383e3771ca61e8536f8a8b41d478085ba1a76

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