No description
Find a file
2018-06-07 11:57:38 +03:00
.github docs(issue) add command line, config 2017-04-18 12:58:39 +03:00
.webpack feature(edit-names-vim) add 2018-06-07 11:57:34 +03:00
bin feature(cloudcmd) --one-panel-mode -> --one-file-panel 2018-05-25 17:03:32 +03:00
client fix(operation) deleteSilent: refresh: on error -> always 2018-06-07 11:57:38 +03:00
common fix(cloudcmd) cyrillic symbols in names 2018-05-01 21:56:14 +03:00
css feature(cloudcmd) clear storage -> copy path (#173) 2018-05-25 17:03:07 +03:00
font fix(font) copy path 2018-05-29 16:42:03 +03:00
html fix(index) zoom on tap 2018-06-04 14:52:36 +03:00
img chore(package) v10.0.2 2018-05-29 17:12:11 +03:00
json feature(edit-names-vim) add 2018-06-07 11:57:34 +03:00
man feature(cloudcmd) --one-panel-mode -> --one-file-panel 2018-05-25 17:03:32 +03:00
modules feature(package) smalltalk: bower -> npm 2018-04-27 17:04:39 +03:00
server feature(rest) add memory info 2018-06-01 16:31:34 +03:00
test test(cloudcmd) sw 2018-05-31 13:54:28 +03:00
tmpl chore(tmpl) rm htmlDialogs 2018-05-25 17:47:17 +03:00
.appveyor.yml feature(appveyor) add terminal 2017-08-16 10:33:20 +03:00
.babelrc feature(package) babel v7 2018-06-01 16:31:30 +03:00
.bowerrc feature(bower) add modules 2015-01-05 15:17:28 -05:00
.dockerignore chore(gitignore) add yarn.lock 2018-05-14 12:07:07 +03:00
.editorconfig feature(editorconfig) exclude hbs from insert_final_newline 2016-02-20 15:44:09 -05:00
.eslintrc test(before) add connect 2018-04-17 11:21:46 +03:00
.eslintrc.server chore(eslintrc) server: quotes 2018-04-20 15:06:29 +03:00
.gitignore feature(gitignore) add yarn-error.log 2017-07-20 11:20:51 +03:00
.npmignore chore(gitignore) add yarn.lock 2018-05-14 12:07:07 +03:00
.stylelintrc.yml feature(package) stylelint-config-standard v18.0.0 2017-11-27 16:29:47 +02:00
.travis.yml chore(travis) rm node v9 2018-05-11 18:17:58 +03:00
.yaspellerrc chore(yaspeller) add maintainers, sexualized 2018-01-16 17:23:45 +02:00
app.json chore(app) rm duplicate CLOUDCMD_ONE_FILE_PANEL 2018-05-25 17:26:07 +03:00
bower.json feature(package) smalltalk: bower -> npm 2018-04-27 17:04:39 +03:00
ChangeLog chore(package) v10.0.3 2018-06-04 16:36:05 +03:00
CODE_OF_CONDUCT.md docs(code-of-conduct) add 2017-12-22 12:14:36 +02: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 chore(Dockerfile) node v10 2018-05-29 10:55:08 +03:00
Dockerfile.alpine chore(Dockerfile) node v10 2018-05-29 10:55:08 +03:00
favicon.ico feature(favicon) add 2014-03-02 07:05:40 -05:00
HELP.md feature(edit-names-vim) add 2018-06-07 11:57:34 +03:00
LICENSE docs(license) 2018 2017-10-20 16:14:40 +03:00
manifest.yml chore(manifest) rm trailing spaces 2015-02-27 09:25:00 -05:00
now.json fix(now) files: add .webpack 2018-04-17 14:34:04 +03:00
package.json feature(package) pullout v2.0.0 2018-06-06 11:43:54 +03:00
README.md chore(package) v10.0.3 2018-06-04 16:36:05 +03:00
webpack.config.js feature(webpack) deepmerge -> webpack-merge 2018-04-11 11:31:32 +03:00

Cloud Commander v10.0.3 License NPM version Dependency Status Build Status Now status Package Quality Codacy Gitter OpenCollective OpenCollective

Main Blog Live(Heroku, Now)

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