https://github.com/sargunv/kompress
https://github.com/sargunv/kompress
compression deflate gzip kotlin multiplatform zip zlib
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sargunv/kompress
- Owner: sargunv
- License: other
- Created: 2025-07-03T09:02:15.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-08T06:47:12.000Z (12 months ago)
- Last Synced: 2025-07-08T07:00:39.977Z (12 months ago)
- Topics: compression, deflate, gzip, kotlin, multiplatform, zip, zlib
- Language: Kotlin
- Homepage:
- Size: 1.11 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://central.sonatype.com/namespace/kompress)
[](https://github.com/sargunv/kompress/blob/main/LICENSE)
[](./gradle/libs.versions.toml)
[](https://sargunv.github.io/kompress/)
[](https://sargunv.github.io/kompress/api/)
# Kompress
Kompress is a WIP [Kotlin Multiplatform] library for compression and
decompression of data. It will contain:
- a pure Kotlin port of [zlib] `deflate` and `inflate`.
- platform-specific zlib wrappers as alternative implementations.
- a [kotlinx-io] friendly API for streaming compression / decompression.
- a zip archive reader and writer.
**Status**
| API | Compress | Decompress |
|-----------------------------------|----------|------------|
| Common: pure Kotlin zlib port | 🚫 | 🚧 |
| JVM: `java.util.zip` wrapper | ✅ | ✅ |
| Native: `platform.zlib` wrapper | ✅ | ✅ |
| JS: `pako` or `node:zlib` wrapper | 🚫 | 🚫 |
| Common: Zip reader | 🚫 | 🚫 |
| Common: Zip writer | 🚫 | 🚫 |
## Usage
- [Documentation](https://sargunv.github.io/kompress/) (TODO)
- [API Reference](https://sargunv.github.io/kompress/api/)
[Kotlin Multiplatform]: https://kotlinlang.org/docs/multiplatform.html
[zlib]: https://www.zlib.net/
[kotlinx-io]: https://github.com/Kotlin/kotlinx-io