Coder Social home page Coder Social logo

preknowledgeweb / file-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serverwentdown/file-manager

0.0 0.0 0.0 576 KB

A basic node.js file manager

Home Page: https://hub.docker.com/r/serverwentdown/file-manager

License: MIT License

JavaScript 58.89% CSS 2.52% Dockerfile 0.58% Handlebars 38.01%

file-manager's Introduction

file-manager

A basic node.js file manager.

Features

  • Simple authentication
  • Directory browsing
    • Filesize
    • Permissions
    • Owner
  • Folder creation
  • File uploads
    • Bulk file uploads
    • Large file uploads (sharded)
  • File/folder renaming
  • Previews for small image files
  • Bulk file/folder selection
    • Delete
      • Recursive directory delete
    • Move
    • Copy
    • Download archive
    • Change permissions
  • Remote commands

Usage

For users who prefer Docker:

docker run --rm -it -v $PWD:/data -p 8080:8080 serverwentdown/file-manager

Or if you have Node.js installed:

npm install -g https://github.com/serverwentdown/file-manager.git
file-manager

Screenshots

These screenshots are not up-to-date.

Options

The following environmental variables can be used to configure file-manager.

SESSION_KEY=

Express session key, generate something random.

SHELL=

Enable the shell feature, which allows users to start a login shell (when set to login) or the binary specified by this option (example: /bin/bash). Be careful when enabling this feature as anyone with access to this portal can execute any command on your machine.

CMD=

Set to something other than "false" to enable running single commands in the default shell, usually /bin/sh. Be careful when enabling this feature as anyone with access to this portal can execute any command on your machine.

PORT=

Listen on $PORT. Default: 8080

KEY=

Setting this variable enables authentication using TOTP (RFC6238). $KEY is a base32 encoded shared secret. This key is only a weak means of protection as it is succeptable to brute-force. You can generate one from here or manually.

file-manager's People

Contributors

serverwentdown avatar dependabot[bot] avatar ambrosechua avatar iamaamir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.