Viggo Meesters15 downloadsInspect .zip archive contents as read-only metadata trees with search and safety warnings.
Archive Viewer is a read-only plugin for inspecting .zip archive contents inside a vault. It shows the ZIP central-directory metadata as a contents tree and table without extracting files.
.zip files for v0.1..json.Archive Viewer v0.1 supports .zip only. .tar, .gz, .tgz, .rar, and .7z are intentionally deferred until a parser choice can be made without weakening the read-only model.
This is an archive inspector, not an archiver, extractor, restore tool, backup tool, export tool, or file manager. It never extracts archive contents to disk, never opens contained files, never renames or deletes files, never writes archive files back, and never attempts password cracking or decryption.
Archive Viewer reads only ZIP central-directory metadata through the vault binary API. It does not decompress entry contents and does not expose an extraction path in the UI.
The plugin does not use runtime network APIs, clipboard APIs, subprocess APIs, dynamic code evaluation, or archive write-back behavior.
The repository is prepared for Obsidian Community plugin review:
manifest.json.id is archive-viewer, contains only lowercase letters and hyphens, does not contain obsidian, and does not end with plugin.manifest.json.name is short, English, Basic Latin, and does not include Obsidian.manifest.json.version is 0.1.0 in x.y.z format.versions.json maps 0.1.0 to the minimum app version.main.js, manifest.json, and styles.css.The v0.1 parser has no archive parser dependency. A small TypeScript ZIP central-directory reader is used instead because general unzip libraries often include extract/decompress APIs that are outside this plugin's scope. Keeping the parser metadata-only makes the hard non-goals easier to verify.
Existing community archive-related plugins were considered:
Archive Viewer is different by design: it only inspects an existing local .zip file as metadata and does not archive, export, back up, restore, download, unzip, or extract anything.
main.js, manifest.json, and styles.css from a release..obsidian/plugins/archive-viewer/.For beta testing, install the plugin with BRAT using this repository URL:
https://github.com/viggomeesters/obsidian-archive-viewer
Open any .zip file in your vault. The file opens with Archive Viewer.
Use the toolbar to filter paths or extensions and refresh metadata after file changes.
npm install
npm run build
npx tsc --noEmit
npm test
The fixture set covers simple ZIPs, nested folders, path traversal entries, many-file archives, large-size metadata, and malformed input.
manifest.json, package.json, and versions.json.npm install, npm run build, npx tsc --noEmit, and npm test.manifest.json.version.main.js, manifest.json, and styles.css as release assets.The repository is ready for Obsidian Community plugin submission once the GitHub release exists.
Submit this repository path in the obsidianmd/obsidian-releases PR:
viggomeesters/obsidian-archive-viewer
Suggested community-plugins.json entry:
{
"id": "archive-viewer",
"name": "Archive Viewer",
"author": "Viggo Meesters",
"description": "Inspect .zip archive contents as read-only metadata trees with search, size summaries, and safety warnings.",
"repo": "viggomeesters/obsidian-archive-viewer"
}
Official references: