|
2 | 2 | #+AUTHOR: yufu |
3 | 3 |
|
4 | 4 | * Why KeePass |
5 | | -- I don't want to pay for password managers anymore. Especially most of them are subscription-based. |
| 5 | +- I don't want to pay for password managers anymore. Especially most of them are subscription-based. I argue that having a password manager is basic human right in 21st century, and it should be free and accessible to everybody. |
6 | 6 | - GNU Pass is good, but it's hard to interact with it outside of terminal. |
7 | 7 |
|
8 | 8 | * Why New CLI |
|
15 | 15 | * Feature |
16 | 16 | - List the entries with user-specified fields =keepass-cli -d <DATABSE> ls -f title username= |
17 | 17 | - Server mode =keepass-cli -d <DATABASE> server --emacs= |
| 18 | +- Emacs integration uses pure =completing-read=, so you can use any completion engine you want. |
18 | 19 |
|
19 | 20 |
|
20 | | -* Restriction |
| 21 | +* Restriction/Warning |
21 | 22 | - It's read only! Please use official CLI to add/remove/edit entries/download icons. |
| 23 | +- It's only used/tested by me now. |
22 | 24 |
|
23 | 25 |
|
24 | 26 | * Note |
25 | 27 | The icon data is saved in the project directory, which is different between operating systems. |
26 | 28 |
|
27 | 29 | For example, on macOS, the directory is =~/Library/Application Support/keepass-cli=. |
28 | 30 |
|
29 | | -The directory path is generate by the following code from [[https://crates.io/crates/directories][directories]] crate. Please refer it to find your path. |
| 31 | +The directory path is generate by the following code from [[https://crates.io/crates/directories][directories]] crate. Please refer to it to find your path. |
30 | 32 | #+begin_src rust |
31 | 33 | ProjectDirs::from("", "", "keepass-cli") |
32 | 34 | #+end_src |
@@ -55,6 +57,8 @@ There are two functions: =keepass= and =keepass-inplace=. |
55 | 57 | =keepass= will switch to a special buffer =keepass:main=. |
56 | 58 | =keepass-inplace= will not. |
57 | 59 |
|
| 60 | +Please refer to the source code to find what you can customize. |
| 61 | + |
58 | 62 | *** Screenshots for Emacs integration |
59 | 63 | **** Interface |
60 | 64 | [[./screenshots/keepass-inplace.png]] |
|
0 commit comments