ctpv is a file previewer utility for a terminal. It supports previews for source code, archives, PDF files, images, videos, etc.

WWW: https://github.com/NikitaIvanovV/ctpv
