diff --git a/COMMANDS.md b/COMMANDS.md index aa4994c3..ec26b444 100644 --- a/COMMANDS.md +++ b/COMMANDS.md @@ -45,7 +45,7 @@ dnote view golang 12 _alias: e_ -Edit a note +Edit a note. ```bash # Launch a text editor to edit a note with the given index. @@ -59,7 +59,7 @@ dnote edit linux 1 -c "New Content" _alias: d_ -Remove either a note or a book +Remove either a note or a book. ```bash # Remove the note with `index` in the specified book. @@ -73,7 +73,7 @@ dnote remove -b JS _alias: f_ -Find notes by keywords +Find notes by keywords. ```bash # find notes by a keyword @@ -92,16 +92,16 @@ _Dnote Pro only_ _alias: s_ -Sync notes with Dnote cloud +Sync notes with Dnote server. All your data is encrypted before being sent to the server. ## dnote login _Dnote Pro only_ -Start a login prompt +Start a login prompt. ## dnote logout _Dnote Pro only_ -Log out of Dnote +Log out of Dnote. diff --git a/README.md b/README.md index af1d3383..04b2805f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Dnote CLI -A command line interface for spontaneously capturing the things you learn while coding. +A command line interface for a simple, encrypted notebook that respects your privacy. ![Dnote](assets/dnote.gif) @@ -28,11 +28,20 @@ Otherwise, you can download the binary for your platform manually from the [rele ## Overview -Write technical notes without getting distracted from programming. The reasons are: +Write down notes in total privacy, without leaving the command line. +Try keeping technical notes using Dnote. The reasons are: + +- You are not distracted from programming while using Dnote. - We forget exponentially unless we write down what we learn and come back. - Ideas cannot be grokked unless we can put them down in clear words. +Sync your notes to Dnote server and receive automated email digests for spaced repetition. + +## Security + +All your data is encrypted using AES256 when you sync with the server. Dnote has zero knowledge about the contents and cannot decrypt your data. + ## Commands Please refer to [commands](/COMMANDS.md). @@ -40,7 +49,7 @@ Please refer to [commands](/COMMANDS.md). ## Links - [Dnote](https://dnote.io) -- [Dnote Cloud](https://dnote.io/pricing) -- [Browser Extension](https://github.com/dnote/browser-extension) +- [Dnote Pro](https://dnote.io/pricing) +- [Browser extension](https://github.com/dnote/browser-extension) [![Build Status](https://travis-ci.org/dnote/cli.svg?branch=master)](https://travis-ci.org/dnote/cli) diff --git a/utils/utils.go b/utils/utils.go index f33da5fd..cff27206 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -52,7 +52,7 @@ func PromptInput(message string, dest *string) error { func PromptPassword(message string, dest *string) error { log.Askf(message, true) - password, err := terminal.ReadPassword(syscall.Stdin) + password, err := terminal.ReadPassword(int(syscall.Stdin)) if err != nil { return errors.Wrap(err, "getting user input") }