OpenTUI-based memo app inspired by mattn/memo.
- Terminal UI for browsing and opening memos
- Create, list, edit, delete, grep, and cat commands
- Markdown storage with lightweight frontmatter (title, date, tags)
- Uses your preferred editor via environment variables
npm install -g openmemoOr with other package managers:
pnpm add -g openmemo
yarn global add openmemoLaunch the TUI:
openmemoCreate a memo:
openmemo newOther commands:
openmemo list
openmemo edit <query>
openmemo delete <query>
openmemo grep <pattern>
openmemo cat <query>
openmemo helpNotes:
<query>matches the memo id or title (partial match). If multiple match, you will be prompted to select.grepuses a case-insensitive JavaScript regex when the pattern is valid; otherwise it falls back to a case-insensitive substring search.- TUI: press
qorEscto quit.
Environment variables:
OPEN_MEMO_DIR: override memo storage directoryOPEN_MEMO_EDITOR: preferred editor commandVISUAL/EDITOR: fallbacks ifOPEN_MEMO_EDITORis not set
Editor resolution order:
OPEN_MEMO_EDITORVISUALEDITORvi
Default directory:
~/.openmemo/memos
File naming format:
YYYY-MM-DD-<slug>.md
Template content:
---
title: Your Title
date: 2026-01-30 12:34
tags: tag1, tag2
---
# Your Titlegit clone https://github.com/arkjun/openmemo
cd openmemo
pnpm install
pnpm dev # Run from source
pnpm build # Build TypeScript
pnpm build:binaries # Build platform binaries (requires Bun)
pnpm test # Run tests (watch mode)
pnpm test:run # Run tests once
pnpm test:coverage # Coverage report