Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
.bintray.json | 06-Dec-2017 | 373 | |
.configure-custom.sh | 06-Dec-2017 | 132 | |
.gitignore | 06-Dec-2017 | 131 | |
.gitmodules | 06-Dec-2017 | 178 | |
.travis.sh | 06-Dec-2017 | 2.5K | |
.travis.yml | 06-Dec-2017 | 7.8K | |
Android.bp | 06-Dec-2017 | 626 | |
Android.mk | 06-Dec-2017 | 1.2K | |
appveyor/ | 06-Dec-2017 | ||
appveyor.yml | 06-Dec-2017 | 3K | |
BUILD | 06-Dec-2017 | 1.8K | |
CMakeLists.txt | 06-Dec-2017 | 14K | |
common/ | 06-Dec-2017 | ||
configure | 06-Dec-2017 | 278 | |
configure-cmake | 06-Dec-2017 | 11.1K | |
CONTRIBUTING.md | 06-Dec-2017 | 1.4K | |
dec/ | 06-Dec-2017 | ||
docs/ | 06-Dec-2017 | ||
enc/ | 06-Dec-2017 | ||
fuzz/ | 06-Dec-2017 | ||
go/ | 06-Dec-2017 | ||
include/ | 06-Dec-2017 | ||
java/ | 06-Dec-2017 | ||
LICENSE | 06-Dec-2017 | 1.1K | |
Makefile | 06-Dec-2017 | 1,002 | |
MANIFEST.in | 06-Dec-2017 | 322 | |
MODULE_LICENSE_MIT | 06-Dec-2017 | 0 | |
NOTICE | 06-Dec-2017 | 1.1K | |
premake5.lua | 06-Dec-2017 | 1.5K | |
python/ | 06-Dec-2017 | ||
README.md | 06-Dec-2017 | 2.3K | |
README.version | 06-Dec-2017 | 143 | |
research/ | 06-Dec-2017 | ||
setup.cfg | 06-Dec-2017 | 53 | |
setup.py | 06-Dec-2017 | 8.2K | |
terryfy/ | 06-Dec-2017 | ||
tests/ | 06-Dec-2017 | ||
tools/ | 06-Dec-2017 | ||
WORKSPACE | 06-Dec-2017 | 365 |
1 <p align="center"><img src="https://brotli.org/brotli.svg" alt="Brotli" width="64"></p> 2 3 ### Introduction 4 5 Brotli is a generic-purpose lossless compression algorithm that compresses data 6 using a combination of a modern variant of the LZ77 algorithm, Huffman coding 7 and 2nd order context modeling, with a compression ratio comparable to the best 8 currently available general-purpose compression methods. It is similar in speed 9 with deflate but offers more dense compression. 10 11 The specification of the Brotli Compressed Data Format is defined in [RFC 7932](https://www.ietf.org/rfc/rfc7932.txt). 12 13 Brotli is open-sourced under the MIT License, see the LICENSE file. 14 15 Brotli mailing list: 16 https://groups.google.com/forum/#!forum/brotli 17 18 [![Build Status](https://travis-ci.org/google/brotli.svg?branch=master)](https://travis-ci.org/google/brotli) 19 20 ### Build instructions 21 22 #### Make 23 24 To build and run tests, simply do: 25 26 $ ./configure && make 27 28 If you want to install brotli, use one of the more advanced build systems below. 29 30 #### Bazel 31 32 See [Bazel](http://www.bazel.build/) 33 34 #### CMake 35 36 The basic commands to build, test and install brotli are: 37 38 $ mkdir out && cd out && ../configure-cmake && make 39 $ make test 40 $ make install 41 42 You can use other [CMake](https://cmake.org/) configuration. For example, to 43 build static libraries and use a custom installation directory: 44 45 $ mkdir out-static && \ 46 cd out-static && \ 47 ../configure-cmake --disable-shared-libs --prefix='/my/prefix/dir/' 48 $ make install 49 50 #### Premake5 51 52 See [Premake5](https://premake.github.io/) 53 54 #### Python 55 56 To install the Python module from source, run the following: 57 58 $ python setup.py install 59 60 See the [Python readme](python/README.md) for more details on testing 61 and development. 62 63 ### Benchmarks 64 * [Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/) / [Unstable Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/unstable/) 65 * [Large Text Compression Benchmark](http://mattmahoney.net/dc/text.html) 66 * [Lzturbo Benchmark](https://sites.google.com/site/powturbo/home/benchmark) 67 68 ### Related projects 69 Independent [decoder](https://github.com/madler/brotli) implementation by Mark Adler, based entirely on format specification. 70 71 JavaScript port of brotli [decoder](https://github.com/devongovett/brotli.js). Could be used directly via `npm install brotli` 72