Plugins

Archive Quick Viewer

Summarises common archive formats, including file counts, sizes and root entries.

Version 1.0.3 Official plugin Released 151 downloads

Install it from Commander: Plugins → Manage, or drop the signed bundle into the plugins/ directory.

What this bundle provides

One download, 1 plugin.

Archive Quick Viewer

dev.nuclr.plugin.core.quickviewer.archive

A quick viewer for common archive formats that shows file counts, totals, root entries and timestamps.

QuickView Apache-2.0

About

🐢📦 Archive Quick Viewer

A Nuclr Commander plugin that renders a read-only quick preview for common archive formats. It does not extract files or mount the archive. Instead, it shows the generally available metadata you usually want at a glance: file counts, total sizes, root entries, timestamps, and a bounded file listing. Slow and steady, but for archives. 🐢

Archive Quick Viewer screenshot


👀 What It Shows

SectionDetails
SummaryArchive name, detected format, archive size, modified time, entry/file/directory counts, root entry count
TotalsTotal unpacked size and, where available, packed size and compression ratio
DetailsEarliest and latest entry timestamps, archive comment when present
Root EntriesTop-level files/folders with descendant counts, aggregate size, and latest timestamp
WarningsEncryption flags, multi-volume hints, truncated lists, or metadata limits
FilesA bounded listing of archive members with path, size, and timestamp when available

🧰 Supported Formats

FormatExtensions
ZIP familyzip, jar, war, ear, apk, xapk, apks, apkm
TARtar, tar.gz, tgz, tar.bz2, tbz2, tbz, tar.xz, txz
Single-file compressedgz, bz2, xz
7-Zip7z
RARrar
CPIOcpio
Unix ARar

Some formats expose more metadata than others. For example, packed sizes are usually available for ZIP/RAR entries but not for all stream-based archive formats. 🐢


✨ Design Notes

  • Read-only preview: no extraction, mutation, or external tools
  • Cancellation-aware: switching files cancels the in-flight parse
  • Asynchronous loading: parsing runs off the Swing EDT on a virtual thread
  • Bounded UI output: the file list is capped so very large archives do not flood the quick-view panel
  • Best-effort metadata: timestamps, comments, compression totals, and encryption flags are shown when the underlying format exposes them

🖼️ Thumbnail

A listing page: the archive's name, format, file count and size, then its top-level entries.

It implements the platform SDK 6.0.0 thumbnail methods, so plugins that want a picture of a file - attachment chips in AI Projects, for one - get it through Commander.

📥 Installation

Copy the signed plugin archive and detached signature into the Nuclr Commander plugins/ directory:

quick-view-archive-<version>.zip
quick-view-archive-<version>.zip.sig

Nuclr Commander verifies the RSA-SHA256 signature against nuclr-cert.pem on load. The plugin becomes available immediately without a restart.


🗂️ Source Layout

src/main/java/dev/nuclr/plugin/core/quick/viewer/
├── ArchiveQuickViewProvider.java   plugin entry point
├── ArchiveViewPanel.java           Swing UI renderer
└── archive/
    ├── ArchiveParser.java          format detection and metadata extraction
    ├── ArchiveMetadata.java        parsed archive summary model
    ├── ArchiveEntryInfo.java       individual file entry model
    └── ArchiveRootInfo.java        top-level aggregate model

⚙️ Implementation Notes

  • ZIP-family archives are read with Apache Commons Compress ZipFile 📦
  • TAR and compressed TAR variants are inspected as streams 🌊
  • 7z support uses Commons Compress plus org.tukaani:xz 7️⃣
  • RAR support uses junrar 🧩
  • Single-file compressed formats such as plain .gz can only expose limited metadata compared with container formats like .zip or .tar.gz 📝

📚 Dependencies

LibraryVersionPurpose
dev.nuclr:platform-sdk6.0.0Nuclr platform interfaces
commons-compress1.28.0ZIP, TAR, 7z, GZ, BZ2, XZ, CPIO, AR parsing
junrar7.5.8RAR archive parsing
xz1.11XZ decompression support

📄 License

Apache License 2.0. See LICENSE.

Releases

Version Released Size Download
1.0.3 2.7 MB Download
1.0.2 2.7 MB Download
1.0.1 2.7 MB Download
1.0.0 2.7 MB Download

Details

Plugin ID
dev.nuclr.plugin.core.quickviewer.archive
Repository
nuclrdev/plugin-quick-viewer-archive
Platform SDK
6.0.0
SHA-256
7b2568aebc2eb7218492f36fc690be3d1f3e6bb6d0c4f750413ba0cab31aae8b