No description
Find a file
2023-08-07 15:09:19 +00:00
.github chore: lint 2023-08-07 17:40:25 +03:00
.webpack chore: lint 2023-07-09 12:43:24 +03:00
bin chore: lint 2023-08-07 17:40:25 +03:00
client chore: cloudcmd: actions: lint ☘️ 2023-08-07 15:09:19 +00:00
common chore: lint 2023-08-07 17:40:25 +03:00
css chore: lint 2023-07-09 12:43:24 +03:00
docker fix(docker) images: make dockerfiles use node:lts-buster and node:lts-buster-slim for alpine (#363) 2022-01-06 15:23:34 +02:00
font feature(cloudcmd) icons: add archive icon for small screens 2021-03-01 22:58:33 +02:00
html feature(cloudcmd) only user menu on f2 2019-08-14 15:45:11 +03:00
img chore(archive-link) update 2021-03-05 21:01:10 +02:00
json feature: client: add Command Line 2022-08-06 18:05:14 +03:00
man feature(cloudcmd) remove --progress option, make always enabled 2019-09-21 22:01:15 +03:00
server chore: lint 2023-08-07 17:40:25 +03:00
static chore: lint 2023-08-07 17:40:25 +03:00
test chore: cloudcmd: actions: lint ☘️ 2023-08-07 15:09:19 +00:00
tmpl chore(cloudcmd) actions: lint ☘️ 2022-06-17 15:34:35 +03:00
.babelrc.json chore: lint 2023-08-07 17:54:48 +03:00
.browserslistrc chore(putout) prepare for webpack v5 2020-10-17 18:04:35 +03:00
.cloudcmd.menu.js test: update fixtures 2023-07-08 20:40:12 +03: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 fix: lint: eslint-plugin-node -> eslint-plugin-n 2023-01-19 22:50:04 +02:00
.gitignore chore(cloudcmd) lint using actions 2022-01-08 18:47:37 +00:00
.madrun.mjs chore: cloudcmd: actions: lint ☘️ 2023-07-09 09:51:29 +00:00
.npmignore chore(cloudcmd-hq) add 2021-02-07 15:12:23 +02:00
.nycrc.json chore(cloudcmd) lint 2020-12-28 20:14:10 +02:00
.putout.json chore: lint 2023-07-09 12:43:24 +03:00
.typos.toml chore(actions) add ☘️ 2022-06-17 15:34:35 +03:00
.yaspellerrc chore(cloudcmd) spell 2021-06-08 14:14:55 +03:00
app.json fix(cloudcmd) app, help: remove duplicate keys 2020-11-25 20:54:47 +02:00
ChangeLog chore: package: v16.16.1 2023-08-07 17:56:00 +03:00
CODE_OF_CONDUCT.md test(cloudcmd) skip: connect_error tests 2020-11-16 17:40:32 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2023-05-17 12:00:04 +03:00
cssnano.config.js chore: lint 2023-07-09 12:43:24 +03:00
docker-compose.yml chore: lint 2023-07-09 12:43:24 +03:00
favicon.ico feature(favicon) add 2014-03-02 07:05:40 -05:00
HELP.md chore: package: v16.16.1 2023-08-07 17:56:00 +03:00
LICENSE docs(license) 2022 2022-06-03 19:07:50 +03:00
manifest.yml chore: lint 2023-07-09 12:43:24 +03:00
package.json chore: package: v16.16.1 2023-08-07 17:56:00 +03:00
README.md Update README.md 2023-08-07 18:06:56 +03:00
webpack.config.js chore: lint 2023-07-09 12:43:24 +03:00

Cloud Commander v16.16.1 Build Status Codacy Gitter

Main Blog Support Demo

Node CI

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 {Server} from 'socket.io';
import express from 'express';

const app = express();

const port = 1337;
const prefix = '/';

const server = http.createServer(app);
const socket = new Server(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

Documentation

More documentation you can find on https://cloudcmd.io/.

Get involved

There is a lot ways to be involved in Cloud Commander development:

License

MIT