Coder Social home page Coder Social logo

jfatty / node-web-console Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chriscindy/node-web-console

0.0 1.0 0.0 1.45 MB

A simple web-based SSH, remote shell in your browser built with Node.js

License: GNU Lesser General Public License v3.0

JavaScript 89.41% CSS 3.05% HTML 7.55%

node-web-console's Introduction

English | 简体中文

    _   __          __        _       __     __       ______                       __   
   / | / /___  ____/ /__     | |     / /__  / /_     / ____/___  ____  _________  / /__ 
  /  |/ / __ \/ __  / _ \    | | /| / / _ \/ __ \   / /   / __ \/ __ \/ ___/ __ \/ / _ \
 / /|  / /_/ / /_/ /  __/    | |/ |/ /  __/ /_/ /  / /___/ /_/ / / / (__  ) /_/ / /  __/
/_/ |_/\____/\__,_/\___/     |__/|__/\___/_.___/   \____/\____/_/ /_/____/\____/_/\___/ 
                                                                                        

Summary

Node-Web-Console is a web-based Node.js application that allows to execute shell commands on a server directly from a browser (web-based SSH). This project is inspired by the php-based web-console. The application is very light, does not require any database and can be installed and configured in about 3 minutes.

Features

  • Clean interface, which looks and feels like a real shell terminal
  • Easy to extend. Node-Web-Console uses Koa to start the web server. You can easily extend it or integrate it to your own project
  • Secure. You can configure HTTPS (SSL) on your web server and all Node-Web-Console traffic will be protected. Also, Node-Web-Console has a mark to search engines that will disallow the Node-Web-Console page from indexing
  • Fast configuration. Node-Web-Console is a pure Node.js project and can be installed and configured quickly
  • Mobile friendly. Node-Web-Console supports inputs from the virtual keyboard in the mobile browser. So you can use it conveniently in your mobile devices like iPad, iPhone and Android phones.

Installation

Node-Web-Console uses Koa to start the web server, so it requires node v7.6.0 or higher.

git clone https://github.com/ChrisCindy/node-web-console.git
cd node-web-console

# instal dependencies 
npm install

Getting Started

  • configure the settings

    open config/index.js and enter your $USER and $PASSWORD credentials, edit any other settings that you like (see description in the comments).

  • start the web server

    • Development mode
    ## build and watch client side scripts and stylesheets
    npm run client:dev
    
    ## open another shell 
    ## start the web server
    npm run server:dev
    • Production mode
    ## build and minify client side scripts and stylesheets
    npm run client:build
    
    ## start the server with pm2 
    npm run prod
  • open http://localhost:3000/console in your browser and enjoy it.

License

Node-Web-Console is licensed under GNU LGPL Version 3 license.

node-web-console's People

Contributors

chriscindy avatar

Watchers

James Cloos 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.