|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| c/ | | 03-May-2024 | - | 35,752 | 30,551 |
| csharp/ | | 03-May-2024 | - | 5,074 | 3,920 |
| docs/ | | 03-May-2024 | - | 1,240 | 1,138 |
| fetch-spec/ | | 03-May-2024 | - | 117 | 94 |
| go/ | | 03-May-2024 | - | 751 | 558 |
| java/ | | 03-May-2024 | - | 8,514 | 6,590 |
| js/ | | 03-May-2024 | - | 1,941 | 1,542 |
| python/ | | 03-May-2024 | - | 1,528 | 1,161 |
| research/ | | 03-May-2024 | - | 4,964 | 4,105 |
| scripts/ | | 03-May-2024 | - | 565 | 456 |
| tests/ | | 03-May-2024 | - | 26,107 | 22,915 |
| .editorconfig | D | 03-May-2024 | 660 | 41 | 34 |
| .gitignore | D | 03-May-2024 | 140 | 19 | 16 |
| .travis.yml | D | 03-May-2024 | 5.8 KiB | 227 | 171 |
| Android.bp | D | 03-May-2024 | 1.4 KiB | 63 | 58 |
| BUILD | D | 03-May-2024 | 2.7 KiB | 147 | 123 |
| CMakeLists.txt | D | 03-May-2024 | 13.9 KiB | 381 | 318 |
| CONTRIBUTING.md | D | 03-May-2024 | 1.4 KiB | 28 | 24 |
| CleanSpec.mk | D | 03-May-2024 | 2.3 KiB | 53 | 2 |
| LICENSE | D | 03-May-2024 | 1.1 KiB | 20 | 16 |
| MANIFEST.in | D | 03-May-2024 | 361 | 18 | 17 |
| METADATA | D | 03-May-2024 | 346 | 19 | 18 |
| MODULE_LICENSE_MIT | D | 03-May-2024 | 0 | | |
| Makefile | D | 03-May-2024 | 1.4 KiB | 56 | 43 |
| Makefile.am | D | 03-May-2024 | 1.2 KiB | 39 | 26 |
| NOTICE | D | 03-May-2024 | 1.1 KiB | 20 | 16 |
| OWNERS | D | 03-May-2024 | 84 | 6 | 5 |
| README | D | 03-May-2024 | 652 | 16 | 11 |
| README.md | D | 03-May-2024 | 3.2 KiB | 86 | 52 |
| README.version | D | 03-May-2024 | 143 | 5 | 4 |
| WORKSPACE | D | 03-May-2024 | 339 | 22 | 17 |
| bootstrap | D | 03-May-2024 | 1.4 KiB | 32 | 24 |
| configure | D | 03-May-2024 | 425 | 9 | 7 |
| configure-cmake | D | 03-May-2024 | 11.1 KiB | 319 | 258 |
| configure.ac | D | 03-May-2024 | 321 | 14 | 9 |
| premake5.lua | D | 03-May-2024 | 1.7 KiB | 79 | 62 |
| setup.cfg | D | 03-May-2024 | 53 | 6 | 4 |
| setup.py | D | 03-May-2024 | 9.3 KiB | 289 | 242 |
README
1BROTLI DATA COMPRESSIOM LIBRARY
2
3Brotli is a generic-purpose lossless compression algorithm that compresses data
4using a combination of a modern variant of the LZ77 algorithm, Huffman coding
5and 2nd order context modeling, with a compression ratio comparable to the best
6currently available general-purpose compression methods. It is similar in speed
7with deflate but offers more dense compression.
8
9The specification of the Brotli Compressed Data Format is defined in RFC 7932
10https://tools.ietf.org/html/rfc7932
11
12Brotli is open-sourced under the MIT License, see the LICENSE file.
13
14Brotli mailing list:
15https://groups.google.com/forum/#!forum/brotli
16
README.md
1<p align="center"><img src="https://brotli.org/brotli.svg" alt="Brotli" width="64"></p>
2
3### Introduction
4
5Brotli is a generic-purpose lossless compression algorithm that compresses data
6using a combination of a modern variant of the LZ77 algorithm, Huffman coding
7and 2nd order context modeling, with a compression ratio comparable to the best
8currently available general-purpose compression methods. It is similar in speed
9with deflate but offers more dense compression.
10
11The specification of the Brotli Compressed Data Format is defined in [RFC 7932](https://tools.ietf.org/html/rfc7932).
12
13Brotli is open-sourced under the MIT License, see the LICENSE file.
14
15Brotli mailing list:
16https://groups.google.com/forum/#!forum/brotli
17
18[![TravisCI Build Status](https://travis-ci.org/google/brotli.svg?branch=master)](https://travis-ci.org/google/brotli)
19[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/google/brotli?branch=master&svg=true)](https://ci.appveyor.com/project/szabadka/brotli)
20
21### Build instructions
22
23#### Autotools-style CMake
24
25[configure-cmake](https://github.com/nemequ/configure-cmake) is an
26autotools-style configure script for CMake-based projects (not supported on Windows).
27
28The basic commands to build, test and install brotli are:
29
30 $ mkdir out && cd out
31 $ ../configure-cmake
32 $ make
33 $ make test
34 $ make install
35
36By default, debug binaries are built. To generate "release" `Makefile` specify `--disable-debug` option to `configure-cmake`.
37
38#### Bazel
39
40See [Bazel](http://www.bazel.build/)
41
42#### CMake
43
44The basic commands to build and install brotli are:
45
46 $ mkdir out && cd out
47 $ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed ..
48 $ cmake --build . --config Release --target install
49
50You can use other [CMake](https://cmake.org/) configuration.
51
52#### Premake5
53
54See [Premake5](https://premake.github.io/)
55
56#### Python
57
58To install the latest release of the Python module, run the following:
59
60 $ pip install brotli
61
62To install the tip-of-the-tree version, run:
63
64 $ pip install --upgrade git+https://github.com/google/brotli
65
66See the [Python readme](python/README.md) for more details on installing
67from source, development, and testing.
68
69### Benchmarks
70* [Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/) / [Unstable Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/unstable/)
71* [Large Text Compression Benchmark](http://mattmahoney.net/dc/text.html)
72* [Lzturbo Benchmark](https://sites.google.com/site/powturbo/home/benchmark)
73
74### Related projects
75> **Disclaimer:** Brotli authors take no responsibility for the third party projects mentioned in this section.
76
77Independent [decoder](https://github.com/madler/brotli) implementation by Mark Adler, based entirely on format specification.
78
79JavaScript port of brotli [decoder](https://github.com/devongovett/brotli.js). Could be used directly via `npm install brotli`
80
81Hand ported [decoder / encoder](https://github.com/dominikhlbg/BrotliHaxe) in haxe by Dominik Homberger. Output source code: JavaScript, PHP, Python, Java and C#
82
837Zip [plugin](https://github.com/mcmilk/7-Zip-Zstd)
84
85Dart [native bindings](https://github.com/thosakwe/brotli)
86
README.version