Krishna Srinivas
10 years ago
10 changed files with 11344 additions and 10817 deletions
@ -0,0 +1,16 @@ |
|||||
|
lib-cov |
||||
|
*.seed |
||||
|
*.log |
||||
|
*.csv |
||||
|
*.dat |
||||
|
*.out |
||||
|
*.pid |
||||
|
*.gz |
||||
|
|
||||
|
tmp |
||||
|
pids |
||||
|
logs |
||||
|
results |
||||
|
|
||||
|
npm-debug.log |
||||
|
node_modules/* |
@ -0,0 +1,37 @@ |
|||||
|
module.exports = function (grunt) { |
||||
|
|
||||
|
require('load-grunt-tasks')(grunt); |
||||
|
|
||||
|
var config = { |
||||
|
mkdir: { |
||||
|
tmp: { |
||||
|
options: { |
||||
|
create: ['tmp'] |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
gitclone: { |
||||
|
hterm: { |
||||
|
options: { |
||||
|
cwd: './tmp', |
||||
|
repository: 'https://chromium.googlesource.com/apps/libapps' |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
shell: { |
||||
|
build_hterm: { |
||||
|
command: 'LIBDOT_SEARCH_PATH=$(pwd) ./libdot/bin/concat.sh -i ./hterm/concat/hterm_all.concat -o ../../public/wetty/hterm_all.js', |
||||
|
options: { |
||||
|
execOptions: { |
||||
|
cwd: './tmp/libapps' |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
clean: ['./tmp'] |
||||
|
}; |
||||
|
|
||||
|
grunt.initConfig(config); |
||||
|
|
||||
|
grunt.registerTask('update-hterm', ['mkdir:tmp', 'gitclone:hterm', 'shell:build_hterm', 'clean']); |
||||
|
}; |
@ -0,0 +1,13 @@ |
|||||
|
# Upstart script |
||||
|
# /etc/init/wetty.conf |
||||
|
|
||||
|
description "Web TTY" |
||||
|
author "Wetty" |
||||
|
|
||||
|
start on started mountall |
||||
|
stop on shutdown |
||||
|
|
||||
|
respawn |
||||
|
respawn limit 20 5 |
||||
|
|
||||
|
exec sudo -u root wetty -p 3000 |
@ -0,0 +1,3 @@ |
|||||
|
#!/usr/bin/env node
|
||||
|
|
||||
|
require("../app"); |
@ -1,24 +1,35 @@ |
|||||
{ |
{ |
||||
"name": "wetty", |
"name": "wetty", |
||||
"version": "0.0.8", |
"version": "0.0.9", |
||||
"dependencies": { |
"dependencies": { |
||||
"express": "3.5.1", |
"express": "3.5.1", |
||||
"websocket": "", |
"websocket": "^1.0", |
||||
"pty.js": "git+https://github.com/terryschen/pty.js", |
"pty.js": "git+https://github.com/terryschen/pty.js", |
||||
"optimist": "", |
"optimist": "^0.6", |
||||
"waitpid": "" |
"waitpid": "^0.1" |
||||
}, |
}, |
||||
"description": "Wetty = Web + tty. Terminal access in browser over http/https ", |
"devDependencies": { |
||||
"main": "app.js", |
"load-grunt-tasks": "^3.0", |
||||
"devDependencies": {}, |
"grunt": "^0.4", |
||||
"repository": { |
"grunt-shell": "^1.1", |
||||
"type": "git", |
"grunt-mkdir": "^0.1", |
||||
"url": "git://github.com/krishnasrinivas/wetty.git" |
"grunt-git": "^0.3", |
||||
}, |
"grunt-contrib-clean": "^0.6" |
||||
"author": "Krishna Srinivas <krishna.srinivas@gmail.com> (https://github.com/krishnasrinivas)", |
}, |
||||
"license": "MIT", |
"description": "Wetty = Web + tty. Terminal access in browser over http/https ", |
||||
"bugs": { |
"main": "app.js", |
||||
"url": "https://github.com/krishnasrinivas/wetty/issues" |
"repository": { |
||||
}, |
"type": "git", |
||||
"homepage": "https://github.com/krishnasrinivas/wetty" |
"url": "git://github.com/krishnasrinivas/wetty.git" |
||||
|
}, |
||||
|
"author": "Krishna Srinivas <krishna.srinivas@gmail.com> (https://github.com/krishnasrinivas)", |
||||
|
"license": "MIT", |
||||
|
"bugs": { |
||||
|
"url": "https://github.com/krishnasrinivas/wetty/issues" |
||||
|
}, |
||||
|
"homepage": "https://github.com/krishnasrinivas/wetty", |
||||
|
"preferGlobal": "true", |
||||
|
"bin": { |
||||
|
"wetty": "./bin/wetty.js" |
||||
|
} |
||||
} |
} |
||||
|
File diff suppressed because it is too large
File diff suppressed because it is too large
Loading…
Reference in new issue