butlerx
					
					6 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B37CA765BAA89170
						
					
				
			
		
		
		
	
		
			
				 3 changed files with 
23 additions and 
13 deletions
			 
			
		 
		
			
				- 
					
					
					 
					README.md
				
 
			
				- 
					
					
					 
					package.json
				
 
			
				- 
					
					
					 
					yarn.lock
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -9,6 +9,17 @@ websockets rather then Ajax and hence better response time. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					## Install | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Requiments | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					To instal WeTTy you'll need to have the following installed: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- Node.JS 10+ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- make | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- python | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- build-essential | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### From source | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					WeTTy can be installed from source or from npm. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					To install from source run: | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -20,11 +31,15 @@ $ yarn | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					$ yarn build | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					``` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### From NPM | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					To install it globally from npm use yarn or npm: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- yarn, `yarn global add wetty` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- npm, `npm i -g wetty` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Autologin | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					For auto-login feature you'll need sshpass installed (NOT required for rest of | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					the program). | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
						
					 | 
				
				 | 
				
					@ -1,6 +1,6 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  "name": "wetty", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  "version": "1.1.5", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  "version": "1.1.6", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  "description": "WeTTY = Web + TTY. Terminal access in browser over http/https", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  "homepage": "https://github.com/krishnasrinivas/wetty", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  "repository": { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -55,7 +55,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "helmet": "^3.20.1", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "lodash": "^4.17.15", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "morgan": "^1.9.1", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "node-pty": "^0.8.1", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "node-pty": "0.9.0-beta28", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "serve-favicon": "^2.5.0", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "socket.io": "^2.2.0", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "socket.io-client": "^2.2.0", | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -4910,12 +4910,7 @@ mute-stream@0.0.7: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					nan@2.12.1: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  version "2.12.1" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw== | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					nan@^2.12.1, nan@^2.13.2: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					nan@^2.12.1, nan@^2.13.2, nan@^2.14.0: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  version "2.14.0" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -5047,12 +5042,12 @@ node-pre-gyp@^0.12.0: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    semver "^5.3.0" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    tar "^4" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					node-pty@^0.8.1: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  version "0.8.1" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.8.1.tgz#94b457bec013e7a09b8d9141f63b0787fa25c23f" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  integrity sha512-j+/g0Q5dR+vkELclpJpz32HcS3O/3EdPSGPvDXJZVJQLCvgG0toEbfmymxAEyQyZEpaoKHAcoL+PvKM+4N9nlw== | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					node-pty@0.9.0-beta28: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  version "0.9.0-beta28" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.9.0-beta28.tgz#f086cea157b4640bace2ea787136fde73a26b273" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  integrity sha512-qpLJE52oLRIOEvIeVmPzymn+zqUnYhPmlNjSRW60PwEZvhcdmazdP0IJcQfEK6ivwml14TzQLObMjEj8FFO7xg== | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  dependencies: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    nan "2.12.1" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    nan "^2.14.0" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					node-releases@^1.1.29: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  version "1.1.29" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |