txtv 1.1.0

A simple and fast terminal client for browsing Swedish Text TV
Documentation

Swedish Text TV in the Terminal

A simple and fast terminal client for browsing Swedish Text TV — for us who prefer reading the news without launching a web browser.

This project is inspired by the now-unmaintained txtv by voidcase, which no longer works.

image of the tui

Features

🗓️ Planned | ✅ Implemented

  • Display text tv pages as images ✅
  • Plaintext mode ✅

Prerequisites

  • Kitty, iTerm or Sixel graphics protocol is required to render full resolution images.

Installation

Cargo (requires rust)

cargo install txtv

Build from source (requires rust)

# Clone the repository
git clone https://github.com/uherman/txtv.git
cd txtv

# Build and install (installs to ~/.cargo/bin/)
cargo install --path .

# Or build manually and copy to a folder of your choice
cargo build --release
cp target/release/txtv ~/path/to/bin/ # usually ~/.local/bin

Usage

Open the interface by running the following command

txtv

Open a specific page

txtv 130

Use text mode (no image protocol required)

txtv --mode text
# or
txtv -m text

Options

Flag Description
-m, --mode <MODE> Render mode: image (default) or text
-h, --help Print help
-v, --version Print version

Controls

  • Go to previous page
  • Go to next page
  • g Go to a specific page
  • q Quit