Cloud Commander orthodox web file manager with console and editor
Cloud Commander orthodox web file manager with console and editor.
npm i cloudcmd -g
For starting just type in console:
http://localhost:8000 in browser.
Cloud Commander could be easily deployed to Heroku.
var http = require'http'cloudcmd = require'cloudcmd'express = require'express'io = require'socket.io'app = expressPORT = 1337PREFIX = '/cloudcmd'serversocket;server = httpcreateServerapp;socket = iolistenserverpath: PREFIX + '/socket.io';appusecloudcmdsocket: socket /* used by Config, Edit (optional) and Console (required) */config: /* config data (optional) */prefix: PREFIX /* base URL or function which returns base URL (optional) */;serverlistenPORT;
Cloud Commander could be used as docker container this way:
docker run -v ~:/root -v /:/mnt/fs -t -p 8000:8000 coderaiser/cloudcmd
Config would be read from home directory, hosts root file system would be mount to
8000 port would be exposed to hosts port.
Also you could use docker compose with
version: '2'services:web:ports:- 8000:8000volumes:- ~:/root- /:/mnt/fsimage: coderaiser/cloudcmd
When you create this file run: