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", |
|||
"version": "0.0.8", |
|||
"dependencies": { |
|||
"express": "3.5.1", |
|||
"websocket": "", |
|||
"pty.js": "git+https://github.com/terryschen/pty.js", |
|||
"optimist": "", |
|||
"waitpid": "" |
|||
}, |
|||
"description": "Wetty = Web + tty. Terminal access in browser over http/https ", |
|||
"main": "app.js", |
|||
"devDependencies": {}, |
|||
"repository": { |
|||
"type": "git", |
|||
"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" |
|||
"name": "wetty", |
|||
"version": "0.0.9", |
|||
"dependencies": { |
|||
"express": "3.5.1", |
|||
"websocket": "^1.0", |
|||
"pty.js": "git+https://github.com/terryschen/pty.js", |
|||
"optimist": "^0.6", |
|||
"waitpid": "^0.1" |
|||
}, |
|||
"devDependencies": { |
|||
"load-grunt-tasks": "^3.0", |
|||
"grunt": "^0.4", |
|||
"grunt-shell": "^1.1", |
|||
"grunt-mkdir": "^0.1", |
|||
"grunt-git": "^0.3", |
|||
"grunt-contrib-clean": "^0.6" |
|||
}, |
|||
"description": "Wetty = Web + tty. Terminal access in browser over http/https ", |
|||
"main": "app.js", |
|||
"repository": { |
|||
"type": "git", |
|||
"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