Repository navigation
TermRail v0.2.0
TermRail is a local terminal session dashboard — start, switch, and watch multiple long-running commands in one place, right in your browser.
Highlights
- Portable Windows bundle — download the zip, extract, double-click
start.cmd. No Node.js or build tools required: the bundle ships a pinned, SHA256-verified Node 24.21.0 runtime and production dependencies (including node-pty prebuilds). The build runs a self-check (boots the server, serves the UI, starts a PTY) before the zip is produced. - Ctrl+End jumps the terminal to the bottom — works with focus anywhere on the page; text fields keep their native behavior. Also fixes a stale-viewport issue after snapshot replay or reconnect.
- Browser regression suite — a Playwright e2e suite now pins down terminal tab isolation, form focus ownership, Shift/IME Chinese input, scrollback behavior, and reload recovery.
- Fixed:
start.ps1now follows Vite's port drift when 5173 is busy.
Getting started
- Download
TermRail-v0.2.0-win-x64.zipbelow and extract it anywhere. - Double-click
start.cmd— the UI opens in your browser automatically. - Sessions and their config live in the
data/folder next to the app; keep it when upgrading.
Notes: the server listens on 127.0.0.1:8787 only (override with TERMRAIL_PORT). If you ever bind it to a non-localhost address, set AUTH_TOKEN — the UI must never be exposed to the public internet.
SHA256: e7e1d0948de4e81e82c9b402322bb5ad97f36696a9d2e417684167b71f309c13
Full changelog: v0.1.0...v0.2.0
TermRail 是一个本地终端会话面板——在浏览器里同时启动、切换和观察多个长期运行的命令。
本次更新
- Windows 绿色版——下载 zip、解压、双击
start.cmd即用。无需安装 Node.js 和构建环境:产物内置钉死并经 SHA256 校验的 Node 24.21.0 运行时与生产依赖(含 node-pty prebuilds),打包流程自带启动自检。 - Ctrl+End 跳转终端底部——焦点在页面任意位置都能触发;文本框内保持原生行为。同时修复了快照回放/重连后视口停留位置失效的问题。
- 浏览器回归测试——引入 Playwright e2e 套件,钉住终端 Tab 隔离、表单焦点归属、Shift/中文输入、滚动行为和刷新恢复。
- 修复:5173 端口被占用时
start.ps1会跟随 Vite 的端口漂移。
使用方法
- 下载下方
TermRail-v0.2.0-win-x64.zip,解压到任意目录。 - 双击
start.cmd,浏览器自动打开界面。 - 会话配置保存在程序旁的
data/目录,升级时保留它即可。
说明:服务默认只监听 127.0.0.1:8787(可用 TERMRAIL_PORT 覆盖)。若改为绑定非本机地址,务必设置 AUTH_TOKEN——不要把界面暴露到公网。
SHA256:e7e1d0948de4e81e82c9b402322bb5ad97f36696a9d2e417684167b71f309c13