# websocket_terminal **Repository Path**: mirrors_glensc/websocket_terminal ## Basic Information - **Project Name**: websocket_terminal - **Description**: Browser based terminal using xterm.js and a python 3 server - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-16 - **Last Updated**: 2026-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # websocket_terminal A cross-platform python3 server that bridges either ssh or raw tcp to the browser via websocket. # Quickstart ### 1. Clone and start ``` git clone https://github.com/sorgloomer/websocket_terminal.git cd websocket_terminal pip3 install -r requirements.txt python3 websocket_terminal.py ``` ### 2. Navigate browser Open one of the following links in a browser: Local ssh: ``` http://localhost:5002?kind=ssh&username=&password= ``` Remote ssh: ``` http://localhost:5002?kind=ssh&username=&password=&hostname= ``` ### 3. Enjoy ![Screenshot of mc in the browser](docs/ss_mc.png) # Remarks Currently only password authentication is supported for ssh. The username and password is sent in plaintext via **http or https** in the default implementation! # Credits Thanks to aluzzardi for the wssh project, which inspired this one. The websocket and json based protocol is entirely the same as in wssh. Greenlet and wsgi implementation: eventlet Python ssh client: paramiko Browser side terminal: xterm.js