Television logo

Television alexpasmantier

Use this command to install Television:
winget install --id=alexpasmantier.television -e

A cross-platform, fast and extensible general purpose fuzzy finder TUI.

Television is a cross-platform, fast, and extensible general-purpose fuzzy finder designed to help users quickly search through various data sources such as files, git repositories, environment variables, and more. Built with a terminal user interface (TUI), it provides seamless integration with shells and supports asynchronous operations for optimal performance.

Key Features:

  • High-speed, responsive UI leveraging asynchronous I/O and multithreading.
  • Advanced fuzzy matching algorithm for efficient filtering of large datasets.
  • Builtin channels for common data sources like files, git repositories, and environment variables.
  • Customizable themes to suit individual preferences or workflows.
  • Cross-platform support for Linux, macOS, and Windows.

Audience & Benefit: Ideal for developers, power users, and anyone seeking a fast and flexible way to navigate and search through data. Television enhances productivity by enabling quick access to information across diverse sources, with minimal setup required. It can be installed via winget, ensuring easy integration into existing workflows.

README

πŸ“Ί television

A cross-platform, fast and extensible general purpose fuzzy finder TUI.

GitHub Release docs.rs GitHub branch check runs GitHub License

tv on the curl codebase

About

Television is a cross-platform, fast and extensible fuzzy finder TUI.

It integrates with your shell and lets you quickly search through any kind of data source (files, git repositories, environment variables, docker images, you name it) using a fuzzy matching algorithm and is designed to be easily extensible.

tv-shell-integration

It is inspired by the neovim telescope plugin and leverages tokio and the nucleo matcher used by the helix editor to ensure optimal performance.

Features

  • ⚑️ High Speed: asynchronous I/O and multithreading to ensure a smooth and responsive UI.

  • 🧠 Fuzzy Matching: cutting-edge fuzzy matching library for efficiently filtering through lists of entries.

  • πŸ”‹ Batteries Included: comes with a set of builtin channels and previewers that you can start using out of the box.

  • 🐚 Shell Integration: benefit from smart completion anywhere using television's shell integration.

  • πŸ“Ί Channels: designed around the concept of channels, which are a set of builtin data sources that you can search through (e.g. files, git repositories, environment variables, etc).

  • πŸ“‘ Cable Channels: users may add their own custom channels to tv using a simple and centralized configuration file.

  • πŸ“œ Previewers: allows you to preview the contents of an entry in a separate pane.

  • πŸ–ΌοΈ Builtin Syntax Highlighting: comes with builtin asynchronous syntax highlighting for a wide variety of file types.

  • πŸŽ›οΈ Keybindings: includes a set of intuitive default keybindings inspired by vim and other popular terminal shortcuts.

  • 🌈 Themes: either use one of the 10 builtin themes or create your own easily.

  • πŸ“¦ Cross-platform: works on Linux, MacOS and Windows.

  • βœ… Terminal Emulator Compatibility: television works flawlessly on all major terminal emulators.

Installation

See the installation docs.

Usage

tv [channel] #[default: files] [possible values: env, files, git-repos, text, alias]

# e.g. to search through environment variables
tv env

# piping into tv (e.g. logs)
my_program | tv

# piping into tv with a custom preview command
fd -t f . | tv --preview 'bat -n --color=always {0}'

For more information on the different channels, see the channels documentation.

> [!TIP] > 🐚 Television provides smart autocompletion based on the commands you start typing out of the box. > > Take a look at this page for how to set it up for your shell.

Keybindings

For information about available keybindings, check the associated page of the wiki

Configuration

For information about tv's configuration file, check the associated page of the wiki

Themes

Builtin themes are available in the themes directory. Feel free to experiment and maybe even contribute your own!

catppuccin catppuccingruvbox gruvbox-dark
solarized-dark solarized-darknord nord

You may create your own custom themes by adding them to the themes directory in your configuration folder and then referring to them by file name (without the extension) in the configuration file.

config_location/
β”œβ”€β”€ themes/
β”‚   └── my_theme.toml
└── config.toml

Search Patterns

For information on how to use search patterns with tv, refer to the associated page of the wiki

Contributions

Contributions, issues and pull requests are welcome.

See CONTRIBUTING.md and good first issues for more information.

Credits

This project was inspired by the awesome work done by the telescope neovim plugin.

It also leverages the great helix editor's nucleo fuzzy matching library, the tokio async runtime as well as the formidable ratatui library.

Versions
0.11.9
0.11.8
0.11.7
0.11.6
0.11.5
0.10.7
0.10.6
0.10.5
0.10.2
Website
License