https://github.com/slavahatnuke/plus.shell
Fast remote developers terminal/shell
https://github.com/slavahatnuke/plus.shell
Last synced: 2 months ago
JSON representation
Fast remote developers terminal/shell
- Host: GitHub
- URL: https://github.com/slavahatnuke/plus.shell
- Owner: slavahatnuke
- Created: 2016-11-15T08:40:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T22:27:43.000Z (over 8 years ago)
- Last Synced: 2025-03-02T11:49:38.220Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Plus Shell
Fast remote terminal for developers goals / socket io remote terminal.
- Secure JWT (jsonwebtoken) based (used HTTP + JWT + socket.io + socket.io streams)
- We used this for docker container access for developers needs.
- Streams views
- It kills process on exit```
Usage: plus.shell [options] [command]Commands:
start
run [command...]Options:
-h, --help output usage information
-V, --version output the version number
-p, --port [port] Port : 10022 is default
-h, --host [host] Host : localhost or maydomain.com.dev or IP
-k, --key [key] Key : this is text password, must be same for client and server
-d, --dir [dir] Work dir : path to the work dir > $ plus.shell -d /project start
```## Examples
#### Start server
```
$ plus.shell start
plus.shell -> 0.0.0.0:10022
```#### Run remote commands
```
$ plus.shell run -- echo hello
hello
```### docker examples
**docker-compose.yml**
```
app:
build: ./
working_dir: /project
volumes:
- ./:/project
command: concurrently "plus.shell --dir /project start" "echo start-your-app"
ports:
- "10022:10022"
```**Dockerfile**
```
FROM ubuntu:preciseRUN mkdir /project
WORKDIR /projectRUN apt-get update
RUN apt-get install -y build-essential git curl# node.js
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
RUN apt-get install -y nodejs# npm packages
RUN npm install -g concurrently plus.shell
```Be happy!
your [+1G Team](http://plus1generation.com/)