ProductPromotion
Logo

Open.Source

made by https://0x3d.site

GitHub - misterunknown/ifm: Improved File Manager
Improved File Manager. Contribute to misterunknown/ifm development by creating an account on GitHub.
Visit Site

GitHub - misterunknown/ifm: Improved File Manager

GitHub - misterunknown/ifm: Improved File Manager

IFM - improved file manager

Contents

About

The IFM is a web-based filemanager, which comes as a single file solution using HTML5, CSS3, JavaScript and PHP. You can test a demo here.

IFM

The IFM uses the following resources:

Features

  • create/edit files and directories
  • copy/move files and directories
  • download files and directories
  • upload files directly, remotely via URL or per drag & drop
  • extract archives (tar, tgz, tar.gz, tar.bz2, zip)
  • change permissions
  • image preview
  • simple authentication (LDAP via ldap_bind possible)

Requirements

  • Client
    • HTML5 and CSS3 compatible browser
    • activated javascript
  • Server
    • PHP >= 7.0
    • extensions
      • bz2
      • curl (for remote upload)
      • fileinfo
      • json
      • ldap (only if LDAP based authentication is used)
      • mbstring
      • openssl (for remote uploads from https sources)
      • phar
      • posix
      • zip
      • zlib

Installation

Just download the latest release of the IFM. You can find it here. You can choose between the CDN version (dependencies like bootstrap, jquery etc. are loaded via CDN) or the "simple" version, which bundles all these dependencies.

The minified versions (*.min.php) are zipped via gzip. These versions are not recommended; if the filesize of the IFM is an issue for you, consider using the CDN versions.

Security information

The IFM is usually locked to it's own directory, so you are not able to go above. You can change that by setting the root_dir in the scripts configuration.

By default, it is not allowed to show or edit the .htaccess file. This is because you can configure the IFM via environment variables. Thus if anyone has the ability to edit the .htaccess file, he could overwrite the active configuration. See also.

Keybindings

  • e - edit / extract current file
  • hjkl - vim-style navigation (alternative to arrow keys)
  • g - focus the path input field (i.e. "goto")
  • r - refresh file table
  • u - upload a file
  • o - remote upload a file
  • a - show ajax request dialog
  • F - new file
  • D - new directory
  • cm - show copy/move dialog
  • / - search
  • a - ajax request
  • n - rename file
  • Space - select a highlighted item
  • Del - delete selected files
  • Enter - open a file or change to the directory
  • Ctrl-Shift-f - toggle fullscreen ace editor

Configuration

See configuration.

Authentication

See authentication.

Docker

The docker image is based on the official php docker images (alpine version) and exposes port 80.

Quickstart

Build the image with this command in the top source dir:

docker build -t ifm .

Afterwards you can start the docker container as follows:

docker run --rm -d --name ifm -p 8080:80 -v /path/to/data:/var/www ifm:latest

Specify user/group

By default IFM runs as user www-data (uid/gid 33). If you need to change that, you can set the UID and GID with the following environment variables:

docker run ... -e IFM_DOCKER_UID=1000 -e IFM_DOCKER_GID=100 ifm:latest

Other configuration

The script is located at /usr/local/share/webapps/ifm/index.php. By default the root_dir is set to /var/www, so you can mount any directory at this location. If you want to bind the corresponding host directory, you can do the following:

docker run --rm -i -p "8080:80" -v "/var/www:/var/www" ifm

The scripts configuration can be changed by adjusting the corresponding environment variables. For example:

docker run --rm -i -p "8080:80" -v /var/www:/var/www \
  -e IFM_AUTH=1 -e IFM_AUTH \
  -e IFM_AUTH_SOURCE="inline;admin:$2y$05$LPdE7u/5da/TCE8ZhqQ1o.acuV50HqB3OrHhNwxbXYeWmmZKdQxrC" \
  ifm

You can get a complete list of environment variables here.

Screenshots

Issues

If you happen to find an error or miss a feature, you can create an issue on Github.

Articles
to learn more about the open-source concepts.

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here 🔥.

FAQ's
to know more about the topic.

mail [email protected] to add your project or resources here 🔥.

Queries
or most google FAQ's about Open-Source.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory