JavaScript CSS HTML Shell
Latest commit fd7a548 Jun 2, 2017 coderaiser feature(package) docker:rm: add -f: force
Permalink
Failed to load latest commit information.
.github docs(issue) add command line, config Apr 18, 2017
bin chore(release) early return May 23, 2017
client chore(index) add ";" May 25, 2017
common feature(cloudcmd) store -> fullstore May 22, 2017
css feature(cloudcmd) add terminal button (#115) May 15, 2017
font feature(cloudcmd) add terminal button (#115) May 15, 2017
html feature(cloudcmd) add terminal button (#115) May 15, 2017
img feature(terminal) add optional --terminal support Mar 4, 2017
json feature(edit-file-vim) editor: add vim mode on shift + f4 May 17, 2017
man feature(terminal) add optional --terminal support Mar 4, 2017
modules feature(bower) smalltalk v2.4.0 May 23, 2017
server feature(cloudcmd) store -> fullstore May 22, 2017
shell chore(ssl) rm " " Jun 14, 2016
test feature(cloudcmd) store -> fullstore May 22, 2017
tmpl feature(config) rm notification: do nothing Feb 22, 2017
.babelrc chore(babelrc) add " " Mar 6, 2017
.bowerrc feature(bower) add modules Jan 5, 2015
.dockerignore feature(dockerignore) reduce size of image May 30, 2017
.editorconfig feature(editorconfig) exclude hbs from insert_final_newline Feb 20, 2016
.eslintrc feature(eslintrc) add no-use-before-define Feb 17, 2017
.gitignore feature(bower) rm emitify Apr 28, 2017
.jscsrc feature(jscs) requireVarDeclFirst: false Nov 9, 2016
.jshintrc chore(jshint) regular parameters should not come after default parame… Apr 20, 2017
.npmignore feature(npmignore) add bower.json, manifest.yml May 30, 2017
.stylelintrc.yml feature(package) stylelint-config-standard v16.0.0 Feb 2, 2017
.travis.yml feature(travis) node_js: 7 -> 8 May 31, 2017
.yaspellerrc chore(yaspeller) gz Apr 24, 2017
CONTRIBUTING.md docs(contributing) rm Branch Mar 13, 2015
ChangeLog chore(package) v6.14.4 May 25, 2017
Dockerfile feature(Dockerfile) Entrypoint: set absolute: add ability to override… May 30, 2017
Dockerfile.alpine feature(Dockerfile) Entrypoint: set absolute: add ability to override… May 30, 2017
HELP.md docs(readme) docker run May 30, 2017
LICENSE docs(license) 2017 Jan 6, 2017
README.md docs(readme) docker run May 30, 2017
app.json feature(cloudcmd) add ability to override editor with CLOUDCMD_EDITOR… May 10, 2017
bower.json feature(bower) smalltalk v2.4.0 May 23, 2017
docker-compose.yml feature(docker-compose) add Mar 9, 2016
favicon.ico feature(favicon) add Mar 2, 2014
manifest.yml chore(manifest) rm trailing spaces Feb 27, 2015
package.json feature(package) docker:rm: add -f: force Jun 2, 2017
webpack.config.js feature(edit-file-vim) editor: add vim mode on shift + f4 May 17, 2017

README.md

Cloud Commander v6.14.4 License NPM version Dependency Status Build Status Package Quality Codacy Gitter OpenCollective OpenCollective

Main Blog Live(Heroku)

Cloud Commander is an orthodox web file manager with console and editor.

Cloud Commander

Install

npm i cloudcmd -g

Start

For starting just type in console:

cloudcmd

How to use?

Open url http://localhost:8000 in browser.

Deploy

Cloud Commander could be easily deployed to Heroku.

Deploy

Using as Middleware

Cloud Commander could be used as middleware for node.js applications based on socket.io and express:

Init package.json:

npm init -y

Install dependencies:

npm i cloudcmd express socket.io -S

And create index.js:

const http = require('http');
const cloudcmd = require('cloudcmd');
const io = require('socket.io');
const app = require('express')();

const port = 1337;
const prefix = '/cloudcmd';

const server = http.createServer(app);
const socket = io.listen(server, {
    path: `${prefix}/socket.io`
});

const config = {
    prefix /* base URL or function which returns base URL (optional)   */
};

const plugins = [
    __dirname + '/plugin.js'
];

const filePicker = {
    data: {
        FilePicker: {
            key: 'key',
        }
    }
};

// override option from json/modules.json
const modules = {filePicker};

app.use(cloudcmd({
    socket,  /* used by Config, Edit (optional) and Console (required)   */
    config,  /* config data (optional)                                   */
    plugins, /* optional */
    modules, /* optional */
}));

server.listen(port);

Docker

Cloud Commander could be used as a docker container this way:

docker run -t --rm -v ~:/root -v /:/mnt/fs -p 8000:8000 coderaiser/cloudcmd

Config would be read from home directory, hosts root file system would be mount to /mnt/fs, 8000 port would be exposed to hosts port.

Also you could use docker compose with docker-compose.yml:

version: '2'
services:
  web:
    ports:
      - 8000:8000
    volumes:
      - ~:/root
      - /:/mnt/fs
    image: coderaiser/cloudcmd

When you create this file run:

docker-compose up

Get involved

There is a lot ways to be involved in Cloud Commander development:

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

License

MIT