mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-27 23:13:07 +01:00
Add README
This commit is contained in:
parent
7c7ea7c37e
commit
52667953af
50
README.md
Normal file
50
README.md
Normal file
@ -0,0 +1,50 @@
|
||||
# ctpv
|
||||
|
||||
Terminal previewer
|
||||
|
||||
![showcase](doc/showcase.gif)
|
||||
|
||||
----
|
||||
|
||||
ctpv is a terminal previewer utility that supports a variety of built-in previews
|
||||
(including image previews with [Überzug](https://github.com/seebye/ueberzug)).
|
||||
|
||||
ctpv is a remake of awesome program named [stpv](https://github.com/Naheel-Azawy/stpv)
|
||||
but it's written in C.
|
||||
stpv worked perfectly for me, except it was kinda sluggish because
|
||||
it was written in POSIX shell.
|
||||
ctpv is an attempt to make a faster version stpv and add some new features.
|
||||
|
||||
Originally it was made for [lf](https://github.com/gokcehan/lf)
|
||||
but I assume it should not be hard to integrate ctpv into other
|
||||
programs (if they support external programs for providing previews like lf, of course).
|
||||
|
||||
## Installation
|
||||
|
||||
### Manual
|
||||
|
||||
```sh
|
||||
git clone https://github.com/NikitaIvanovV/ctpv
|
||||
cd ctpv
|
||||
sudo make install
|
||||
```
|
||||
|
||||
Uninstall with `sudo make uninstall`
|
||||
|
||||
## Integration
|
||||
|
||||
### lf file manager
|
||||
|
||||
Add these lines to your lf config
|
||||
(usually located at `~/.config/lf/lfrc`):
|
||||
|
||||
```
|
||||
set previewer ctpv
|
||||
set cleaner ctpvclear
|
||||
&ctpv -s $id
|
||||
cmd on-quit $ctpv -e $id
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
Full documentation for the program can be found here: https://nikitaivanovv.github.io/ctpv/
|
BIN
doc/showcase.gif
Normal file
BIN
doc/showcase.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 MiB |
Loading…
Reference in New Issue
Block a user