Yeesh
LiveView xterm.js terminal integration with Dune sandbox isolation.
brings interactive xterm.js terminal components to Phoenix LiveView, backed by secure process isolation via Dune sandboxing.
The Pitch
Embedding terminal interfaces into web applications usually requires managing complex WebSockets, term size handshakes, state synchronization, and dangerous shell execution risks.
Yeesh
delivers a ready-to-use Phoenix LiveView component powered by
xterm.js
. It streams bi-directional PTY data directly through LiveView sockets while delegating execution into isolated, resource-constrained Dune sandbox environments—preventing unauthorized host system access.
Why Yeesh?
Native LiveView Component
Embed full-featured web terminals into Phoenix LiveView layouts with standard assigns and event hooks.
Dune Sandbox Isolation
Executes terminal commands inside isolated containerized environments (Dune), enforcing memory and CPU limits.
Bi-Directional PTY Streaming
Real-time terminal rendering with xterm.js, auto-resizing, color support, and input handling.
Custom Themes & Keymaps
Easily theme the terminal interface and bind custom key shortcuts.
The Tech
| Language | Elixir / JavaScript |
| UI Stack | Phoenix LiveView & xterm.js |
| Sandbox Engine | Dune |
| Hex Package |
yeesh
|
Who It's For
- Web Application Engineers building web-based SSH clients, cloud consoles, or admin dashboards.
- EdTech & Sandbox Platforms creating interactive coding playgrounds and shell tutorials.
- DevOps Tools Authors rendering remote process outputs safely in Phoenix web interfaces.
Bottom Line
Embed secure, interactive web terminals directly into Phoenix LiveView applications with Yeesh.