zk/README.md
2021-04-04 17:06:36 +02:00

2.6 KiB
Raw Blame History

zk

A plain text note-taking assistant

Screencast

Looking for a quick usage example? Let's get started.

Description

zk is a command-line tool helping you to maintain a plain text Zettelkasten or personal wiki.

Highlights

See the changelog for the list of upcoming features waiting to be released.

What zk is not

  • A note editor.
  • A tool to serve your notes on the web for this, you may be interested in Neuron or Gollum.

Install

Check out the latest release for pre-built binaries for macOS and Linux (zk was not tested on Windows).

Build from scratch

Make sure you have a working Go installation, then clone the repository:

$ git clone https://github.com/mickael-menu/zk.git
$ cd zk
$ chmod a+x go

On macOS

icu4c is required to build zk, which you can install with Homebrew.

$ brew install icu4c
$ ./go build
$ ./zk -h
Apple Silicon

The build command needs additional environment variables on Apple Silicon:

$ GOARCH=arm64 CGO_CFLAGS="-I/opt/homebrew/opt/icu4c/include" CGO_LDFLAGS="-L/opt/homebrew/opt/icu4c/lib" ./go build

On Linux

libicu-dev is required to build zk, use your favorite package manager to install it.

$ apt-install libicu-dev
$ ./go build
$ ./zk -h
  • Neuron a great tool to publish a Zettelkasten on the web
  • sirupsen's zk a collection of scripts with a similar purpose