📜 ⬆️ ⬇️

Compressing files (tar and lzma) on the client side

Artel BrowserPlus (from Yahoo) has released an API for compressing files on the client side. As explained in the following screencast, the Java JavaScript API allows you to package and compress files in a client using LZMA or tar.


"Client Side Compression" posted Lloyd Hilaiel on Vimeo

You can read more about the implementation or experience the live demonstration (BrowserPlus is required) .
')
[Browser Plus add-on to the client side]
Prilad Browser Plus for client side packaging

Using this API is not difficult: we call the required method and send files to it:
BrowserPlus.Tar.tar ({'files': files});
BrowserPlus.LZMA.compress ({'files': files});
Both these extensions are available on GitHub - LZMA and tar .

Translation nuances: the word “prilad”, long lived in the Great Russian language (at least since Dahl times ), here serves as a translation of the technical term “add-on” (and not “device”, as in Ukrainian ), the word “artel” means development team (in the original - "team").

Source: https://habr.com/ru/post/73085/


All Articles