Crates.io | term_keep |
lib.rs | term_keep |
version | 1.2.1 |
source | src |
created_at | 2022-11-23 04:54:22.982481 |
updated_at | 2024-08-04 06:46:54.245301 |
description | Terminal-based Google Keep clone. Can be used as a note taking / To-Do list app on a server. |
homepage | https://github.com/ChrisVilches/Term-Keep |
repository | https://github.com/ChrisVilches/Term-Keep |
max_upload_size | |
id | 721363 |
size | 338,823 |
Terminal-based Google Keep clone. Can be used as a note taking / To-Do list app on a server.
Install using cargo:
cargo install term_keep
Or clone the repository, and install manually. Add the executable to your PATH
afterwards.
cargo build --release
Specify where you want to store the database by defining the TERM_KEEP_DB_PATH
environment variable.
Example using the ~/.bashrc
file:
export TERM_KEEP_DB_PATH=/home/my_user/.term-keep/data.db
Execute the following command to see the list of subcommands:
term_keep -h
Optionally, you can create an alias to make its access quicker and more convenient:
# ~/.bashrc
alias tk=term_keep
Several note taking or to-do apps exist nowadays, but because most of them use a graphical interface, not many are compatible with a cloud server.
This app can be used to store memo notes or tasks related to your server administration work, such as projects to complete, tasks related to data that needs to be backed up, or configuration files that are incomplete and need to be worked on.
For a comprehensive list of features, execute the help command:
term_keep -h
Two types of notes are supported:
When creating or editing a note, Term Keep simply opens the default editor. This means you can use Vim, Nano, Neovim, or whatever you like.
The editor can be configured through the EDITOR
environment variable.
Notes can be formatted using markdown, which is powered by the termimad library.
You can also create checklists inside notes, similar to how task lists are handled in Github issues.
Today's tasks
- [] Clean my room
- [] Do 3 hours of work
- [x] Shower
This will be displayed with a simple format and coloring when showing the note's content.
You can create notes from a template that you've previously created.
Explore template related commands:
term_keep -h | grep template
# Help for individual commands
term_keep templates -h
term_keep upsert-template -h
term_keep remove-template -h
# etc
Variable Name | Description | Example |
---|---|---|
EDITOR |
Editor to use | vim |
TERM_KEEP_DB_PATH |
Path to store the database file | ~/.term-keep/test.db |
TERM_KEEP_SUMMARY_MAX_LENGTH |
Amount of characters displayed before truncating a note's summary (when executing the main command term_keep ) |
100 |
TERM_KEEP_HIDE_LOGO |
Hide logo. Logo is shown by default. | 0 (false) or 1 (true). |
cargo fmt
cargo clippy
cargo test