TV: Table Viewer for Terminal
12 days ago
- #command-line
- #csv-viewer
- #data-analysis
- tv is a fast, feature-rich CSV/TSV/delimited file viewer for the command line with spreadsheet-like functionality.
- Key features include spreadsheet interface, smart parsing, progressive loading, gzip support, powerful search, advanced filtering, flexible sorting, text wrapping, statistics & plots, vim keybindings, and mouse support.
- Installation options include shell script, macOS (homebrew), Debian/Ubuntu (.deb), CentOS/Fedora (.rpm), Arch Linux (AUR), Snap, Go install, and pre-built binaries for Linux, macOS, and Windows.
- Quick start commands include viewing CSV/TSV files, reading from stdin, specifying custom delimiters, viewing specific columns, and skipping header lines.
- Command line flags allow customization of delimiter, lines to display, skip prefixes/lines, columns to show/hide, freeze mode, strict mode, async loading, and help/version info.
- Vim-inspired keybindings provide intuitive navigation, search, filtering, sorting, column type toggling, text wrapping, statistics viewing, and help access.
- Mouse support includes clicking to select cells, scrolling with the mouse wheel, and interacting with dialogs.
- Progressive loading allows instant viewing of large files while they load, with progress indicators.
- Smart column type detection enables intelligent sorting for strings, numbers, and dates.
- Comprehensive statistics and ASCII plots are available for numeric and categorical columns.
- Powerful search functionality includes plain text and regex pattern matching with highlighting.
- Advanced filtering supports multiple operators (contains, equals, starts with, ends with, regex, numeric comparisons) and multi-column filtering with AND logic.
- Text wrapping can be toggled for long cell content with smart word breaks.
- Handles common bioinformatics file formats with comment/header prefix skipping.
- Pipeline integration allows seamless use with shell commands like ps, git log, and jq.
- Tips and tricks for efficient usage include async loading, search, column selection, text wrapping, sorting, filtering, and statistics.
- Apache License governs the software's use and distribution.