rsille v3.4.4
Rust · Linux / macOS / Windows

让你的终端,
真正活起来。
Make your terminal
come alive.

在正在用的 shell 里直接养一只会互动的终端宠物——连打开 Neovim 也能零闪烁浮在最上层;还能在命令行里畅玩第一人称 3D 方块世界、旋转三维数学曲面,或打开带可拖拽浮窗的现代终端工作台。 Float an interactive pet or clickable HUD directly over your live shell — even on top of Neovim with zero flicker. Explore a first-person 3D voxel world, spin 3D math surfaces, or run floating-window TUI workspaces right inside your terminal.

$cargo install rsille-playground --locked
~/rsille main $ rsille pet
● live shell overlay · Kitty / Sixel · Ctrl+] to exit
~/rsille main $ git status -s
M README.md
~/rsille main $
我就浮在你正在用的 shell 上!点下面的命令或点我试试。 I float right over your real shell! Click a command below or boop me.
试试敲命令:Try command:
rsille pet 直接浮在真实 shell 上 · Neovim 里也能零闪烁互动Floats over your live shell · Zero-flicker over Neovim
First-person 3D voxel world rendered inside a terminal
rsille voxel 第一人称 3D 方块沙盒 · 任意真彩色终端可玩First-person 3D voxel sandbox · Any True Color terminal
3D mathematical surfaces, helix and trefoil knot rendered by rsille draw
rsille draw Kitty / Sixel · 2D/3D 函数绘图与多图排版Kitty / Sixel · 2D/3D Math Plotter & Multi-Panel Grid
rsille desk TUI workspace with 3D canvas and draggable floating windows
rsille desk 可拖拽缩放浮窗 · Dock · 实时三维画布与动效Draggable floating windows · Dock · Live 3D canvas & FX
01 / Showcase

一个终端,可以有多少种模样? One terminal. Many possibilities.

从像素级旋转曲面与数学公式,到带可拖拽浮窗的桌面式工作台,再到任意真彩色终端都能流畅运行的 3D 机械动画与对战场景——把原本只属于图形界面的体验带进命令行。 From crisp rotating 3D plots and math formulas to floating-window desktop workspaces, kinetic 3D mechanical creatures, and interactive arenas — bringing rich visual experiences straight into the command line.

浏览全部示例 ↗ Full example gallery ↗
Function Plotter: 3D surfaces, helix and trefoil knot
Kitty & Sixel Native Pixels

像素级图形,打破字符格边界 Crisp pixel graphics beyond character shapes

在终端里直接绘制丝滑的 2D 曲线、实时旋转的 3D 曲面、高清图像与数学公式,自然融入滚动与界面布局,不再受字符粗糙颗粒限制。 Render razor-sharp 2D curves, rotating 3D surfaces, photos, and math formulas directly in the terminal — cleanly integrated with scrolling and UI layouts.

Lumen workspace with 3D canvas, live signal curves, and draggable floating windows
Desktop-style TUI Floating Windows

像桌面软件一样自由的终端工作台 Desktop-class floating workspaces in your terminal

告别呆板的固定分栏:把可拖拽缩放的浮窗、Dock、实时 3D 画布、流光动效与命令面板装进终端,兼顾键鼠操作的顺滑手感。 Go far beyond rigid split panes: drag and resize floating windows, dock panels, live 3D canvases, glowing animations, and command palettes with fluid mouse and keyboard control.

Clockwork: 132 parts disassembling and assembling into mechanical creatures
Unicode 3D Canvas Works Everywhere

普通终端,也能流畅演活 3D 动画 Fluid 3D animation in any True Color terminal

无需特殊图形协议,仅凭彩色 Unicode 字符就能让 132 个黄铜与陶瓷机械零件在终端里丝滑拆解重组,随手拖拽旋转视角、发射磁力脉冲。 No special image protocol needed: pure colored Unicode cells bring 132 kinetic brass and porcelain parts to life with smooth 3D assembly, magnetic scatter, and drag-to-orbit camera.

Pokémon Battle 3D arena with Pikachu, Blastoise, and native TUI move buttons
Canvas + Widgets Visual Effects

画面、特效与交互浑然一体 Graphics, effects, and controls in one live scene

3D 舞台、招式按钮、渐变扫光、毛玻璃与状态栏无缝融合——既能做出精致的交互游戏,也能打造富有表现力的终端仪表盘。 3D scenes, clickable buttons, light sweeps, frosted backdrops, and status HUDs blend seamlessly — powering interactive games and expressive terminal tools alike.

* Function Plotter 为离线 RGB 预览;其余预览均直接导出自真实渲染画面(Clockwork GIF 做了加速)。 * Function Plotter is an offline RGB preview; other previews are exported directly from rendered terminal frames (Clockwork GIF is sped up).

02 / Live Shell 叠加层 · 实机演示 02 / Live Shell Overlay · Real Capture

直接浮在你正在用的 shell 上,连 Neovim 也能零闪烁互动 Float directly over your live shell — even inside Neovim

不是系统桌宠悬浮窗,而是直接渲染在你真实终端里的互动层。一行 rsille pet 或 rsille hud,就能让像素小鲸鱼或实用工具栏浮在日常命令之上,游过的地方文字自动还原,完全不打断手头工作。 Not a desktop overlay window — it renders right inside your real terminal. One command floats an animated whale pet or clickable HUD directly on top of your active shell, restoring covered text seamlessly so your workflow never skips a beat.

了解 rsille-overlay ↗ Explore rsille-overlay ↗
实机演示 · 72s 完整介绍($ rsille pet & 全家桶) Real Terminal Capture · 72s Full Demo ($ rsille pet & Playground)
720p · 中文版 720p · English
01 · Command Aware

看懂你敲的命令,还会啃屏幕字符 Reacts to your commands & nibbles text

输入 git、cargo、npm 时即时搭话互动,命令通过欢呼、报错受惊;肚子饿了还会游过去把新输出的字符一口吃掉,游开后原字无损复原。 Chimes in as you type git, cargo, or npm, cheers on green tests, chases your cursor and treats, and even nibbles printed text — restoring every character as it swims away.

02 · Zero Flicker

打开 Neovim 写代码,照样丝滑悬浮 Stays smooth right on top of Neovim

哪怕切进 vim / nvim 这样高频刷新的全屏编辑器,小鲸鱼也能零闪烁浮在最上层继续游动、吹泡泡、互动,鼠标点正文仍直接操作编辑器。 Even over fast-refreshing fullscreen apps like vim and nvim, the pet stays floating smoothly on top with zero flicker while clicks outside pass straight through to your editor.

03 · Practical HUD

不止萌宠,还有实用终端挂件 Not just a pet — practical shell HUDs too

运行 rsille hud 即可在任意终端角落浮出一个可拖拽工具栏:目录树一键 cd here、实时命令耗时与退出状态、待办清单与快捷宏,随时 Ctrl+] 无痕退出。 Run rsille hud in any terminal to float a draggable workspace bar: expandable folder tree with one-click cd here, live command timer, tasks, and quick macros. Press Ctrl+] anytime to exit.

03 / Try in 10 seconds · Direct Download

下载 rsille,一行解锁 8 种终端体验 Download rsille — 8 terminal experiences in one binary

无需安装 Rust。下载单个可执行文件后直接运行 rsille,即可进入 30 FPS 内联互动展台,一键切换全部八种终端玩法。 No Rust required. Download one standalone executable and run rsille to open the live 30 FPS showcase launcher and jump into all eight experiences with one key.

打开独立下载页 ↗ Standalone download page ↗
rsille pet

在你的 shell 或 nvim 上方养一只会游动、中英文自动接话、追鼠标、吹泡泡、吃小鱼干的像素小鲸鱼。 Float an interactive whale pet over your shell or nvim — auto EN/ZH command replies, treats & bubbles.

Kitty / Sixel · Ctrl+] exit
rsille voxel

第一人称 3D 终端方块沙盒:漫步草地、湖泊与木屋,挖掘搭建、自由飞行与切换昼夜。 First-person 3D voxel sandbox in terminal cells: explore, mine, build, fly, and toggle day/night.

Any True Color terminal
rsille desk

桌面式 TUI 工作台:可拖拽缩放浮窗、Dock、动态三维画布、流光特效、命令面板与多主题。 Desktop-style TUI workspace with draggable floating windows, Dock, live 3D canvas, visual FX & themes.

Any True Color terminal
rsille clockwork

132 个机械零件实时拆解重组为步行机、扑翼机与机械花,支持磁力脉冲震散与拖拽旋转视角。 132 kinetic parts assembling into a walker, ornithopter, and flower with magnetic scatter & orbit camera.

Any True Color terminal
rsille hud

浮在真实 shell 角落的实用工具栏:目录树一键 cd here、命令耗时徽章、待办与快捷宏。 Draggable HUD over your live shell: folder tree with cd here, live command timer, tasks & macros.

Any terminal · Ctrl+] exit
rsille draw

内联数学绘图 REPL:绘制 2D 曲线、极坐标、参数方程、实时旋转的 3D 曲面与 :grid 多图排版。 Inline math plotter REPL for 2D curves, polar/parametric plots, rotating 3D surfaces & :grid layouts.

Kitty / Sixel
rsille jellyfish

深海发光水母水族箱,直接在任意真彩色终端里流畅漂浮,随时放空片刻。 A luminous deep-sea jellyfish aquarium drifting smoothly inside any True Color terminal.

Any True Color terminal
rsille doctor

一键体验并同屏对比 Braille、半块、四分块与原生像素渲染,快速查看当前终端的图形支持情况。 Inspect your terminal's graphics support and compare all four rendering pipelines live side-by-side.

Any terminal
最新版本:Latest release: rsille-playground v0.1.9
所有文件均已在构建时通过 SHA-256 校验 All binaries SHA-256 verified at build time

Windows

当前系统Detected

适用于 64 位 Windows 10 / 11 电脑。For 64-bit Windows 10 / 11 PCs.

在下载目录运行Run in your download folder
.\rsille.exe

推荐在 Windows Terminal 1.22+ 中运行;直接运行打开 8 合 1 展台,也可用 .\rsille.exe pet -- powershell.exe -NoLogo 直接养鲸鱼。Best in Windows Terminal 1.22+. Run directly for the 8-in-1 launcher, or try .\rsille.exe pet -- powershell.exe -NoLogo.

macOS

当前系统Detected

在“关于本机”中查看芯片类型(Apple Silicon / Intel)。Check chip type in About This Mac (Apple Silicon / Intel).

在下载目录运行Run in your download folder
chmod +x rsille-macos-apple-silicon
./rsille-macos-apple-silicon

若系统拦截未签名程序,先执行 xattr -d com.apple.quarantine ./rsille-macos-*。体验鲸鱼宠物推荐 Kitty / Ghostty / WezTerm / iTerm2。If Gatekeeper blocks it, run xattr -d com.apple.quarantine ./rsille-macos-*. For the whale pet & 3D plotter, try Kitty, Ghostty, WezTerm, or iTerm2.

Linux / WSL

当前系统Detected

用 uname -m 查看架构(x86_64 或 aarch64)。Run uname -m to check architecture (x86_64 or aarch64).

在下载目录运行Run in your download folder
chmod +x rsille-linux-x64
./rsille-linux-x64

直接运行进入 8 合 1 互动展台;宠物与 3D 绘图推荐 Kitty / Ghostty / WezTerm / Foot,其余玩法支持任意真彩色终端。Run directly for the 8-in-1 launcher. Pet & 3D plots shine in Kitty / Ghostty / WezTerm / Foot; other modes work in any True Color terminal.

04 / Build With rsille

想自己做一个?几行 Rust 就能开始 Want to build your own? Start in 20 lines of Rust

同一套简洁的声明式 API,即可打造全屏工作台、内联动画小工具,或浮在真实 shell 上方的交互挂件。 One expressive Rust API powers fullscreen workspaces, inline animated CLI tools, and interactive live-shell overlays.

src/main.rs · Mode::Inline + visual effects
use std::time::Duration;
use rsille::tui::prelude::*;

fn main() -> WidgetResult<()> {
    let exit = App::new(0_u32)
        .mode(Mode::Inline)
        .update(|count, (), _| *count += 1)
        .view(|count| {
            visual(
                button(format!("Count: {count}"))
                    .variant(ButtonVariant::Ghost)
                    .on_click(|| ()),
            )
            .gradient(Color::Rgb(70, 220, 255), Color::Rgb(240, 110, 255), GradientDirection::Horizontal)
            .highlight_sweep()
            .animation(looping_visual_spec(Duration::from_secs(2)))
        })
        .run()?;

    println!("Final count: {}", exit.state);
    Ok(())
}

组合特效,随手做出高质感界面 Layer effects onto any widget effortlessly

visual(...) 直接给任意按钮、面板叠加渐变、扫光、溶解与波浪动效,同时完整保留点击与键盘交互。 visual(...) layers gradients, light sweeps, dissolves, and waves onto any widget while keeping full keyboard and mouse interaction.

渐变计数按钮的循环扫光预览 Gradient counter button with looping light sweep
overlay_widget.rs · features = ["overlay"]
use rsille::overlay::{Anchor, Session, ShellEvent, WidgetOverlay};
use rsille::tui::prelude::*;

fn main() -> std::io::Result<()> {
    let app = App::new(String::new())
        .update(|last: &mut String, msg: Option<String>, _| {
            *last = msg.unwrap_or_default();
        })
        .view(|last: &String| {
            row::<Option<String>>()
                .child(label(last.clone()).width(20))
                .child(button("×").on_click(|| None))
        })
        .build();

    let overlay = WidgetOverlay::new(app, (24, 1))
        .anchor(Anchor::TopRight)
        .on_shell(|event| match event {
            ShellEvent::Exec(line) => Some(Some(line.to_owned())),
            _ => None,
        });

    Session::new().mouse(true).run(overlay)?;
    Ok(())
}

把任意组件浮到 shell 角落 Float any widget in the corner of your shell

复用你熟悉的按钮、目录树、清单和画布,实时响应当前 shell 里执行的命令,随时按 Ctrl+] 干净退出。 Reuse familiar buttons, trees, checklists, and canvases right over your live shell — reacting to commands in real time.

查看 overlay 示例 ↗ View overlay examples ↗
Cargo.toml
[dependencies]
rsille = "3.4.4"

# Optional: float widgets & graphics over a live shell
# rsille = { version = "3.4.4", features = ["overlay"] }

# Lightweight build: TUI + Unicode Canvas only
# rsille = { version = "3.4.4", default-features = false }

一套依赖,按需组合 One crate, modular by design

默认包含 TUI 组件、Unicode 画布与 Kitty/Sixel 像素图形;需要实时 shell 悬浮层只需开启 overlay。 Includes TUI widgets, Unicode Canvas, and Kitty/Sixel pixel graphics out of the box. Enable overlay to float UI over a live shell.

docs.rs/rsille ↗
Install rsille skill for AI coding agents
npx skills add nidhoggfgg/rsille.skills --skill rsille

让 AI 编程助手直接帮你写 rsille 应用 Let your AI coding agent build with rsille

安装官方 skill,让 AI 直接掌握组件、布局、图形与动画写法,开箱附带组件目录与应用模板。 Install the official skill so your agent knows rsille's widgets, layouts, canvas graphics, and animations — complete with a component catalog and starter template.

SKILL.md ↗