← All workStar on GitHub203 / 06
Selected work 03
Rflect CLI
A command-line journal with guided prompts, moods, streaks and writing stats. Published on npm.
- Released
- Dec 2024
- Type
- CLI tool
- Stack
- Node / Commander / Inquirer

Why
Not everything has to be a website. I wanted to build something that lives in the terminal.
What it does
- Guided prompts in five categories: growth, gratitude, mindfulness, questions and quotes.
- Tag and mood each entry, then find entries by date, tag, prompt type or mood.
- Streaks, word counts, writing goals and a monthly mood calendar.
- Everything stays on your computer, so it works offline.
What I learned
- Commands people can remember, built with Commander and Inquirer: write, show, prompts, tags, moods, stats and config.
- Storing entries as local files in ~/.rflect, and working out stats from them.
- Testing with Jest, and versioning and publishing a package to npm.