Git Product home page Git Product logo

simple-web-terminal's Introduction

Simple Web Terminal

⚠️ Don't put this program on the server until you know what you're doing, is is not safe!

1. About

Simple Web Terminal is a web-based terminal application, you can run this application on your server then you will be able to execute shell commands or downlaod files from a browser.

tested platforms:

  • ☑ Widnows
  • ☑ mac
  • ☑ linux

2. Usage

there are standalone executable programs provided on the release page, you can download the corresponding one for you platform and double click to start it. then you will see the below log in console:

console

after that you can visit the terminal with your browser :

terminal

3. Commands

the available commands in terminal are:

  • help : print help info

  • stop : kill the application in server

  • save : save the terminal contents in browser

  • exit : close the socket between browser and serwer

  • shell : set/get the current shell

  • coding : set/get the current encoding of output

  • static : jump to the static file server if started

  • scp : upload or downlaod files

download a file from current working directory with scp ./test.txt

uplaod a file to current working directory with scp ./ command

upload

  • vim : simple editor running in web terminal

editor

  • Other shell commands available on your server

4. Arguments

you can give some arguments to customize the tarminal, the supported arguments are :

  • port : terminal server port (default 7777)

  • shell : initial default shell(bash, sh, powershell are supported)

  • coding : initial default encoding of output

  • static : start a static file server (default true)

  • pass : password for web terminal (default no password)

powershell using gbk, without static server, and have password on port 5555:

powershell powershell

5. Links

this application is built with go and javascript. used resources are:

simple-web-terminal's People

Contributors

kompasim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.