Home

Awesome

Tabiew

Tabiew is a lightweight, terminal-based application to view and query delimiter separated value formatted documents, such as CSV or TSV files.

Image Alt text

Features

Keybindings️

Key CombinationFunctionality
vToggle detailed view
k or Arrow UpMove up in the table or scroll up in detailed view
j or Arrow DownMove down in the table or scroll down in detailed view
h or Arrow LeftMove to the previous item in detailed view
l or Arrow RightMove to the next item in detailed view
Page Up or Ctrl+bMove one page up
Page Down or Ctrl+fMove one page down
Ctrl+uMove up half a page
Ctrl+dMove down half a page
Home or gMove to the first row
End or GMove to the last row
RSelect a random row
qQuit
:Command mode

Commands

CommandExampleDescription
:Q or :query:Q SELECT * FROM dfQuery the data in Structured Query Language(SQL). The table name is the file name without extension
:S or :select:S price, area, bedrooms, parkingQuery current data frame for columns/functions
:F or :filter:F price < 20000 AND bedrooms > 4Filter current data frame, keeping rows were the condition(s) match
:O or :order:O areaSort current data frame by column(s)
:goto:goto 10Move to the specified line index
:goup:goup 10Move a specified number of lines up
:godown:godown 10Move a specified number of lines down
:q or :quit:qReturn to table view in detailed view otherwise quit Tabiew
:tables:tablesShow loaded data frame(s) alongside their path(s)
:reset:resetReset the table to the original data frame
:help:helpShow help menu

Installation

There are various ways to install Tabiew:

Arch Linux

You can install from the official repositories using pacman:

pacman -S tabiew

Debian-based

Download the .deb package from the GitHub releases page and run:

sudo dpkg -i <path_to_package.deb>

RPM-based

Download the .rpm package from the GitHub releases page and run:

sudo rpm -i <path_to_package.rpm>

MacOS

Installing Tabiew using Homebrew:

brew install shshemi/tabiew/tabiew

Windows

Download the .exe file from the GitHub releases page and place it in a directory that is included in the system's PATH environment variable.

Disclaimer: The Windows version may experience performance lag.

Cargo

Installing Tabiew from Crates.io:

cargo install tabiew

Build from Source

Ensure you have the 1.80.0-nightly (or higher) version of Rust installed, then:

git clone https://github.com/shshemi/tabiew.git
cd tabiew
rustup override set nightly
cargo build --release
cp ./target/release/tabiew <system_or_local_bin_path>

Usage

Start Tabiew with tw

tw <path_to_csv(s)>

Options:

To open a TSV file use:

tw <path_to_tsv(s)> --separator $'\t' --no-header

Themes

Monokai (default):

Image Alt text

Argonaut:

Image Alt text

Terminal:

Image Alt text

Contributing

Contributions are welcome! Please fork the repository and submit pull requests with your features and bug fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.