Skip to content

A real-time, cross-platform web terminal with file copy support, built using Node.js, WebSockets, and node-pty. This server allows users to interact with a shell via a web UI and copy files/folders between paths through the browser.

Notifications You must be signed in to change notification settings

ronakbediya310/web-based-terminal-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧭 web-based command line emulator

A real-time, cross-platform web terminal with file copy support, built using Node.js, WebSockets, and node-pty. This server allows users to interact with a shell via a web UI and copy files/folders between paths through the browser.


✨ Features

  • Web-based terminal UI using xterm.js
  • Real-time shell interaction via WebSockets
  • Cross-platform file copy support:
    • Windows: Uses robocopy
    • Linux/macOS: Uses cp
  • Shared or individual terminal sessions
  • Displays executed shell commands in UI for transparency and debugging
  • Built-in static file server for frontend assets
  • Clean and minimal user experience

📦 Prerequisites

Ensure the following are installed on your system:

  • Node.js v16 or higher
  • npm (comes with Node.js)
  • Unix shell or PowerShell depending on your OS
  • visual studio 2022 developement tools with c++

⚙️ Installation

1. Clone the Repository

git clone https://github.com/ronakbediya310/web-based-terminal-emulator.git
cd web-based-terminal-emulator

2. Install Dependencies

set msvs_version=2022
npm install

3. Run the Server

npm run start

4. 🧰 Built With

  • Node.js
  • xterm.js
  • ws (WebSocket library)
  • node-pty (shell integration)

5.📷 Screenshot

alt text

6. Demo

https://drive.google.com/file/d/1E6uUSGagUJH92ZJ4UoGKDjecdk_vgE2V/view?usp=drive_link

About

A real-time, cross-platform web terminal with file copy support, built using Node.js, WebSockets, and node-pty. This server allows users to interact with a shell via a web UI and copy files/folders between paths through the browser.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published