Show HN:我们将Chromium移植到单内核上(开源 Apache 2.0)
Show HN: We Put Chromium on a Unikernel (OSS Apache 2.0)

原始链接: https://github.com/onkernel/kernel-images

Kernel 提供了可直接部署的、沙盒化的 Chrome 浏览器环境,适用于需要访问互联网的自主工作流程。其基础设施由 Docker 容器和单内核 (使用 Unikraft-cu) 提供支持,允许开发者运行自动化的基于浏览器的流程、使用浏览器开发 AI 智能体以及构建自定义工具。 Docker 和单内核实现都提供了功能上相同的预配置 Chrome,支持 Chrome DevTools 框架 (Playwright, Puppeteer),提供用于监控的 GUI 访问,以及 Anthropic 的计算机使用智能体。单内核实现具有诸多优势,例如自动休眠模式以节省资源,状态快照功能以重用会话 (Cookie、设置等),以及极快的冷启动速度 (低于 20 毫秒)。 Kernel 鼓励为改进示例代码做出贡献,他们也正在招聘后端工程师 (远程,美国)。加入候补名单和 Discord 了解更多信息。

Onkernel开源了其在Unikraft Cloud(Apache 2.0许可证)中运行Chromium单内核环境的工作。他们最初使用热Docker容器作为AI代理浏览器基础设施,但切换到单内核以显著缩短启动时间(20毫秒对比Docker的5秒)并在空闲时实现近乎零的CPU/内存消耗。然而,当Chromium处于活动状态时,内存使用率仍然很高,约为8GB。 潜在的好处包括待机模式以降低成本,以及通过持久cookie进行会话重用。该项目欢迎反馈和贡献,并且正在探索持久存储和更快的noVNC替代方案。团队积极寻求关于快速冷启动系统和单内核基础设施的反馈。

原文

Kernel Logo

Deployment-ready browsers. Run 'em anywhere

GitHub License Discord Follow @juecd__ Follow @rfgarcia

Kernel provides sandboxed, ready-to-use Chrome browser environments for agentic workflows that need to access the Internet. containers/docker/Dockerfile and unikernels/unikraft-cu are the core infra that powers our hosted services.

Sign-up for the waitlist.

Chromium x Unikernel Demo

  • Pre-configured Chrome browser that Chrome DevTools-based browser frameworks (Playwright, Puppeteer) can connect to
  • GUI access for visual monitoring and remote control
  • Anthropic's Computer Use agent loop & chat interface baked in

💡 What You Can Do With It

  • Run automated browser-based workflows
  • Develop and test AI agents that use browsers
  • Build custom tools that require controlled browser environments

containers/docker and unikernels/unikraft-cu functionally do the same thing:

  1. Pull from Anthropic's Computer Use reference implementation
  2. Install Chromium
  3. Expose ports so Chrome DevTools-based frameworks (Playwright, Puppeteer) can connect to the instance
  4. Expose a remote GUI through noVNC

The unikernel implementation works the same as the Docker-only image but has the additional benefits of running on a unikernel:

  • Automated standby / "sleep mode" when there isn't any network activity (consuming negligible resources when it does)
  • When it goes into standby mode, the unikernel’s state gets snapshotted and can be restored exactly as it was when it went to sleep. This could be useful if you want to reuse a session’s state (browser auth cookies, interact with local files, browser settings, even the exact page and window zoom you were on).
  • Extremely fast cold restarts (<20ms), which could be useful for any application that requires super low latency event handlers.
chromium-unikernel-demo.mp4

We welcome contributions to improve this example or add new ones! Please read our contribution guidelines before submitting pull requests.

See the LICENSE file for details.

We're hiring exceptional senior and staff backend engineers to work on the future of AI infrastructure. Full-time or contract-to-hire. Join a small team that punches well above its weight, minimal meetings and no bureaucracy. By developers, for developers.

$175k-200k + equity + great healthcare. Remote in the continental US.

Things we're working on: serverless, containers/vms/unikernels, streaming, SDKs, CLIs.

Message catherine jue on Discord with what you've been building lately.

For issues, questions, or feedback, please open an issue on this repository.

To learn more about our hosted services, join our waitlist and our Discord.

联系我们 contact @ memedata.com