Any Easy to extend Web-based File Manager for node.js?

醉酒当歌 提交于 2019-12-03 11:26:42

Nodepad:

This tutorial will give you a good idea on how it was made: http://dailyjs.com/2010/11/01/node-tutorial/ As knowing how it was made it should make it heaps easer to extend it. :) It is quite basic, I'm re-writing the whole thing myself :P

Nodepad on github: https://github.com/alexyoung/nodepad

It even uses MongoDB, I'm going to do the opposite to what you wanted to do and that is make it not use MongoDB. :P

You could try Cloud Commander node.js-based orthodox file manager. It could be used as middleware for express this way:

var http        = require('http'),
    cloudcmd    = require('cloudcmd'),
    express     = require('express'),
    io          = require('socket.io'),
    app         = express(),

    PORT        = 1337,

    server,
    socket;

server = http.createServer(app);
socket = io.listen(server);

app.use(cloudcmd({
    socket: socket,     /* used by Config, Edit (optional) and Console (required)   */
    config: {           /* config data (optional)                                   */
        prefix: '/cloudcmd', /* base URL or function which returns base URL (optional)   */
    }
}));

server.listen(PORT);

When you need a file tree you could try this angular/node based example.

Take a look at https://github.com/OpusCapita/filemanager

It has a NodeJS server implementation and react client implementation.

Can be easily extended using "connectors"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!