Crates.io | zest-cli |
lib.rs | zest-cli |
version | 0.1.2 |
source | src |
created_at | 2021-09-08 10:26:07.729414 |
updated_at | 2022-08-31 15:02:10.164722 |
description | A personal note management tool |
homepage | https://github.com/vigoux/zest |
repository | https://github.com/vigoux/zest |
max_upload_size | |
id | 448405 |
size | 66,586 |
A personal note management CLI
tool.
zest
: cargo install zest-cli
# The path is ~/.config/zest/config.yml
# List the paths you use here
paths:
- ~/notes/
---
# Metadata is in yaml
# The tags you can to apply on this file
tags:
- foo
- bar
---
# Title
It is recommended to add a title to your file
You can link to other notes with normal markdown links: [mylink](myfile)
zest init
zest search
zest
queries are just tantivy
queries, with the following fields
that you can query:
file
: the file containing the note (any part of the full path)tag
: the tags use for this noteref
: outgoing refs of the notetitle
: what is in the titlecontent
: what is in the contentBy default, search terms apply to the title
and content
fields.
Notes containing foo
:
zest search foo
Notes tagged foo
:
zest search tag:foo
Notes refering to foo
:
zest search ref:foo
Notes refering to foo
and tagged bar
:
zest search ref:foo AND tag:bar
zest
is a note management tool (or a knowledge base manager) that
allows you to create, search and display notes in your knowledge
database.
It is meant to be used in a Zettelkasten-like workflow, where each note is it's own file (the full path is the note's id). You can then tag this file using metadata in your file, and add links to other notes.
The CLI
design is inspired by notmuch
a mail indexer, which does
only mail indexing and querying, just like zest.
Designed with scripting in mind, it is easy to add support for zest to your editor.
In summary, here are the design goals:
zest
relies on tantivy
to perform the indexing and searching part.
Because of that, the indexing will greatly vary depending on the speed
of your SSD/HDD.
On my end, with a terribly slow HDD, indexing my whole database (not really big yet), takes the monstruous time of 10s.
Querying is generally really fast, I can gather all the references to the current file in something like 0.1s.
tantivy
queries, would like to have nested queries