macOS
brew install terminalimageviewerlocal Homebrew formula metadata
sudo port install tivMacPorts ports tree · graphics/tiv/Portfile · 来源: api.github.com
安装
brew install terminalimageviewerlocal Homebrew formula metadata
sudo port install tivMacPorts ports tree · graphics/tiv/Portfile · 来源: api.github.com
nix profile install nixpkgs#tivnixpkgs package indexes · pkgs/by-name/ti/tiv/package.nix · 来源: api.github.com
概览
Display images in a terminal using block graphic characters
历史
TerminalImageViewer, usually invoked as `tiv`, is a C++ terminal image viewer that renders images using RGB ANSI colors and Unicode block graphics. It belongs to the lineage of tools that treat a modern terminal as a low-resolution graphics surface.
The GitHub repository was created in April 2016. The README notes that examples were mostly produced with an older Java version, but development later shifted to the C++ implementation; by October 2020 the Java version was explicitly deprecated.
The project's distinguishing technique is its 4-by-8 pixel cell mapping. Instead of only using the Unicode half-block approach common to related tools such as timg, TerminalImageViewer chooses block characters and foreground/background colors that better approximate each cell.
The first GitHub release listed by the official releases page is v1.0.0 in December 2018. The README documents Homebrew installation for macOS and mentions third-party RPM and Docker packaging; this batch input also lists Debian, Ubuntu, MacPorts, Nix, and Homebrew package names.
Maintenance after the initial release focused on portability and packaging: README notes call out Homebrew support being fixed in 2020, Apple Clang support in 2021, and MSVC/native Windows support plus Apache-2.0-or-GPL-3.0 licensing in 2023.
Users run `tiv` with one or more image filenames; shells can expand wildcards, and the tool shows thumbnails and file names when multiple images are supplied. The README warns users to install ImageMagick and to tune terminal color mode, font, and line spacing when output looks wrong.
The README also documents a library-style API around `tiv_lib.h` and `tiv_lib.cc`, allowing callers to map framebuffer pixels to terminal character/color data. That makes the project useful beyond one-off image previews.
For terminal-heavy users, tiv is a compact answer to the question 'can I inspect this image without leaving the shell?' It is especially relevant in SSH sessions, image-processing pipelines, build artifacts, and README demos where a graphical viewer is awkward or unavailable.
Package nerds also care because it exercises modern terminal capabilities: truecolor ANSI output, Unicode coverage, terminal line metrics, and optional fallbacks such as 256-color mode.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tiv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/stefanhaustein/TerminalImageViewer
安装元数据
| 软件包键 | brew:terminalimageviewer |
|---|---|
| 版本 | 1.2.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/terminalimageviewer |
| 主页 | https://github.com/stefanhaustein/TerminalImageViewer |
| 仓库 | https://github.com/stefanhaustein/TerminalImageViewer |
| 上游文档 | https://github.com/stefanhaustein/TerminalImageViewer#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/stefanhaustein/TerminalImageViewer/archive/refs/tags/v1.2.1.tar.gz |
| 依赖 | imagemagick |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | terminalimageviewer |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tiv
sudo port install tivtiv 1.2.1+dfsg-1+b2
high-resolution command-line image viewer
https://github.com/stefanhaustein/TerminalImageViewer
sudo apt install tivtiv
nix profile install nixpkgs#tivtiv 1.2.1+dfsg-1
high-resolution command-line image viewer
https://github.com/stefanhaustein/TerminalImageViewer
sudo apt install tiv来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.