No description
Find a file
2024-12-13 14:51:41 +02:00
.github chore: actions: node v22 2024-08-16 12:08:02 +03:00
.webpack feature: dark theme: add (#332) 2024-03-29 13:27:38 +02:00
bin feature: cloudcmd: add ability to hide dot files (#307) 2024-08-17 13:17:01 +03:00
client chore: cloudcmd: actions: lint ☘️ 2024-11-13 21:13:27 +00:00
common chore: cloudcmd: actions: lint ☘️ 2024-08-17 10:19:32 +00:00
css feature: css: --is-mobile: add 2024-11-06 16:59:03 +02:00
docker feature: docker: add image source label to dockerfiles (#421) 2024-10-28 09:56:38 +01:00
font feature: cloudcmd: add context menu option to toggle file selection (#420) 2024-10-27 12:05:42 +02:00
html fix: cloudcmd: make manifest.json accessible when authentication is enabled (#428) 2024-11-22 11:14:34 +01:00
img feature: cloudcmd: Add support for Progressive Web App (#426) 2024-11-13 22:11:13 +01:00
json feature: cloudcmd: add ability to hide dot files (#307) 2024-08-17 13:17:01 +03:00
man feature: cloudcmd: add ability to hide dot files (#307) 2024-08-17 13:17:01 +03:00
public fix: cloudcmd: make manifest.json accessible when authentication is enabled (#428) 2024-11-22 11:14:34 +01:00
server refactor: server: auth: destructure 2024-11-22 12:19:14 +02:00
static fix: cloudcmd: make manifest.json accessible when authentication is enabled (#428) 2024-11-22 11:14:34 +01:00
test feature: cloudcmd: putout v37.0.1 2024-12-13 14:51:21 +02:00
tmpl feature: cloudcmd: add ability to hide dot files (#307) 2024-08-17 13:17:01 +03:00
.babelrc.json chore: proposal -> transform 2023-12-12 16:09:30 +02: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: server: route: get rid of mock-require 2024-03-21 09:57:49 +02:00
.eslintrc.js chore: lint 2024-03-21 08:46:31 +02:00
.gitignore chore(cloudcmd) lint using actions 2022-01-08 18:47:37 +00:00
.madrun.mjs chore: cloudcmd: actions: lint ☘️ 2024-07-03 12:01:49 +00:00
.npmignore chore: lint 2024-04-17 00:04:12 +03:00
.nvmrc chore: npmvrc: add 2024-07-19 18:15:40 +03:00
.nycrc.json chore: lint 2024-04-17 00:04:12 +03:00
.putout.json chore: lint 2024-10-27 12:05:51 +02: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: cloudcmd: v18.4.1 2024-12-13 14:51:41 +02:00
CODE_OF_CONDUCT.md test(cloudcmd) skip: connect_error tests 2020-11-16 17:40:32 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2024-06-13 09:11:36 +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: cloudcmd: v18.4.1 2024-12-13 14:51:41 +02:00
LICENSE docs: LICENSE: 2024 2024-01-30 09:31:19 +02:00
manifest.yml chore: lint 2023-07-09 12:43:24 +03:00
package.json chore: cloudcmd: v18.4.1 2024-12-13 14:51:41 +02:00
README.md chore: cloudcmd: v18.4.1 2024-12-13 14:51:41 +02:00
webpack.config.js chore: lint 2023-07-09 12:43:24 +03:00

Cloud Commander v18.4.1 Build Status Codacy Gitter

Main Blog Support Demo

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 'node: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
arm64 (arm/v8) linux
amd64 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