Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaoxinghu/noteman
https://github.com/xiaoxinghu/noteman
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/xiaoxinghu/noteman
- Owner: xiaoxinghu
- Created: 2014-10-31T03:11:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-02T02:54:40.000Z (about 10 years ago)
- Last Synced: 2024-11-11T09:06:29.274Z (2 months ago)
- Language: Ruby
- Size: 285 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Noteman
===You advanced note manager.
Still in development. More features are coming.
## Contents
- [What and why](#what-and-why)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)## What and why
`noteman` is a convenient CLI for managing your plain text notes. It can search by content, tags, keywords and whatever weird stuff you may think of by extending it. There are plenty of great GUI tools to do this. E.g. [nvAlt](http://brettterpstra.com/projects/nvalt/), [Ulysses](http://www.ulyssesapp.com). The motivation behind this project is to simplify the note management process into a couple of simple command lines, and at the same time, make it possible to be crafted into a power tool if you wanted by the extensiblility it provides.
## Installation
Installing `noteman` is straightforward.
```bash
gem install noteman
```## Configuration
The first time you run `noteman` by invoking the command `note` will generate the config file with default values. Which looks like this.
``` yaml
---
notes_in: "~/notes"
view_with: Marked 2
capture_to: capture.md
ends_with: md
home: "~/.noteman"
```The config file is stored in "~/.notemanrc".
## Usage
You can always invoke `note help` to see a list of commands. But here I will describe the basic functions that current version provides.
### Capture notes
Capturing notes is as simple as:
```bash
note new
```This command will open your default text editor (set in environment variable). Jot down your note, save and quit. The note will be appended onto file defined in the config `capture_to`.
You also can quickly jot down a one line note without opening a text editor. E.g.
```bash
note new buy milk
```If you want to save an URL link with the text. Use `-l` or `--link` option.
```bash
note new watch this video -l http://www.youtube.com
```This will create a markdown style link.
To view what you have captured, use this command to open the inbox.
```bash
note inbox
```This command will open your `capture.md` file with the app configured in the config file. By default it is [Marked 2](http://marked2app.com/).
### Find your notes
Searching for notes is quick and fun.
```bash
note find
```This command will bring up a search bar, and a result window (don't worry, it's still CLI). Just put down your keywords, there will be a list of results displayed instantly. Navigate through them with arrow keys(`up` and `down`). Select one with `Enter` will open the file. Or press `Esc` to quit.
## Get started with the code
```bash
bundle install
```