No description
Find a file
2017-08-02 12:03:00 +03:00
.github docs(issue) add command line, config 2017-04-18 12:58:39 +03:00
bin feature(cloudcmd) add support of env variable CLOUDCMD_CONSOLE 2017-07-28 14:30:10 +03:00
client refactor(dom) updateCurrentInfo: current 2017-07-31 15:23:34 +03:00
common rafactor(cloudfunc) buildFromJSON: getHeaderField: add 2017-08-02 12:03:00 +03:00
css fix(config) aditional panel 2017-07-31 15:23:37 +03:00
font feature(cloudcmd) add terminal button (#115) 2017-05-15 17:38:59 +03:00
html feature(css) add minification build step 2017-07-06 17:35:27 +03:00
img chore(package) v7.1.1 2017-07-27 16:37:46 +03:00
json feature(contact) add ability to hide contact button with --no-contact (#125) 2017-07-28 14:29:02 +03:00
man feature(contact) add ability to hide contact button with --no-contact (#125) 2017-07-28 14:29:02 +03:00
modules feature(bower) smalltalk v2.4.1 (#117) 2017-07-10 12:43:50 +03:00
server feature(contact) add ability to hide contact button with --no-contact (#125) 2017-07-28 14:29:02 +03:00
shell chore(ssl) rm " " 2016-06-14 17:56:26 +03:00
test rafactor(cloudfunc) buildFromJSON: getHeaderField: add 2017-08-02 12:03:00 +03:00
tmpl feature(cloudcmd) --name: add ability to set tab name in web browser 2017-07-26 17:57:26 +03:00
.babelrc chore(babelrc) add " " 2017-03-06 18:02:52 +02:00
.bowerrc feature(bower) add modules 2015-01-05 15:17:28 -05:00
.dockerignore feature(dockerignore) reduce size of image 2017-05-30 18:01:59 +03:00
.editorconfig feature(editorconfig) exclude hbs from insert_final_newline 2016-02-20 15:44:09 -05:00
.eslintrc feature(package) add eslint-plugin-node 2017-07-14 16:26:40 +03:00
.eslintrc.server feature(package) add eslint-plugin-node 2017-07-14 16:26:40 +03:00
.gitignore feature(gitignore) add yarn-error.log 2017-07-20 11:20:51 +03:00
.jscsrc feature(jscs) requireVarDeclFirst: false 2016-11-09 12:48:33 +02:00
.jshintrc chore(jshint) regular parameters should not come after default parameters 2017-04-20 16:57:55 +03:00
.npmignore feature(gitignore) add yarn-error.log 2017-07-20 11:20:51 +03:00
.stylelintrc.yml feature(package) stylelint-config-standard v16.0.0 2017-02-02 17:48:15 +02:00
.travis.yml feature(travis) node_js: 7 -> 8 2017-05-31 12:34:27 +03:00
.yaspellerrc chore(yaspeller) gz 2017-04-24 16:43:13 +03:00
app.json feature(cloudcmd) add support of env variable CLOUDCMD_CONSOLE 2017-07-28 14:30:10 +03:00
bower.json feature(bower) smalltalk v2.4.1 (#117) 2017-07-10 12:43:50 +03:00
ChangeLog chore(package) v7.2.1 2017-07-31 15:29:45 +03:00
CONTRIBUTING.md docs(contributing) rm Branch 2015-03-13 03:25:40 -04:00
docker-compose.yml feature(docker-compose) add 2016-03-09 07:58:18 -05:00
Dockerfile feature(Dockerfile) decrease image size: clean npm cache after install 2017-07-20 11:29:03 +03:00
Dockerfile.alpine feature(Dockerfile) decrease image size: clean npm cache after install 2017-07-20 11:29:03 +03:00
favicon.ico feature(favicon) add 2014-03-02 07:05:40 -05:00
HELP.md chore(package) v7.2.1 2017-07-31 15:29:45 +03:00
LICENSE docs(license) 2017 2017-01-06 12:20:54 +02:00
manifest.yml chore(manifest) rm trailing spaces 2015-02-27 09:25:00 -05:00
package.json chore(util) lint 2017-08-01 17:06:48 +03:00
README.md chore(package) v7.2.1 2017-07-31 15:29:45 +03:00
webpack.config.js chore(webpack.config) add ";" 2017-07-14 16:26:39 +03:00

Cloud Commander v7.2.1 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