zeroturnaround / ziprebel

Reduce the entire internet to less than a byte of data

Home Page:http://zeroturnaround.com/blog/download-the-internet-in-milliseconds/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZipRebel logo

ZipRebel is a file compression tool that is so powerful it can reduce the entire internet to less than a byte of data. Here's a more detailed announcement.

How to use it?

The easiest way is just to call the right method on the ZipRebel class, appropriately called "compress":

long result = new ZipRebel().compress(new byte[] { 1, 1, 1, 1, 1, 1, 1, 1 });

Alternatively, ZipRebel can work with Paths and either provide you with result on the Java code level, or conveniently write it to the filesystem near the original file.

Path original = Paths.get("/etc/passwd");
long result = new ZipRebel().compress(original);

or

Path original = ...;
Path target = new ZipRebel().compressAndDump(original);
System.out.println(target.toAbsolutePath());

Tests?

We have tested ZipRebel many times.

File description Initial size Final size
01011001 example (1 byte) example.ZR (1 bit)
Jenkins CI jenkins.war (53.9 MB) jenkins.ZR (1 bit)
JIRA atlassian-jira-6.4.tar.gz (227 MB) atlassian-jira-6.4.ZR (1 bit)

About

Reduce the entire internet to less than a byte of data

http://zeroturnaround.com/blog/download-the-internet-in-milliseconds/

License:MIT License


Languages

Language:Java 100.0%