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_path:
  - ~/.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.2.1.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

halig-0.2.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for halig-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a5596a7d8744b18731d1bb79ea41c73f6e5e166d06537916403aee1b1750bf97
MD5 93554bdac9c9b6e68fcd52685e0eda08
BLAKE2b-256 a294308236fc03d1e212d62e17e438be1d99ed1282a541f6afaea087530b4df0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for halig-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9f493ea3f7703e8e793a72181cf67f260674f3e07faa191b25904939175fd20
MD5 8de037a021646bad70b07342c63f1a9d
BLAKE2b-256 cc3348b968d5cb373bf8241d9f5cb1ab1958b3b3c6057df29519e5bc01e94efb

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