一个分发和加密的命令行日志,可方便地记录笔记:notebook:
gojot is a modern command-line journal that is distributed and encrypted by default
OK. But, really, gojot is just a fancy wrapper for git, gpg and vim that allows you to make time-stamped entries to encrypted documents while keeping the entire document synchronized in it a git repository.
First make sure you have gpg, git, and vim installed:
$ sudo apt-get install gpg git vim
Then you can install gojot using go get:
$ go get github.com/schollz/gojot
For the first time setup, just use:
gojot
If you do not have any GPG keys you should first generate one with:
gpg --gen-key
MIT
Version 4 (current version) (5464ef97)
gpg for encryptiongit for syncingVersion 3 (5faaeb3)
gpg for encryptiongit for syncingVersion 2 (f881b416)
gpg for encryptiongit for syncingVersion 1 (03b4419a)
gpg for encryptionrsync for syncingVersion 0 (d6b66c3c)
gpg for encryptionrsync for syncing暂无开放 Issues,或尚未同步最近议题。