Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/feluxe/cnk
A command line tool which splits text into readable chunks that fit on one screen.
https://github.com/feluxe/cnk
chunk command-line-tool split terminal text unix
Last synced: 2 months ago
JSON representation
A command line tool which splits text into readable chunks that fit on one screen.
- Host: GitHub
- URL: https://github.com/feluxe/cnk
- Owner: feluxe
- Created: 2018-11-03T22:13:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-03T17:08:51.000Z (about 4 years ago)
- Last Synced: 2024-10-24T02:31:19.248Z (3 months ago)
- Topics: chunk, command-line-tool, split, terminal, text, unix
- Language: Rust
- Homepage:
- Size: 3.99 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cnk
### Description
"cnk" short for "chunk" is an Unix tool that allows splitting text (from stdin) into readable chunks that fit on one screen. You can use the ENTER key to go to the next chunk.
### Install
You need to have Rust/Cargo installed.
cd /tmp
git clone https://github.com/feluxe/cnk.git
cd cnk
cargo build --release
cp target/release/cnk ~/bin/
### Test
git clone https://github.com/feluxe/cnk.git
cd cnk
cargo build
python tests/gen.py 500 | ./target/debug/cnk