All Projects → adamsky → cns

adamsky / cns

Licence: MIT license
Search through rust crates without leaving the terminal

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to cns

crates-io-cn
Source code of crates-io.cn, also tools sets for sync crates.io
Stars: ✭ 20 (-13.04%)
Mutual labels:  crates, crates-io
colorful
Make your terminal output colorful.
Stars: ✭ 43 (+86.96%)
Mutual labels:  crates, crates-io
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
hledger-iadd
A terminal UI as drop-in replacement for hledger add.
Stars: ✭ 61 (+165.22%)
Mutual labels:  tui
Siggo
a TUI for signal messenger, written in Go
Stars: ✭ 239 (+939.13%)
Mutual labels:  tui
Bb
simple process viewer in rust https://crates.io/crates/bb
Stars: ✭ 212 (+821.74%)
Mutual labels:  tui
Fui
Add CLI & form interface to your program. Docs: https://docs.rs/fui
Stars: ✭ 244 (+960.87%)
Mutual labels:  tui
Qrc
QR code generator for text terminals (ASCII art, Sixel)
Stars: ✭ 200 (+769.57%)
Mutual labels:  tui
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
Vty
A high-level ncurses alternative written in Haskell
Stars: ✭ 237 (+930.43%)
Mutual labels:  tui
Moe
A command line based editor inspired by vi/vim. Written in Nim.
Stars: ✭ 252 (+995.65%)
Mutual labels:  tui
Tmux Fzf Url
🚀 Quickly open urls on your terminal screen!
Stars: ✭ 227 (+886.96%)
Mutual labels:  tui
Geek Life
The Todo List / Task Manager for Geeks in command line
Stars: ✭ 212 (+821.74%)
Mutual labels:  tui
Meli
🐝 experimental terminal mail client, mirror of https://git.meli.delivery/meli/meli.git https://crates.io/crates/meli
Stars: ✭ 242 (+952.17%)
Mutual labels:  tui
Ox
An independent Rust text editor that runs in your terminal!
Stars: ✭ 2,634 (+11352.17%)
Mutual labels:  tui
termscp
🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3
Stars: ✭ 707 (+2973.91%)
Mutual labels:  tui
Dijo
scriptable, curses-based, digital habit tracker
Stars: ✭ 2,413 (+10391.3%)
Mutual labels:  tui
S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+12182.61%)
Mutual labels:  tui
Asciimatics
A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Stars: ✭ 2,869 (+12373.91%)
Mutual labels:  tui
todo list rust
Simple Ncurses Todo List ☑
Stars: ✭ 19 (-17.39%)
Mutual labels:  tui

crate name search

Search through Rust crates without leaving the terminal.

Get a quick summary, compare different crates, quickly open crate repositories and documentation in the browser, copy Cargo.toml dependency lines to clipboard, and more.

cns supports composite queries of categories, keywords, strings, and sorts:

# get sudoku games with most recent downloads
cat=games sudoku sort=rdl
# see what's new in the web development space
key=web sort=new
# look for actively maintained socket programming libraries
socket sort=update
# see the most popular crate search apps
key=crates search sort=dl 

How to install cns

cargo install cns

or

git clone https://github.com/adamsky/cns
cd ./cns
cargo run --release

or, if you're on Arch Linux:

# Use an AUR helper, e.g.:
paru -S cns

# or compile with makepkg:
git clone https://aur.archlinux.org/cns.git
cd ./cns
makepkg -si

How to use cns

                  __
.----.----.---.-.|  |_.-----.
|  __|   _|  _  ||   _|  -__|
|____|__| |___._||____|_____|
.-----.---.-.--------.-----.
|     |  _  |        |  -__|
|__|__|___._|__|__|__|_____|
.-----.-----.---.-.----.----.|  |--.
|__ --|  -__|  _  |   _|  __||     |
|_____|_____|___._|__| |____||__|__|

<C-h> toggle this help window

# search mode
<C-s> clear input
<Enter> perform the search and focus the results block
<Escape> | <C-r> focus the results block
<C-q> | <C-c> quit

# results mode
<Escape> | <C-s> focus the search bar
<k>, <j>, <up>, <down> move up and down the results
<h>, <l>, <left>, <right> move left and right between result tabs
<C-u>, <C-d> scroll up and down the readme view
<C-g> go to documentation (browser)
<C-r> go to repository (browser)
<Enter> go to crate (browser)
<c> copy Cargo.toml dependency line to clipboard
<x> copy clone+compile+run one-liner to clipboard
<C-q> | <C-c> | <q> quit

Disable registry summary

Pass --no-summary argument when running cns if you don't want to load a registry summary on application startup.

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].