项目作者: TxGVNN

项目描述 :
Xnote GiT - Notes for command line
高级语言: Shell
项目地址: git://github.com/TxGVNN/gxt.git
创建时间: 2016-07-11T15:49:42Z
项目社区:https://github.com/TxGVNN/gxt

开源协议:GNU General Public License v3.0

下载


Xnote GiT GPL-3.0 Travis-CI

What is this?

Gxt “Xnote GiT” is Notes manager.

Inspiration from the written notes is usually my days with git. It’s very convenient for the command line lover.

You can use: new, find, view, share, log,… and many functions from the power of git.

The version 2.0 now support encrypted note with GNU Privacy Guard



How to install?

  1. sudo make

Default, the notes will store on ~/.gxt. But you can update by export GXTDIR=/new-path and put .bashrc if you want set it is default.

How to use?

  • Setup gpg

    1. gxt gpg EMAIl|PUBKEYID
  • Add new notes or update notes

    1. gxt new NOTE [-g|--gpg]
    2. gxt vi NOTE [-g|--gpg] # vi these is not Vim, just default editor
    3. #or
    4. gxt em NOTE [-g|--gpg] # For emacs guys
  • Add new notes from file

    1. gxt add FILE [NOTE_NAME]
  • View/cat/less/more notes

    1. gxt cat NOTE [-g|--gpg]
    2. gxt less NOTE [-g|--gpg]
    3. gxt more NOTE [-g|--gpg]
  • List notes

    1. gxt list [CATEGORY]
  • Search notes

    1. # find like as name or content consist pattern
    2. gxt find [-c category] [-m|--match] NAME|PATTERN
  • Export note to file

    1. gxt export NOTE [PATH] [-g|--gpg]
  • Share notes via transfer.sh

    1. gxt share NOTE [-g|--gpg] [--termbin]
  • Display notes stat

    1. gxt stat NOTE
  • Rename notes

    1. gxt mv OLD_NOTE NEW_NOTE
  • Delete notes

    1. gxt rm NOTE...
  • Get log notes

    1. # all/special notes
    2. gxt log [NOTE]
  • Using git

    1. gxt git COMMAND

Changelog

  • master (v2.0)
    ```
  • Can use GXTDIR var to set default folder
  • Support encrypted node by using GNUPG
  • Improved processing opts
  • Merge _new to edit function
  • Share via transfer.sh, termbin.com
    ```

  • v1.0
    ```

  • new
  • update
  • view
  • list
  • log
  • move
  • remove
  • search
  • stat
    ```