| Crates.io | mmemo |
| lib.rs | mmemo |
| version | 0.1.0 |
| created_at | 2026-01-11 18:58:25.62817+00 |
| updated_at | 2026-01-11 18:58:25.62817+00 |
| description | A simple CLI memo management tool |
| homepage | |
| repository | https://github.com/nagokos/mmemo |
| max_upload_size | |
| id | 2036226 |
| size | 71,104 |
Simple CLI memo management tool.
NAME:
mmemo - Simple CLI memo management tool
USAGE:
mmemo <command> [args]
COMMANDS:
init, i Initialize configuration and create config.toml
new, n <title...> Create a new memo (spaces are allowed)
list, l List all memos
edit, e Select and edit a memo
view, v Select and view a memo
grep, g <pat...> Search memos
delete, d Select and delete a memo
config, c Open config.toml in your editor
GLOBAL OPTIONS:
-h, --help Show help
-v, --version Show version
nix run github:<YOUR_NAME>/<REPO> -- --help
nix run github:<YOUR_NAME>/<REPO> -- list
cargo install mmemo
mmemo --version
Run mmemo init to create config.toml under your XDG config directory.
mmemo init also creates a default template at ~/.config/mmemo/template.txt.# Editor to use for editing memos (optional, default: vim)
editor = "vim"
# Directory to store memos (required)
memo_dir = "~/mmemo"
# Template file for new memos (optional)
# A default template is created by `mmemo init`: ~/.config/mmemo/template.txt
# Supports {{title}} and {{date}} placeholders
memo_template = "~/.config/mmemo/template.txt"
# Selector: builtin or fzf or skim (optional, default: builtin)
selector = "builtin"
# Viewer: builtin or glow (optional, default: builtin)
viewer = "builtin"
# Grep: builtin or ripgrep(rg) (optional, default: builtin)
grep = "builtin"
By default, mmemo init creates ~/.config/mmemo/template.txt and config.toml points to it.
Edit that file to customize the template.
If you set memo_template, mmemo new will start from that template.
Only these placeholders are supported:
{{title}} : memo title{{date}} : creation date (YYYY-MM-DD)Other fields such as tags or categories are not supported.
---
title: {{title}}
date: {{date}}
---
# {{title}}
| Backend | Configuration | Requirement |
|---|---|---|
| builtin | grep = "builtin" | none |
| ripgrep | grep = "ripgrep" | ripgrep (rg) |
Examples (ripgrep backend):
mmemo grep -n todo
mmemo grep -e "-foo" # pattern starts with '-'
| Backend | Configuration | Requirement |
|---|---|---|
| builtin | selector = "builtin" | none |
| fzf | selector = "fzf" | fzf |
| skim | selector = "skim" | sk (skim) |
| Backend | Configuration | Requirement |
|---|---|---|
| builtin | viewer = "builtin" | none |
| glow | viewer = "glow" | glow |
MIT