--- title: "@hugpy/console" emoji: 🔌 colorFrom: purple colorTo: indigo sdk: static pinned: false license: other license_name: hugpy-source-available license_link: https://github.com/hugpy/hugpy/blob/main/LICENSE short_description: Embeddable web console — mountConsole() + a PTY broker --- # @hugpy/console — the embeddable console 🔌 A portable **terminal · file-browser · keeper console** for the web, as one framework-agnostic module: call `mountConsole()` and the console appears inside **your** app, backed by a reusable PTY broker. ```bash npm install @hugpy/console ``` ## What it is - **`mountConsole(el, opts)`** — drop the full console into any page or app; no framework required, works next to React/Vue/vanilla alike. - **PTY broker** — the reusable server half: real terminal sessions over WebSocket, multiplexed, resumable. - **The same console the fleet uses** — this module powers the terminals and keeper seats inside hugpy Station, the desktop cockpit ([`@hugpy/station`](https://www.npmjs.com/package/@hugpy/station)). ## The @hugpy scope [`@hugpy/console`](https://www.npmjs.com/package/@hugpy/console) · [`@hugpy/station`](https://www.npmjs.com/package/@hugpy/station) · [`@hugpy/ui`](https://www.npmjs.com/package/@hugpy/ui) · [`@hugpy/ui-shared`](https://www.npmjs.com/package/@hugpy/ui-shared) · [`@hugpy/agents-ui`](https://www.npmjs.com/package/@hugpy/agents-ui) · [`@hugpy/media-intelligence-ui`](https://www.npmjs.com/package/@hugpy/media-intelligence-ui) · [`@hugpy/video-intelligence-ui`](https://www.npmjs.com/package/@hugpy/video-intelligence-ui) · [`@hugpy/vm-mgr`](https://www.npmjs.com/package/@hugpy/vm-mgr) ## Elsewhere - 🚀 [hugpy — Start Here](https://huggingface.co/spaces/hugpy-ai/hugpy) · 🌐 [hugpy.ai](https://hugpy.ai/) · 📦 [PyPI `hugpy`](https://pypi.org/project/hugpy/) **Live demo:** [the Station showroom](https://demo.hugpy.ai/station/) — tern's keeper seat plays back the agent loop; [video & media demos](https://demo.hugpy.ai/). *Inference you own.* By [John R. Putkey](https://jrputkey.com).