No description
Find a file
2012-07-24 12:18:46 +03:00
css minor changes 2012-07-20 10:50:23 +03:00
font minor changes 2012-07-23 09:11:04 -04:00
img folder with images was renamed to img 2012-06-15 13:07:06 +00:00
lib fixed bug with links and titles with spaces in Path of current dir 2012-07-23 17:53:06 +03:00
node_modules moved ip and port to config.json 2012-07-23 06:16:15 -04:00
test add css linter recess 2012-07-09 13:21:09 +03:00
.gitignore moving out minify from cloudcmd submodules 2012-07-21 04:41:21 -04:00
.jshintrc client.js added to travis-lint-testing 2012-06-25 20:05:13 +00:00
.travis.yml Update master 2012-07-02 12:54:34 +03:00
ChangeLog fixed bug which occurs when error reading directory happens 2012-07-24 12:18:46 +03:00
client.js minor changes 2012-07-23 17:41:20 +03:00
CodingStyle code refactored 2012-07-12 05:51:25 -04:00
config.json minor changes 2012-07-23 14:03:31 +03:00
index.html fixed double slashes in loaded pathes on client 2012-07-06 10:50:47 -04:00
install-dev changed name of install-dev 2012-07-18 02:17:26 -07:00
package.json minor changes 2012-07-20 04:03:33 -04:00
README.md minor changes 2012-07-23 15:50:58 +03:00
server.js fixed bug which occurs when error reading directory happens 2012-07-24 12:18:09 +03:00

Cloud Commander Build Status

Cloud Commander - two-panels file manager, totally writed on js. View demo, mirror on nodester, mirror on jitsu

Google PageSpeed Score : 100 (out of 100).

Benefits

  • full browser compatibility (ie6+,chrome,safari,opera,firefox);
  • responsible design
  • one full page loading, and then just one-time json-dir-listings loading (with refresh opportunity).
  • caching readed directories to localStorage (for now) (so if network will disconnected or something heppen with a signal, we definitely will can work with cached copy of directory listings);
  • key binding
  • disabled js support (working in limited mode).
  • automated minification client js-files and onstart-reading Cloud manager files on server starting.

Cloud Commander uses all benefits of js, so if js is disabled, we moves to limited mode.

Limited-mode features

  • only 1 panel available
  • no keybinding
  • no local caching
  • full loading of all web page(with styles, js-scripts, html-page etc).

Hot keys

In all modern web browsers (but not in IE, becouse he special) hot keys works. There is a short list:

  • Ctrl + r - reload dir content
  • Ctrl + d - clear local cache (wich contains dir contents)
  • Alt + q - disable key bindings
  • Alt + s - get all key bindings back
  • up, down, enter - filesystem navigation

Editor's hot keys

  • F4 - open CodeMirror editor
  • Esc - close CodeMirror editor

Installing

Cloud Commander installing is very easy. All you need it's just clone repository from github. Just 2 commands:

git clone git://github.com/coderaiser/cloudcmd.git
cd cloudcmd

or

npm i cloudcmd
mv node_modules/cloudcmd ./

Configuration

All main configuration could be done thrue config.json.

{
    "cache" : {"allowed" : true},   /* cashing of js and css files in memory    */
    "minification" : {              /* minification of js,css,html and img      */
        "js"    : false,            /* minify module neaded                     */
        "css"   : false,            /* npm i minify                             */
        "html"  : true,
        "img"   : false
    },
    "server"    : true,             /* server mode or testing mode              */
    "logs"      : false,            /* logs or console ouput                    */
    "port"      : 31337,            /* Cloud Commander port                     */
    "ip"        : "127.0.0.1"       /* Cloud Commander IP                       */
}

Starting

To start Cloud Commander only one command neaded:

node server.js

After thet Cloud Commander reads config file config.json and start server on 31337 port, if none of port varibles(cloud9, cloudfoundry and nodester) isn't exist. Then type in browser

http://127.0.0.1:31337

or

http://localhost:31337

Updating

Cloud Commander is very buggy and alfa so it's very often updated. For update you can just type in cloudcmd directory:

git pull

or check new version on npm npm info cloudcmd

and then, if there is new version npm r cloudcmd npm i cloudcmd

Additional modules

Cloud Commander's Server Side not using additional modules for main functionality. But for minification and optimization tricks optional can be assingned (and installed) module: [Minify] (https://github.com/coderaiser/minify "Minify").

Install addtitional modules:

npm i

Cloud Commander's Client Side use module jquery for ajaxing. We could not use this module, but this way is fast:

  • google cdn
  • gzip
  • cache

Perhaps in the future, it will not be used, but so far it has no effect on start loading of Cloud Commander Client Side and do things fast and stable it is using now.

Contributing

If you would like to contribute - send pull request to dev branch. Getting dev version of Cloud Commander:

git clone git://github.com/coderaiser/cloudcmd.git
git checkout dev

It is possible thet dev version Cloud Commander will needed dev version of Minify, so to get it you should type a couple more commands:

cd node_modules
rm -rf minify
git clone git://github.com/coderaiser/minify
git checkout dev