lanterm: PTY-backed terminal UX toolkit for web apps
▲ 2 r/javascript+3 crossposts

lanterm: PTY-backed terminal UX toolkit for web apps

Lanterm is a TypeScript / React toolkit for embedding real PTY-backed terminals into browser applications.

Instead of being a complete web terminal server like ttyd, it is intended for cases where you want to compose the terminal UX inside your own application.

Packages

  • @lanterm/react: xterm.js-based React terminal surface
  • @lanterm/server: server-side utilities for connecting PTYs and WebSockets
  • @lanterm/pty: native PTY binding built with Rust portable-pty and napi-rs
  • @lanterm/protocol: shared message types and codecs between client and server

Why I made this

With coding agents and browser-based developer tools, there are more cases where I want to do more than just expose a terminal in the browser. I often want to combine the terminal with surrounding UI such as file views, execution history, agent timelines, and dashboards.

I also want to hook into terminal input / output, for example to save execution logs, update UI in response to specific output, or pass terminal activity into an AI agent's context.

Full web terminal servers are useful, but they can be a bit too large when the terminal needs to be integrated with application state and UI. On the other hand, wiring xterm.js and node-pty directly means rebuilding protocol handling, resize behavior, session lifecycle, and React integration each time.

Lanterm is meant to sit between those two layers as a library toolkit. It is still an early release, so I would appreciate feedback on the API design and implementation.

github.com
u/aqny — 1 day ago
▲ 2 r/sre

Anyone using AI for actual SRE/oncall operations?

We’ve been experimenting with Kubernetes MCP + Grafana MCP recently, and even just using AI for investigations has already been surprisingly useful.

Curious whether others are using LLMs/MCPs for actual SRE/oncall operations beyond just code generation.

I’m NOT talking about:

  • Terraform generation
  • Kubernetes YAML generation
  • PR reviews
  • policy/code automation
  • managing the AI stack itself (tokens, rate limits, cost tracking, etc.)

That said, I am interested in things like automatic architecture/infrastructure diagram generation and visualization workflows.

I’m more interested in operational workflows closer to real incident response / oncall work.

For example:

  • investigating abnormal behavior in Kubernetes
  • correlating Grafana dashboards/logs/events
  • navigating incidents through MCP integrations
  • operational copilots during outages
  • suggesting next investigation steps
  • summarizing blast radius / customer impact
  • runbook assistance during incidents
  • RCA/postmortem support

Would also love to hear what tools/stacks people are actually using in practice for this kind of workflow.

Before, I saw a Google SRE example in a similar direction, and it made me curious what other real-world operational use cases people are seeing or building.

u/aqny — 2 months ago
▲ 11 r/vscode+2 crossposts

Helmingway is a VS Code extension for previewing Kubernetes manifests generated from Helm charts.

After defining per-environment values such as dev, staging, and prod in helmingway.yaml, you can open the rendered output of helm template from the VS Code sidebar. You can inspect manifests generated for each release, filter the preview by Kubernetes resource such as Deployment, Service, and ConfigMap, and compare two releases side by side in the VS Code diff editor.

Features

  • Define charts and releases in helmingway.yaml
  • Supports chart sources from local directories, packaged charts, repository references, URLs, and OCI references
  • Configure namespace, values files, and inline values per release
  • Browse releases from the VS Code Activity Bar / sidebar
  • Preview helm template output per release
  • Split manifests by Kubernetes resource and toggle visible resources with checkboxes
  • Compare two releases in a side-by-side diff
  • See releases with failed Helm renders in the sidebar
  • Added a command to close all open Helmingway previews
u/aqny — 2 months ago