10 releases
0.5.1 | Apr 18, 2024 |
---|---|
0.5.0 | Sep 24, 2022 |
0.4.1 | Sep 23, 2022 |
0.4.0 | Feb 16, 2022 |
0.1.1 | Apr 21, 2021 |
#1326 in Command line utilities
31KB
742 lines
notebook_rs
CLI tool for maintaining plaintext notebooks, formatted as Markdown by default.
Still very much a work in progress.
On first use, it will create a config file in the OS specific config directory (e.g. ~/.config/notebook_rs/
). The default notebook location is $HOME/Documents
.
Performs a fairly simple sentiment analysis on the text by default, using a Rust implementation of the VADER tool.
Commands
nb -c
Path to config filenb -h
Summary of commands availablenb -n
Opens $EDITOR for inputting textnb -n <text>
Parse entry text from the commandlinenb -l <n>
List n most recent entries, use with-v
for extra outputnb -r <n>
Display entry nnb -e <n>
Edit entry n in system editornb -d <n>
Delete entry nnb -s "<pattern>"
Search for pattern in entries, pattern should be enclosed in quotations
Config settings
file
Path to the notebookdt_format
Time formatting syntaxsentiment
Unimplementedencryption
Unimplemented
Planned features
- Search functionality
- Full-text search with regex
- Search by date range
- Parsing tags from text
- File encryption
- Editing entries
- Deleting entries
- Alternative TUI
Dependencies
~5–17MB
~164K SLoC