This is a simple web terminal application that allows users to interact with a server via a web browser.
Join our Discord community for support and discussions: Click Here 🙂
- Terminal interface for executing commands on a remote server.
- WebSocket communication for real-time interaction.
- Basic authentication for login.
-
Clone the repository:
git clone https://github.com/noreplyui5/Web-Terminal.git
-
Install dependencies:
cd Web-Terminal npm install
-
Configure environment variables by creating a
.env
file (see.env.example
for reference). -
Start the server:
npm start
-
Access the web terminal in your browser at
http://localhost:9001
.
The following environment variables can be configured in the .env
file:
WEB_USERNAME
: Username for basic authentication (default: admin)WEB_PASSWORD
: Password for basic authentication (default: admin)SSH_HOST
: Hostname or IP address of the SSH server (default: 127.0.0.1)SSH_PORT
: Port number of the SSH server (default: 22)SSH_USERNAME
: Username for SSH authentication (default: root)SSH_PASSWORD
: Password for SSH authentication (default: password)
- Visit the login page (
/login
) and enter your credentials. - Once logged in, you can execute commands in the terminal interface.
This project is licensed under the GPL General Public License v3.0.