wcchoi / libunrar-js Goto Github PK
View Code? Open in Web Editor NEWExtract RAR archives in browser - unrar in js
Home Page: http://wcchoi.github.io/libunrar-js/
License: Other
Extract RAR archives in browser - unrar in js
Home Page: http://wcchoi.github.io/libunrar-js/
License: Other
error info
Invalid asm.js: Invalid member of stdlib
no native wasm Memory in use
Assertion failed: no binaryen method succeeded.
Unless I'm missing something it seems like you have to GPL this? The project you linked to
https://github.com/seikichi/unrar.js
is GPLed (not LGPLed) so putting that code in this lib requires the same licence. If it was LGPLed you could just use it as a library but it's not LGPLed it's GPLed.
Am I wrong?
I want to build a async version of it so I can decompress files on the fly.
I used your lib but iis not load the mem file so app not run successfully.
libunrar.js:15 GET http://localhost/rar.zip.gz/js/libunrar.js.mem 404 (Not Found)
xhrLoad @ libunrar.js:15
asyncLoad @ libunrar.js:15
(anonymous) @ libunrar.js:31
libunrar.js:31 Uncaught could not load memory initializer http://localhost/rar.zip.gz/js/libunrar.js.mem
(anonymous) @ libunrar.js:31
(anonymous) @ libunrar.js:15
xhr_onload @ libunrar.js:15
load (async)
xhrLoad @ libunrar.js:15
asyncLoad @ libunrar.js:15
(anonymous) @ libunrar.js:31
index.html:1 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
I wonder why I needed to add mem file if I wanted an pure javascript app. Can you provide an solution with no-mem-file libunrar.js or force iis or xampp to load it without affecting the mime (*.mem extension), (I cannot config my web host to be available with loading mem file)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.