zettel
is a Zettelkasten file processor.
- GHC
- Cabal / Stack
- Neo4J version 3.X (Version 4 is not supported)
zettel
will attempt to read from HOME/.zettel/zettel-conf
a file which has the
credentials for the Neo4J DB, in the following format:
<user> <pass>
If none the directory nor the file exists, zettel
will create one with default
credentials neo4j neo4j
.
zettel
requires you to have specified a default text editor. To do so please provide one
by exporting VISUAL or EDITOR environment variables:
export EDITOR=vim
By default it will use vi
.
> zettel -h
>
Zettelkasten processor
Usage: zettel (new | list)
Available options:
-h,--help Show this help text
Available commands:
new
list
The new
command will open your default editor so you can write your zettelkasten. On
save the file will be parsed and insert it on the DB.
The list
command requires a --size=
flag and lists all your zettels.
Your Zettels will be stored in ~/.zettel/
.
Zettel Metadata follows the YAML syntax as you can see in the ExampleZettel.md
.
Supported fields:
title
: specifies the zettel titleauthors
: specifies the zettel authorstags
: specifies the zettel tagsconnections
: specifies the connections to other zettels in the following format example:[ { "id": 2, "reason": "text" } ]
Please note that this is still a beta version. Please report any issue via Github Issue.
PRs are welcome!