DEV Community

nasa
nasa

Posted on • Edited on

1 1

I made tool for taking notes fast on the command line.

Hello I'm nasa. I think that you can understand by looking at the title,I made a memo tool.

I usually write notes on the command line. However, I noticed that management of memos is troublesome as it is.
So I decided to create a tool that makes it easy to manage memos.

The source code is here.
https://github.com/k-nasa/rmemo

asciicast

Installation

On macOS

In order to publish to the official of homebrew I have to collect 50 stars.(Give me star)

brew tap k-nasa/homebrew-rmemo
brew install rmemo

From source

cargo install rmemo

Usage example

Create new note

$rmemo new
Title:

If you have set up a template, create a note based on it

$rmemo new -t
Title:

Deletes the note of the file name matching the argument pattern

rmemo delete hoge
hoge
2018-10-15hoge.md
2018-10-12hoge.md
2018-10-08hoge.md
Will delete those entry. Are you sure?
Are you sure?(y/n) :

If you want to write down ideas right now you can use quick command

$rmemo quick idea
$rmemo list
/Users/hoge/.config/rmemo/memos
│  hoge
│  └── hoge.md
│  test
│  └── test.md
├── 2018-10-16indicatif_memo.md
├── hgoehgoe.md
├── 2018-10-12iii.md

Configuration

memos_dir = "/Users/asan/.config/rmemo/memos"  # Directory where note is stored
editor = "nvim"                                # The editor you want to use. I recommend nvim for no particular reason
selector = "fzf"                               # Selector you want to use. Please choose your favorite one
grep_command = "grep"                          # Set your favorite grep
template_file_path = ""                        # Set the template you want to use
enter_time_in_filename = true                  # Set it to false if timestamp is not required for file name

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (2)

Collapse
 
sturzl profile image
Avery

A little bit of a demo or example of how you use it would be really helpful! (Both here and especially in your repository)

Collapse
 
antonrich profile image
Anton

Use asciinema.org/ to make a demo out of a recording of a terminal session.

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay