2021-02-27 10:50:18 +00:00
< div align = "center" >
< h1 > zk< / h1 >
< h4 > A plain text note-taking assistant< / h4 >
2021-03-05 20:56:15 +00:00
< img alt = "Screencast" width = "95%" src = "docs/assets/media/screencast.svg" / >
2021-02-28 12:15:19 +00:00
< p > Looking for a quick usage example? < a href = "docs/getting-started.md" > Let's get started< / a > .< / p >
2021-02-27 10:50:18 +00:00
< / div >
2021-02-26 22:18:47 +00:00
2024-01-05 13:38:58 +00:00
## News: We Are In Maintenance Mode
2024-01-05 15:30:20 +00:00
> [!IMPORTANT]
> As of January 2nd, the original brain behind zk, [Mickaël
2024-01-05 13:38:58 +00:00
> Menu](https://github.com/mickael-menu), made the difficult decision to retire
> from zk and the suite of programs supporting it. He put out a [call for
> maintainers](https://github.com/zk-org/zk/discussions/371), which has
> garnerned enough response to enable the project to continue! So zk is
> definitely still here for you.
>
> During this transition phase, we are placing the project into a maintenance
> mode, which means we are going to address existing issues and any teething
> problems with transferring the code bases to the new
> [zk-org](https://github.com/zk-org) organisation, which is where you can now
> find all the related projects. It also gives us new maintainers the space to
> get up to speed with the code base, which will help us address new issues and
> feature requests when they come.
>
> So for now, feel free to lodge new issues, but please withold on feature
> requests until we are out of maintenance mode. This will help keep our issues
> boards concise and pr's easier to manage.
>
> The [call to maintainers](https://github.com/zk-org/zk/discussions/371) is
> still open. Please comment there if you feel commited enough to come onboard!
> PR's, ideas, discussions and conversations are still and always will be
> warmly welcomed, with or without 'maintainer' status ❤️
2021-02-27 10:50:18 +00:00
## Description
2021-02-26 22:18:47 +00:00
`zk` is a command-line tool helping you to maintain a plain text [Zettelkasten ](https://zettelkasten.de/introduction/ ) or [personal wiki ](https://en.wikipedia.org/wiki/Personal_wiki ).
2021-03-14 14:11:59 +00:00
### Highlights
2021-02-26 22:18:47 +00:00
2021-03-14 14:11:59 +00:00
* [Creating notes from templates ](docs/note-creation.md )
* [Advanced search and filtering capabilities ](docs/note-filtering.md ) including [tags ](docs/tags.md ), links and mentions
2021-04-24 12:11:09 +00:00
* [Integration with your favorite editors ](docs/editors-integration.md ):
* [Any LSP-compatible editor ](docs/editors-integration.md )
2021-12-19 20:00:54 +00:00
* [`zk-nvim` ](https://github.com/mickael-menu/zk-nvim ) for Neovim 0.5+
2021-11-14 08:50:13 +00:00
* [`zk-vscode` ](https://github.com/mickael-menu/zk-vscode ) for Visual Studio Code
* (*unmaintained*) [`zk.nvim` ](https://github.com/megalithic/zk.nvim ) for Neovim 0.5+ by [Seth Messer ](https://github.com/megalithic )
2021-04-24 12:11:09 +00:00
* [Interactive browser ](docs/tool-fzf.md ), powered by `fzf`
2021-03-24 20:06:32 +00:00
* [Git-style command aliases ](docs/config-alias.md ) and [named filters ](docs/config-filter.md )
2021-03-14 14:11:59 +00:00
* [Made with automation in mind ](docs/automation.md )
* [Notebook housekeeping ](docs/notebook-housekeeping.md )
* [Future-proof, thanks to Markdown ](docs/future-proof.md )
2021-03-18 18:39:06 +00:00
* Supports most Markdown syntax flavors
* Links: regular Markdown links, `[[Wikilinks]]` and Neuron's `[[Folgezettel links]]#` .
* Tags: `#hashtags` , `:colon:separated:tags:` , Bear's `#multi-word tags#` .
* [YAML frontmatter ](docs/note-frontmatter.md )
2021-02-26 22:18:47 +00:00
2021-03-14 14:11:59 +00:00
[See the changelog ](CHANGELOG.md ) for the list of upcoming features waiting to be released.
2021-02-26 22:18:47 +00:00
2021-03-14 14:11:59 +00:00
### What `zk` is not
2021-02-27 10:50:18 +00:00
2021-03-14 14:11:59 +00:00
* A note editor.
* A tool to serve your notes on the web – for this, you may be interested in [Neuron ](docs/neuron.md ) or [Gollum ](https://github.com/gollum/gollum ).
2021-02-27 10:50:18 +00:00
## Install
2021-04-04 14:31:31 +00:00
[Check out the latest release ](https://github.com/mickael-menu/zk/releases ) for pre-built binaries for macOS and Linux (`zk` was not tested on Windows).
2021-02-27 10:50:18 +00:00
2021-12-19 20:00:54 +00:00
### Homebrew
```sh
2022-01-13 19:59:14 +00:00
brew install zk
2022-01-05 17:44:32 +00:00
```
2022-01-13 19:59:14 +00:00
Or, if you want to the latest changes:
2022-01-05 17:44:32 +00:00
```sh
2022-01-13 19:59:14 +00:00
brew install --HEAD zk
2021-12-19 20:00:54 +00:00
```
2022-04-28 15:06:00 +00:00
### Nix
```sh
# Run zk from Nix store without installing it:
nix run nixpkgs#zk
# Or, to install it permanently:
nix-env -iA zk
```
2022-01-04 08:43:32 +00:00
### Arch Linux
2024-01-04 14:52:29 +00:00
You can install [the zk package ](https://archlinux.org/packages/extra/x86_64/zk/ ) from the official repos.
2022-01-04 08:43:32 +00:00
```sh
sudo pacman -S zk
```
2021-02-27 10:50:18 +00:00
### Build from scratch
2022-05-29 09:55:55 +00:00
Make sure you have a working [Go 1.18+ installation ](https://golang.org/ ), then clone the repository:
2021-02-27 10:50:18 +00:00
```sh
$ git clone https://github.com/mickael-menu/zk.git
$ cd zk
2021-04-04 14:31:31 +00:00
```
#### On macOS
```
2021-06-26 18:19:21 +00:00
$ make
2021-04-04 14:31:31 +00:00
$ ./zk -h
```
#### On Linux
```
2021-06-26 18:19:21 +00:00
$ make
2021-04-04 14:31:31 +00:00
$ ./zk -h
2021-02-27 10:50:18 +00:00
```
2021-02-26 22:18:47 +00:00
2021-03-14 14:11:59 +00:00
## Related projects
* [Neuron ](https://github.com/srid/neuron ) – a great tool to publish a Zettelkasten on the web
2023-01-08 09:58:16 +00:00
* [Emanote ](https://emanote.srid.ca/ ) – an improved successor to Neuron
2021-03-14 14:11:59 +00:00
* [sirupsen's zk ](https://github.com/sirupsen/zk ) – a collection of scripts with a similar purpose
2023-01-08 09:58:16 +00:00
* [zk-spaced ](https://github.com/matze/zk-spaced ) – spaced repetition plugin for zk