/server-wrapper

Simple CLI application wrapper in node.js with a web-ui

Primary LanguageHandlebars

Server-wrapper

Very simple wrapper for CLI applications with a web interface (mainly intended for server software).

Screenshot

Configuration

Example config.js:

module.exports = {
	cmd: 'java',
	args: [
		'-Xmx1024M', 
		'-Xms1024M',
		'-jar',
		'minecraft_server.1.12.jar',
		'nogui'
	],
	cwd: './minecraft/',
	port: 3000
}

Run it

git clone https://github.com/LiljebergXYZ/server-wrapper.git
npm install
npm start