Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
/ xpra-lz4 Public archive

The MIT licensed Javascript LZ4 Compression from an old version of Xpra

Notifications You must be signed in to change notification settings

sagemathinc/xpra-lz4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

The MIT licensed Javascript LZ4 Compression from an old version of Xpra

UPDATE: https://github.com/williamstein/lz4-ts works VERY well, and is beautiful clean code. I'm switching to that and obviously won't worry about this any further.

This code is copied straight from the upstream Xpra client code, but with prettier formatting applied.

I couldn't find any npm modules that worked in the browser and actually decompressed xpra's lz4 compressed data. This does so and works VERY well/fast. However... it's really big. Sorry. This should probably be loaded in a separate chunk or something.

TODO: I just hack setting window.lz4 down below! This is not robust, but it works fine for now.

LICENSE: Xpra was Licensed under MPL 2.0. This was the license of the frontend client when I copied this code from Xpra. This code says:

* LZ4 based compression and decompression
* Copyright (c) 2014 Pierre Curto
* MIT Licensed

About

The MIT licensed Javascript LZ4 Compression from an old version of Xpra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published