SixelTerm.jl
Inline graphics in the REPL using Sixel
Install / Use
/learn @eschnett/SixelTerm.jlREADME
SixelTerm
This is a Julia package to display graphics inline on terminals that support Sixel graphics. This is like TerminalExtensions but works with more terminals.
The main advantage of this approach is having usable graphics on remote connections without having to mess with X or other remote display connections. This works for Julia running on many remote platforms, including the Windows Subsystem for Linux (WSL) and macOS. It works with WSLtty and iTerm2. It also supports the tmux terminal multiplexer somewhat (images can be displayed, but they disappear when changing to a different window).
Terminals with Sixel support are available for Windows, Linux, MacOS, and Android. See here for one list.
Examples
Here is an example using Plots with the default GR backend:
ENV["GKSwstype"] = "nul" # needed for the GR backend on headless servers
using SixelTerm
using Plots
scatter(rand(100))
This is how things look in iTerm2: <img src="https://raw.githubusercontent.com/eschnett/SixelTerm.jl/master/demo.png" width=900px></img>
Here is an example using Makie:
using SixelTerm
using CairoMakie
scatter(rand(100))
This is how things look in iTerm2: <img src="https://raw.githubusercontent.com/eschnett/SixelTerm.jl/master/demo-makie.png" width=900px></img>
Similar packages
- ITerm2Images.jl
- ImageInTerminal.jl
- KittyTerminalImages.jl
- TerminalExtensions.jl
- TerminalGraphics.jl (outdated)
Acknowledgements
This package was written by Tom Short and is now maintained by Erik Schnetter.
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
