Ptylon banner
alexfrmn alexfrmn

Ptylon

AI community

Description

Self-hosted browser terminal workspace for AI coding agents (Claude Code, Codex) — persistent sessions, a browser they can drive, files & editor, from any device.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Ptylon logo

Ptylon

A self-hosted, browser-native terminal workspace — Termius in a browser tab.

[![CI](https://github.com/alexfrmn/ptylon/actions/workflows/ci.yml/badge.svg)](https://github.com/alexfrmn/ptylon/actions/workflows/ci.yml) [![Node.js 22+](https://img.shields.io/badge/node-22%2B-339933?logo=node.js&logoColor=white)](https://nodejs.org/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

![Ptylon server-hall terminal workspace](docs/images/ptylon-hero.webp)

**Ptylon** puts persistent terminals, a real browser, files, and an editor in a single browser tab on a server you own. It is built for running coding agents — **Claude Code, Codex, and anything else that lives in a shell** — where their sessions survive restarts, they can drive a real browser, and you can check on them from any browser.

Quick start Docker Architecture Production Contributing

The Problem

Running a coding agent on a remote box is clunky. You SSH in, start Claude Code in tmux, and hope the session is still alive when you come back. The agent can run commands but can't *see* a browser to test what it built. Your files are on the server, your editor is somewhere else, and none of it is reachable without SSH-ing back in from the right machine.

Ptylon removes that friction: the agent runs in a persistent server-side session, gets a real browser it can click through, and the whole workspace — terminals, files, editor, browser — is one authenticated URL you can open from any browser.

Why Ptylon

  • Keep the shell alive. A dedicated PTY daemon owns node-pty sessions, so a WebSocket gateway restart does not terminate running shells.
  • Work in context. Split panes, named workspaces, file management, Monaco edi