/NextcloudExtract

Bring extraction to your nextcloud web interface

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Extract

Fork from the official Nextcloud App extract for ownCloud.

Place this app in owncloud/apps/ or owncloud/apps-external/

This app does only support local external storage backend

Supported

  • Zip
  • Rar
  • Tar
  • Gzip
  • 7z
  • Deb
  • Bzip2

Requirements

  • Rar PHP extension
pecl -v install rar ## or ## sudo apt-get install unrar
  • p7zip and p7zip-full

Steps to install p7zip on Linux » Ubuntu and Fedora or CentOS / RHEL

MacOS

brew install p7zip

Ubuntu

sudo apt-get install p7zip p7zip-full

CentOS 7.x or Fedora

Download and install manually

wget https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p7zip-16.02-10.el7.x86_64.rpm
wget https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p7zip-plugins-16.02-10.el7.x86_64.rpm

sudo rpm -U --quiet p7zip-16.02-10.el7.x86_64.rpm
sudo rpm -U --quiet p7zip-plugins-16.02-10.el7.x86_64.rpm

CentOS 6.7

From EPEL

Download and install using Package manager

cat /etc/*release
sudo yum install -y -q epel-release
sudo rpm -U --quiet http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
sudo yum repolist
sudo yum install -y -q p7zip p7zip-plugins

Download and install manually

In case of connectivity [or any other] issues, please follow these steps to download and install the following packages directly.

wget https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/x86_64/Packages/p/p7zip-16.02-10.el6.x86_64.rpm
wget https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/x86_64/Packages/p/p7zip-plugins-16.02-10.el6.x86_64.rpm

sudo rpm -U --quiet p7zip-16.02-10.el6.x86_64.rpm
sudo rpm -U --quiet p7zip-plugins-16.02-10.el6.x86_64.rpm

TODO

  • Add password support
  • Add viewer for archives
  • Support nextcloud's encryption module

Preview

alt text