No description
Find a file
2021-01-31 12:45:06 +02:00
.github fix(docker) images: change alpine images to be part of master image (#316) 2021-01-19 17:36:27 +02:00
.webpack feature(client) view: show markdown without shift 2021-01-17 15:48:34 +02:00
bin chore(cloudcmd) simportConfig -> importConfig 2021-01-05 18:04:42 +02:00
client feature(cloudcmd) improve error handling when viewing or editing a file 2021-01-30 11:19:10 +02:00
common fix(dom) bug in Firefox with Imagus extension enabled: change getCurrentName to read from data-name instead of title (#313) 2021-01-18 21:59:37 +02:00
css chore(cloudcmd) lint 2020-12-30 14:41:27 +02:00
docker feature(docker) add support of multi-arch builds (#291) 2021-01-19 13:56:00 +02:00
font feature(user-menu) add (#221) 2019-05-13 17:45:59 +03:00
html feature(cloudcmd) only user menu on f2 2019-08-14 15:45:11 +03:00
img feature(img) add file-link, directory-link 2018-10-11 17:36:04 +03:00
json feature(modules) socket.io v3.1.0 2021-01-17 17:10:21 +02:00
man feature(cloudcmd) remove --progress option, make always enabled 2019-09-21 22:01:15 +03:00
server feature(package) mellow v3.0.0 2021-01-21 16:48:08 +02:00
static feature(package) supertape v3.10.0 2020-12-21 15:19:18 +02:00
test chore(package) v15.4.3 2021-01-25 20:56:57 +02:00
tmpl feature(cloudcmd) remove --progress option, make always enabled 2019-09-21 22:01:15 +03:00
.babelrc.json chore(cloudcmd) lint 2020-12-30 14:41:27 +02:00
.browserslistrc chore(putout) prepare for webpack v5 2020-10-17 18:04:35 +03:00
.cloudcmd.menu.js feature(package) supertape v3.10.0 2020-12-21 15:19:18 +02:00
.dockerignore chore(cloudcmd) lint 2020-12-03 18:27:59 +02:00
.editorconfig feature(editorconfig) exclude hbs from insert_final_newline 2016-02-20 15:44:09 -05:00
.eslintrc.js feature(cloudcmd) improve error handling when viewing or editing a file 2021-01-30 11:19:10 +02:00
.gitignore chore(cloudcmd) lint: remove useless arguments 2020-02-17 17:17:16 +02:00
.madrun.mjs feature(docker) add support of multi-arch builds (#291) 2021-01-19 13:56:00 +02:00
.npmignore feature(cloudcmd) IO.mv -> IO.move 2020-08-14 17:14:45 +03:00
.nycrc.json chore(cloudcmd) lint 2020-12-28 20:14:10 +02:00
.putout.json feature(package) putout v14.0.0 2021-01-26 19:28:03 +02:00
.travis.yml feature(docker) add support of multi-arch builds (#291) 2021-01-19 13:56:00 +02:00
.yaspellerrc docs(readme) spell 2021-01-19 18:08:38 +02:00
app.json fix(cloudcmd) app, help: remove duplicate keys 2020-11-25 20:54:47 +02:00
ChangeLog chore(package) v15.5.0 2021-01-30 11:26:12 +02:00
CODE_OF_CONDUCT.md test(cloudcmd) skip: connect_error tests 2020-11-16 17:40:32 +02:00
CONTRIBUTING.md test(cloudcmd) skip: connect_error tests 2020-11-16 17:40:32 +02:00
cssnano.config.js chore(cssnano) lint 2021-01-21 20:17:31 +02:00
docker-compose.yml feature(docker-compose) add 2016-03-09 07:58:18 -05:00
favicon.ico feature(favicon) add 2014-03-02 07:05:40 -05:00
HELP.md docs(readme) require -> import 2021-01-30 11:41:50 +02:00
LICENSE docs(license) 2019 2018-12-20 18:01:50 +02:00
manifest.yml chore(manifest) rm trailing spaces 2015-02-27 09:25:00 -05:00
package.json fix(cloudcmd) cannot create a directory (#314) 2021-01-31 12:45:06 +02:00
README.md docs(readme) require -> import 2021-01-30 11:41:50 +02:00
webpack.config.js feature(package) webpack-merge v5.0.8 2020-07-08 20:04:13 +03:00

Cloud Commander v15.5.0 Build Status Codacy Gitter

Main Blog Live(Heroku)

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:

import http from 'http';
import cloudcmd from 'cloudcmd';
import io from 'socket.io';
import express from 'express';

const app = 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 filePicker = {
    data: {
        FilePicker: {
            key: 'key',
        },
    },
};

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

const {
    createConfigManager,
    configPath,
} = cloudcmd;

const configManager = createConfigManager({
    configPath,
});

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

server.listen(port);

Docker

The docker images are provided for multiple architectures and types. The following list shows all existing images:

Architecture Type
amd64 linux
arm/v7 linux
arm64 (arm/v8) linux
amd64 linux-alpine
arm/v7 linux-alpine
arm64 (arm/v8) linux-alpine

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

docker run -it --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:

License

MIT