Skip to content
βœ¨β˜οΈπŸ“βœ¨ Cloud Commander file manager for the web with console and editor.
Branch: master
Clone or download
coderaiser
Latest commit 1cfb58d Apr 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github docs(issue) add command line, config Apr 18, 2017
.webpack chore(cloudcmd) add dangle-comma Feb 1, 2019
bin feature(cloudcmd) split prefix and prefixSocket finally Apr 1, 2019
client feature(edit-names) add bulk rename (#231) Apr 15, 2019
common chore(cloudcmd) lint Apr 4, 2019
css
font fix(font) copy path May 29, 2018
html chore(index) add quotes Aug 16, 2018
img
json fix(help) add --terminal-auto-restart Feb 1, 2019
man feature(package) add dropbox support Nov 9, 2018
server chore(cloudcmd) lint Apr 4, 2019
test chore(cloudcmd) lint Mar 14, 2019
tmpl feature(config) add ability to remove auth change from config with he… Oct 16, 2018
.appveyor.yml
.babelrc feature(package) remove @babel/plugin-proposal-object-rest-spread Mar 22, 2019
.dockerignore feature(cloudcmd) rm jquery Sep 19, 2018
.editorconfig feature(editorconfig) exclude hbs from insert_final_newline Feb 20, 2016
.eslintrc.json chore(cloudcmd) eslint-plugin-putout: one-line-destructuring Feb 1, 2019
.eslintrc.server
.gitignore feature(cloudcmd) rm jquery Sep 19, 2018
.npmignore chore(npmignore) add madrun.js Feb 16, 2019
.putout.json feature(package) putout v4.0.0 Feb 16, 2019
.stylelintrc.yml chore(stylelint) max-empty-lines Sep 27, 2018
.travis.yml chore(travis) add node v11 Oct 25, 2018
.yaspellerrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md docs(contributing) rm Branch Mar 13, 2015
ChangeLog chore(package) v12.1.0 Apr 15, 2019
Dockerfile
Dockerfile.alpine fix(Dockerfile) WORKDIR (#182) Nov 22, 2018
HELP.md chore(package) v12.1.0 Apr 15, 2019
LICENSE docs(license) 2019 Dec 20, 2018
README.md chore(package) v12.1.0 Apr 15, 2019
app.json
cssnano.config.js
docker-compose.yml feature(docker-compose) add Mar 9, 2016
favicon.ico feature(favicon) add Mar 2, 2014
madrun.js
manifest.yml chore(manifest) rm trailing spaces Feb 27, 2015
now.json
package.json feature(package) nyc v14.0.0 Apr 17, 2019
webpack.config.js

README.md

Cloud Commander v12.1.0 Build Status Now status Codacy Gitter OpenCollective OpenCollective

Main Blog Live(Heroku, Now)

Cloud Commander a file manager for the web 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.

View

You will see something similar to this. View

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 = '/';

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

const config = {
    name: 'cloudcmd :)',
};

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

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

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

app.use(prefix, 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 -w=/root -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

You can’t perform that action at this time.