halig
(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
agebinary needed - Almost all
ageadvantages, 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
Nix
nix profile install git+https://git.roboces.dev/catalin/halig
Or, locally, for development:
nix develop
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
halig git commit
halig git push
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.7.0.tar.gz
(89.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
halig-0.7.0-py3-none-any.whl
(28.8 kB
view details)
File details
Details for the file halig-0.7.0.tar.gz.
File metadata
- Download URL: halig-0.7.0.tar.gz
- Upload date:
- Size: 89.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
216879c580660c3e246f48288a5b9bcf520b49ca602ff515ca58d51cf6303bfe
|
|
| MD5 |
6b94ffe73f5cfb50463dfce3f7e2dd41
|
|
| BLAKE2b-256 |
07ff5e047deb927f7d05d3ef3a2ee9ef9df24d6744552d0f69e99cdcd5c1d3bd
|
File details
Details for the file halig-0.7.0-py3-none-any.whl.
File metadata
- Download URL: halig-0.7.0-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf78a52982fedcf97eed98ab670c8ec29940aeb4787fdc8a85d57611fc2fca0d
|
|
| MD5 |
dc8be5e022816443eb03d75a40ba72a6
|
|
| BLAKE2b-256 |
1094c190bea158f2b5912c73bc4640905924cbef79568a2d2076c29db6521041
|