Plugins

Hex Editor

Provides full-screen hexadecimal editing and read-only viewing for binary and text files.

Version 1.0.3 Official plugin Released 88 downloads

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

What this bundle provides

One download, 2 plugins.

Hex Editor

dev.nuclr.plugin.core.hex.editor

Fullscreen hexadecimal viewer/editor.

Fullscreen Apache-2.0 Editor

Hex Viewer

dev.nuclr.plugin.core.hex.viewer

Fullscreen hexadecimal viewer/editor.

Fullscreen Apache-2.0 Viewer

About

🔢 Hex Editor

An official Nuclr Commander plugin providing a fullscreen hexadecimal viewer and editor. Opens any binary or text file in a dual-pane view (hex bytes + ASCII side by side) or a pure hex matrix. Powered by the ExBin Bined library.

This plugin ships two roles:

RoleShortcutDescription
🔢 Hex EditorF4Read/write mode — overwrite and insert editing supported
👁️ Hex ViewerF3Read-only mode — safe inspection without accidental edits

✨ What It Does

FeatureDetails
🔢 Dual viewHex bytes and ASCII representation side by side
🔲 Matrix modePure hex grid with no ASCII column (toggle with F2)
✏️ Overwrite modeEdit hex bytes in-place (default edit mode)
➕ Insert modeInsert new bytes at the cursor position (F6 to toggle)
💾 SaveWrite changes back to the original file
🪜 Striped rowsEven/odd row highlighting for easier scanning
↔️ Fixed row width16 bytes per row
🎨 Theme-awareBackground, foreground, and selection colors follow the Nuclr Commander theme

⌨️ Keyboard Shortcuts

KeyAction
F2Toggle dual view / hex matrix mode
F3 / EscapeClose viewer / editor
F4Save (editor only)
F6Toggle overwrite / insert mode (editor only)
Ctrl+SSave (editor only)

📥 Installation

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

screenpanel-hex-editor-<version>.zip
screenpanel-hex-editor-<version>.zip.sig

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

⚙️ How it works

EditPlugin implements FullscreenNuclrPlugin (plus NuclrEventListener) in the editor role. It loads the entire file into a ByteArrayEditableData buffer in memory and binds a Bined CodeArea to it. ViewPlugin extends EditPlugin, overrides isEditable() to return false, and reports the viewer role instead — so the two share all rendering and navigation code. Theme colors are applied via NuclrThemeScheme on every updateTheme call. Save operations write the buffer to the file via contentData.saveToStream(out).

Because the file is held entirely in memory, this is best suited to files that comfortably fit in the heap.

🗂️ Source Layout

src/main/java/dev/nuclr/plugin/core/hex/editor/
├── EditPlugin.java     hex editor entry point (editor role) — UI, key bindings, save
└── ViewPlugin.java     hex viewer entry point (viewer role) — read-only subclass

📚 Dependencies

LibraryVersionPurpose
dev.nuclr:platform-sdk3.0.2Nuclr platform interfaces
bined-swing0.2.2Core Bined hex editor Swing component
bined-highlight-swing0.2.2Syntax/highlight layer for Bined
bined-swing-section0.2.2Section-based rendering for Bined
bined-operation-swing0.2.2Edit operations for Bined
binary_data0.2.2ExBin binary data abstraction
binary_data-array0.2.2Array-backed binary data implementation

📜 License

Apache License 2.0 — see LICENSE.

Releases

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

Details

Plugin ID
dev.nuclr.plugin.core.hex.editor
Repository
nuclrdev/plugin-screenpanel-hex-editor
Platform SDK
4.0.0
SHA-256
797677ca5ff56ab8ed1ed3ed5ba27066e34ad6228a436684a189a4d674e8bf98