All Projects → ncgrep → ncgrep

ncgrep / ncgrep

Licence: GPL-2.0 license
NCGREP, which is based on ncurses library to provide user interface, is a grep tool for searching text on target directory.

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ncgrep

Pspg
Unix pager (with very rich functionality) designed for work with tables. Designed for PostgreSQL, but MySQL is supported too. Works well with pgcli too. Can be used as CSV or TSV viewer too. It supports searching, selecting rows, columns, or block and export selected area to clipboard.
Stars: ✭ 1,749 (+7504.35%)
Mutual labels:  tui, ncurses
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+61186.96%)
Mutual labels:  tui, ncurses
Neix
neix - a RSS/Atom feed reader for your terminal.
Stars: ✭ 128 (+456.52%)
Mutual labels:  tui, ncurses
csol
A small collection of solitaire/patience games (Klondike, FreeCell, Spider, Yukon, etc.) to play in the terminal
Stars: ✭ 25 (+8.7%)
Mutual labels:  tui, ncurses
NCURSES-Programming-HOWTO-examples
CMake examples for code in http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/index.html
Stars: ✭ 114 (+395.65%)
Mutual labels:  tui, ncurses
Tig
Text-mode interface for git
Stars: ✭ 10,497 (+45539.13%)
Mutual labels:  tui, ncurses
Mandown
man-page inspired Markdown viewer
Stars: ✭ 173 (+652.17%)
Mutual labels:  tui, ncurses
Pacmixer
an alsamixer alike for PulseAudio.
Stars: ✭ 78 (+239.13%)
Mutual labels:  tui, ncurses
Fui
Add CLI & form interface to your program. Docs: https://docs.rs/fui
Stars: ✭ 244 (+960.87%)
Mutual labels:  tui, ncurses
Cuishark
A protocol analyzer like a wireshark on CUI. cuishark is using libwireshark to analyze packets. https://cuishark.slankdev.net
Stars: ✭ 208 (+804.35%)
Mutual labels:  tui, ncurses
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (+326.09%)
Mutual labels:  tui, ncurses
bookwyrm
ncurses utility for downloading publicly available ebooks, plugin support
Stars: ✭ 31 (+34.78%)
Mutual labels:  tui, ncurses
Pulseaudio Mixer Cli
Interactive python/ncurses UI to control volume of pulse streams
Stars: ✭ 86 (+273.91%)
Mutual labels:  tui, ncurses
cxxcurses
Header only ncurses wrapper
Stars: ✭ 24 (+4.35%)
Mutual labels:  tui, ncurses
Turbo
An experimental text editor based on Scintilla and Turbo Vision.
Stars: ✭ 78 (+239.13%)
Mutual labels:  tui, ncurses
Tuicss
Text-based user interface CSS library
Stars: ✭ 167 (+626.09%)
Mutual labels:  tui, ncurses
Tvision
A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Stars: ✭ 612 (+2560.87%)
Mutual labels:  tui, ncurses
Flow
A realtime log analyzer
Stars: ✭ 69 (+200%)
Mutual labels:  tui, ncurses
Cursive
A Text User Interface library for the Rust programming language
Stars: ✭ 2,613 (+11260.87%)
Mutual labels:  tui, ncurses
todo list rust
Simple Ncurses Todo List ☑
Stars: ✭ 19 (-17.39%)
Mutual labels:  tui, ncurses

Ncgrep

NCGREP, which is based on ncurses library to provide user interface, is a grep tool for searching text on target directory.

Join the chat at https://gitter.im/ncgrep/Lobby

Example

ncgrep demo

Features

  • Look for a pattern(just keyword for now) in your source code directory and display results in ncurses.
  • Browse results with ease.
  • Open a result with your favorite editor(just vim for now) at the right line.
  • Search files which is ended in .php, .h, .c, .cpp suffixes.

Usages

ncgrep "grep" . 3
  • . character stands for the current dirname
  • 3 It represents the level of search directory grouping, the three level directory as a group for text search

After entering the interactive interface, the commands are illustrated as followed:

  • KEY_UP up
  • KEY_DOWN down
  • KEY_ENTER open file in vim
  • q quit
  • k up
  • j down
  • CTRL-u half page up
  • CTRL-d half page down
  • o open file in vim
  • CTRL-e return to the group interface

Installation

Firstly, you should install the dependency library:

# MAC
brew install ncurses
# CentOS
sudo yum install ncurses ncurses-devel
# Ubutun
sudo apt-get install libncurses5 libncurses5-dev

Then, compile & link:

# Just tested on Mac, CentOS and Ubutun
make

Contact

E-Mail to [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].