SSH 原生图形化外壳
A native graphical shell for SSH

原始链接: https://probablymarcus.com/blocks/2026/06/28/native-graphical-shell-for-SSH.html

作者提出了一种名为“外壳”(Outer Shell)的新型架构范式,旨在将远程服务器和边缘设备转化为图形化计算环境。该系统摒弃了传统的终端界面,转而让各应用程序以私有 HTTP 服务器的形式运行,并通过 SSH 和 Unix 域套接字而非本地端口进行访问。 该系统提供了一个统一的“外壳”或主屏幕,模块化的 Web 应用可以在此注册功能并实现互操作,例如为特定文件类型指定默认文本编辑器。通过将加密工作交由 SSH 层处理,这些应用能够保持轻量且无依赖。 作者认为,尽管 Jupyter 等工具在服务器端 UI 领域进行了先行探索,但业界一直缺乏一套管理此类应用的统一框架。随着人工智能辅助编码技术的成熟,开发原生且适配平台的应用程序,从而作为现代桌面环境的替代方案已变得切实可行。归根结底,这种方法预示着未来服务器将通过与浏览器集成的原生图形界面进行管理,从而在 Web 的可移植性与原生性能之间架起桥梁。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 适用于 SSH 的原生图形外壳 (probablymarcus.com) 13 分,mrcslws 发布于 50 分钟前 | 隐藏 | 过往 | 收藏 | 讨论 | 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

With the web browser, we have really figured out a good flow for how one device (the “server”) can provide an experience on another device (the “client”).

This raises a fun idea: imagine if servers and edge devices could serve up a browser-based graphical “shell” so they can be used from other devices. The shell would provide a home screen of apps. In this shell, every app is a small HTTP server, serving up a web user interface. The shell would provide an API so that apps can look up each other’s URLs. For example, apps could register themselves as a text editor, so you can double-click text files in one app to open them in the editor app. These graphical apps would be an alternative to terminal-based apps.

These HTTP servers will typically be private, inaccessible to other devices on the network. Instead, you’ll use them over SSH, or locally. Unlike most existing web-based server tools, these HTTP servers won’t typically use localhost ports, but instead will use Unix domain socket files, which are similar to ports but live on the filesystem with explicit user permissions. Each HTTP server can be very simple, with no dependencies, because it doesn’t have to handle encryption, which instead happens at the SSH layer.

The apps can be conventional HTML-based web apps, but they can also be native outerframe apps.

I’ve built Outer Loop into an SSH browser for this type of graphical shell, and now I’m shipping an open-source Outer Shell.

Screencast: Outer Shell

Here I demo Outer Shell and how it works, and I try to give you a sense of how much low-hanging fruit there is in this space.

联系我们 contact @ memedata.com