Henglie/Evihcra
About
Non-compressing archiver Evihcra: generates larger standard archives without padding them with invalid data. C++ / Win32 + GDI+ / CLI.
Learning & EducationMeasured star growth
- in 24h
- +210
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
Original简体中文 · 日本語 · 한국어 · English · Français · Русский · العربية · Türkçe
![]()
Evihcra · 不压缩包
Make files larger—and still extract them normally.
Standard archive formats, no meaningless filler. Local processing, native Windows UI and a CLI.
📥 Download
- GitHub Releases · v0.1.1
- Windows x64 / x86 / ARM64, Linux x64 CLI, macOS Universal and an Android test package. Evihcra encodes the complete packages itself: about 10 MiB for the first five. The three-ABI Android APK already exceeds 10 MiB, so its complete package is about 24 MiB. Includes
SHA256SUMS.txt. macOS build status. - Baidu Netdisk · Access code:
0000 - Quark Drive

Version 0.1.1 · Henglie/Evihcra
✨ What it does
- Creates archives larger than the original files, readable by ordinary extraction software.
- Accepts a target ratio such as
300%, previews the attainable size, then creates the archive. - Lets the current encoder template be as inefficient as it can with Maximize: DEFLATE writes one block per byte, each with the widest dynamic header RFC 1951 allows, for about 28950% as a raw stream; XZ writes one SHA-256-checked Block per byte, about 6200%; 7z LZMA2 writes one LZMA-coded chunk per byte, about 1200%.
- Streams data and encryption with no default input, output, member-count or block-count cap; uses ZIP64 automatically when needed.
- Writes ZIP, 7z, gzip, zlib, XZ and TAR combinations for folders.
- Offers ZIP AES-256, legacy ZipCrypto and 7z AES-256 password protection.
- Provides a native Win32 + GDI+ interface with eight languages, light/dark themes, an accent color, drag-and-drop and cancellation.
- Exposes planning, creation, JSON output and strict ratio tolerance through a CLI for scripts and AI tools.
Use it to study encoding overhead, make archive test fixtures, or just drop in a few files and see how big they get. The extra disk space is very real. 😂
🚀 Quick start
- Open Evihcra.exe.
- Use Add files / Add folder, or drop items into the window.
- Choose the format, target ratio and encryption on the right.
- Choose an output filename that does not exist.
- Select Preview size and review the original size, archive size and actual ratio.
- Select Create archive, then extract it with your usual archive tool.
Source files are unchanged and existing outputs are never overwritten. Cancellation stops the current task; only completed output is committed to the destination.
📐 What does 300% mean?
Ratio = final archive bytes / original file bytes × 100%
300% means roughly three times the original size. Yes, bigger is the point here. Container directories, checksums and encryption overhead count toward the final size. Empty folders add no source bytes; entirely empty input has no defined ratio.
The retained 0.1.0 demo uses 208,484 bytes across three files and a 625,491-byte ZIP, an actual ratio of 300.019%. The improved 0.1.1 planner produces 625,452 bytes, exactly 300%, for the same input. Both archives restore identical original file bytes.

The properties window counts the compressed data; the ratio here uses the complete ZIP file, including its directory and other required overhead.
Not every percentage is exactly representable: code lengths and nonempty block counts are discrete. The UI reports the actual result. For strict requirements, CLI --tolerance 0.1 allows at most ±0.1 percentage points and rejects an unattainable request before creating a file.
📦 Formats
| Format | Input | Codec | Password protection |
|---|---|---|---|
| ZIP | Multiple files, folders and empty entries | DEFLATE | AES-256 AE-2 / ZipCrypto |
| 7z | Multiple files, folders and empty entries | DEFLATE / LZMA2 | 7z AES-256 |
| gzip / zlib | One file | DEFLATE | None |
| XZ | One file | LZMA2 | None |
| tar.gz / tar.zlib / tar.xz | Multiple files and folders | TAR + corresponding codec | None |
| docx / xlsx / pptx | One existing matching Office document | Internal ZIP part reencoding | None |
Unicode filenames are supported. Choose a TAR combination for folder input to gzip, zlib or XZ. ZIP passwords currently require printable ASCII for interoperability; use 7z AES-256 for Unicode passwords. ZipCrypto is weak legacy protection. 7z currently encrypts file data, leaving filenames visible; empty-only 7z archives cannot use data encryption.
RAR remains under independent open-source research. This build cannot create RAR files and does not invoke an external WinRAR backend.
🖼️ Screenshots
| 7z and encryption | About and version |
|---|---|
![]() |
![]() |
Chinese UI and light theme


Settings contains language, light/dark/system theme and accent color. Ctrl+A selects list entries, Delete removes them, Tab / Shift+Tab moves focus, and Esc cancels an active task.
🛠️ Run and build
The native Windows application needs no Python, Qt, WebView, 7-Zip or external encryption DLL at runtime. GUI and CLI share one statically linked Evihcra.exe: launch without commands for the GUI, or pass a command for the CLI.
To build, install Visual Studio C++ tools, the Windows SDK, CMake and Ninja:
./tools/build.ps1 -Arch x64
Run build/windows-x64-release/Evihcra.exe. Use -Arch x86 or -Arch arm64 for other Windows architectures. Linux supports the CLI. macOS has a native AppKit Universal application, with its CLI at Evihcra.app/Contents/MacOS/Evihcra; build status is available in Actions. Android uses native Compose Material 3 and the shared C++ core (Android 7.0+, arm64-v8a / armeabi-v7a / x86_64). SAF inputs are streamed into private app cache before processing, so reserve space for both inputs and output. The current APK is a debug-signed test build; physical-device and release-signing acceptance remain open. HarmonyOS is deferred. See CONTRIBUTING.md.
⌨️ CLI
Run these commands from the application directory:
.\Evihcra.exe plan "documents" -o "documents.zip" --target 300 --json
.\Evihcra.exe create "documents" -o "documents.zip" --target 300
.\Evihcra.exe create "data.bin" -o "data.gz" --target 300 --tolerance 0.1
.\Evihcra.exe create "documents" -o "documents.7z" --encryption aes256 --ask-password
.\Evihcra.exe create "data.bin" -o "maximum.zip" --maximize
.\Evihcra.exe create "original.docx" -o "larger.docx" --target 300
formats reports supported capabilities; --lang zh|ja|ko|en|fr|ru|ar|tr selects Chinese, Japanese, Korean, English, French, Russian, Arabic or Turkish. The GUI supports the same eight languages, with Arabic RTL. --json keeps machine field names stable. Passwords use --ask-password or --password-stdin, never a plaintext command-line password argument. See --help for all options. In interactive cmd.exe, use start /wait "" Evihcra.exe ... when waiting for a GUI-subsystem executable; scripts and pipes can invoke it directly.
Office mode reencodes the internal ZIP of one existing .docx, .xlsx or .pptx, preserving every part's bytes and paths. The ratio denominator is the input document file size. Actual Word, Excel and PowerPoint 16.0 read-only opens passed; WPS has not been tested. Digitally signed OPC packages and ZIP-encrypted documents are currently rejected.
Exit codes: 0 success, 2 invalid arguments or constraints, 3 runtime error, 130 cancelled.
📋 Current limits
- Payloads and encryption are streamed through fixed-size buffers. The former 64 MiB / 256 MiB defaults and fixed maximums have been removed. There is no default application limit on input size, output size, member count or block count.
- ZIP64 is automatic for large sizes, offsets or entry counts. Actual disk capacity, filesystem capabilities and format integer ranges still apply. Cancellation or a write failure removes the task's temporary output.
- Optional caller-selected limits remain available as
--max-input-mib,--max-output-miband--max-blocks; all default to0(unlimited). - Real checks include an input larger than 4 GiB producing a roughly 7.5 GiB ZIP64 with independent extraction, and a ZIP64 containing 65,536 members. Payload memory stays bounded; names and directory metadata still grow with entry count.
- Maximization applies to the current template and any explicitly selected task limits, with no claim of a global mathematical optimum. Multi-file ratio planning does not guarantee the globally nearest result.
- File bytes, paths and empty directories are preserved; original timestamps, ACLs and other filesystem metadata are not fully retained.
- 33100% is a coarse bound for raw DEFLATE, not a generally attainable Maximize setting. Each Maximize DEFLATE block carries only 1 byte: all 286 literal/length and 30 distance code lengths are written with 7-bit code-length codes, and the end-of-block code and the literal take 15 bits each, for 2316 bits per byte and a raw stream approaching 28950%. When every block must carry at least one byte, this is the upper bound for RFC 1951 dynamic blocks; container overhead is extra, and complete tiny archives can exceed that ratio. A 1-byte input named
one.binproduces a valid 402-byte ZIP (40200%) that passes Python, Info-ZIP and 7-Zip extraction. Targets within the old template's reach produce output byte-identical to 0.1.1; the widest headers, LZMA-coded chunks and multi-Block XZ only kick in beyond that. Multi-Block XZ uses SHA-256 checks, so decoders that only support CRC checks (such as Rust's lzma-rs 0.3) cannot read it; because the XZ Index cannot exceed 16 GiB, the Block count stops growing at about 8.6 billion. Extreme streams pass independent decoding in 1/7/97/65536-byte input chunks, and deliberately truncated streams fail completion checks. Middleware must drain unconsumed input and verify EOF, checksums and file length. The reported original archive/middleware is unavailable, so its root cause is unconfirmed. - Windows x64/x86 have runtime checks; GUI validation is primarily on x64. Windows ARM64 is cross-compiled and untested on target hardware. Android JNI output/Unicode checks pass on an Android 13 x86_64 emulator, with ARM hardware acceptance pending. macOS remote build/runtime/package evidence is in Actions; a Linux native GUI is not implemented.
💖 Privacy and support
Files and passwords stay on your computer. No uploads, networking or telemetry. Only language, theme and accent preferences are saved; passwords are not persisted.
If this slightly ridiculous experiment made you smile, you can buy the author a snack through About → Support…. It's entirely optional and doesn't affect any features. The support image is embedded in the executable and works offline, even when the EXE is copied on its own.
🧪 Original experiments and examples
The complete package includes 实验文件/ (experiment files): the three originals from the article, notes.txt, sample.bin and table.csv, plus the actual demo-300.zip. The originals total 208,484 bytes; the ZIP is 625,491 bytes. Extract and compare them, or drop the originals into Evihcra to reproduce the example.
📝 Changes
0.1.1
- Integrated GUI/CLI executable, mixed Huffman books and cross-file residual allocation.
- Streaming Office ZIP document reencoding; eight UI/CLI languages and Arabic RTL.
- Native macOS AppKit and Android Compose entry points; extreme-stream, truncation and actual Office-open checks.
- The original demo is retained. With 0.1.1, the same 208,484-byte input can produce 625,452 bytes: exactly 300%.
See CHANGELOG.md for details of this version.
🌈 Community
- Linux.Do — this project thinks highly of the LinuxDo community!
- Thanks to @mitian233 for the native macOS interface contribution. @xinaovo's Linux GUI / AppImage prototype is tracked separately in issue #2.
⭐ Star history
📚 Documentation and license
- Introduction article (Chinese) · Development guide
- Public repository: Henglie/Evihcra · Issue tracker
- Author: Henglie / EternalBlaze.
- Licensed under Apache License 2.0; embedded components are listed in NOTICE.
- Copyright © 2026 Henglie.
Explore related projects
Loading…

