No description
Find a file
2017-02-17 16:33:58 +02:00
.github docs(pull_request_teplate) add "-" 2016-11-22 14:40:25 +02:00
bin chore(legacy) _dir -> dir_ 2017-02-08 14:04:13 +02:00
client feature(jshint) ignore reserved words 2017-02-17 16:33:58 +02:00
common feature(util) rm copyObj 2017-02-16 15:32:51 +02:00
css chore(urls) rm " " 2016-12-05 16:35:47 +02:00
font feature(cloudcmd) add logOut 2015-06-12 03:50:09 -04:00
html feature(config) improve speed: decrease config loading count 2017-01-20 17:14:12 +02:00
img feature(cloudcmd) add ability to set packer with: --packer: "tar" or "zip" 2016-11-18 11:40:42 +02:00
json feature(edit-names) add ability to edit file names in editor 2016-12-29 16:07:21 +02:00
man feature(cloudcmd) add ability to set packer with: --packer: "tar" or "zip" 2016-11-18 11:40:42 +02:00
modules refactor(client) extendProto -> module.exports 2017-02-13 16:11:10 +02:00
server feature(cloudcmd) NODE_ENV: debug -> development 2017-02-14 16:17:38 +02:00
shell chore(ssl) rm " " 2016-06-14 17:56:26 +03:00
test fix(cloudcmd) prefix: duplicate (#102) 2017-01-26 10:28:31 +02:00
tmpl feature(cloudcmd) add ability to set packer with: --packer: "tar" or "zip" 2016-11-18 11:40:42 +02:00
.babelrc feature(cloudcmd) es2015-ify 2016-11-14 14:28:13 +02:00
.bowerrc feature(bower) add modules 2015-01-05 15:17:28 -05:00
.dockerignore feature(docker) add 2015-12-09 09:39:19 -05:00
.editorconfig feature(editorconfig) exclude hbs from insert_final_newline 2016-02-20 15:44:09 -05:00
.eslintrc feature(eslintrc) add no-use-before-define 2017-02-17 16:21:59 +02:00
.gitignore feature(cloudcmd) NODE_ENV: debug -> development 2017-02-14 16:17:38 +02:00
.jscsrc feature(jscs) requireVarDeclFirst: false 2016-11-09 12:48:33 +02:00
.jshintrc feature(jshint) ignore reserved words 2017-02-17 16:33:58 +02:00
.npmignore chore(npmignore) rm cercle.yml 2017-02-13 17:55:48 +02:00
.stylelintrc.yml feature(package) stylelint-config-standard v16.0.0 2017-02-02 17:48:15 +02:00
.travis.yml chore(travis) rm 4 2016-10-27 14:13:21 +03:00
.yaspellerrc chore(yaspeller) Olena Zalitok 2016-11-22 11:44:51 +02:00
app.json feature(package) scripts: add heroku-postbuild 2017-02-13 17:51:20 +02:00
bower.json refactor(client) extendProto -> module.exports 2017-02-13 16:11:10 +02:00
ChangeLog chore(package) v6.5.4 2017-02-17 14:17:29 +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) rm ":" 2016-03-24 10:04:30 -04:00
Dockerfile.alpine chore(dockerfile) rm ":" 2016-03-24 10:04:30 -04:00
favicon.ico feature(favicon) add 2014-03-02 07:05:40 -05:00
HELP.md chore(package) v6.5.4 2017-02-17 14:17:29 +02: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(package) v6.5.4 2017-02-17 14:17:29 +02:00
README.md chore(package) v6.5.4 2017-02-17 14:17:29 +02:00
webpack.config.js chore(webpack) rm unused dirExternal 2017-02-17 11:02:16 +02:00

Cloud Commander v6.5.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'
];

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

server.listen(port);

Docker

Cloud Commander could be used as a 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 /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