Skip to content

m-danya/dockerized-zk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerized-zk

Dockerized minimalistic Zettelkasten system.

I took these bash scripts zn and zs and wrapped them into Docker image to freeze all the configs and to extend the pipeline with automatic notes syncronization with git.

How to install

Prerequisites: Docker

  1. Set environmental variable ZK_NOTES to a directory on host machine with markdown files, which must be a git repository, in which you can successfully run git push. For example:
echo 'export ZK_NOTES=$HOME/zk' >> ~/.bashrc
mkdir ~/zk
cd ~/zk
git init
# then create some .md file, commit it and push somewhere (!)

This directory will contain all your Zettelkasten data and will be bind mounted to the container every time you type zk to enter your Zettelkasten.

  1. Clone the repo, build docker image with ./build.sh, run cp zk ~/.local/bin to "install" the script.

Now you can use zk to enter your Zettelkasten.

How to use

TBD. Run zk to enter the system, then use zn and zs, see these instructions.

About

Dockerized minimalistic Zettelkasten system

Resources

Stars

Watchers

Forks