pako
ruffle
Our great sponsors
pako | ruffle | |
---|---|---|
6 | 480 | |
5,295 | 14,482 | |
0.8% | 1.9% | |
0.6 | 9.9 | |
about 1 year ago | 4 days ago | |
JavaScript | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pako
-
Gzip library for client-side compression
try pako
-
Storing State in the URL
A trick I've used on top of serializing JSON in the URL is in-browser compression with a library like pako [0] (zlib in JavaScript). This helps you get more data in before you reach the browser limit for URL length.
[0] https://github.com/nodeca/pako
-
Browsers can do that?
Another operation that is sometimes desired is to take several files and give the user a compressed file. There are actually a surprisingly large amount (jszip, pako) of client side options here, but my favorite so far when it comes to speed, size and working with .zip has been fflate. But if you'd like to work with other formats, there are also libraries to decompress 7-Zip, RAR & TAR.
-
Major updates for bundle.js.org v0.0.3
I used monaco-editor for the code-editor, esbuild and rollup as bundler and treeshaker respectively, pako as a js port of the zlib and gzip libraries, pretty-bytes to convert the gzip size to human readable values, and countapi-js to keep track of the number of page visits, in a private and secure way.
-
Interacting with usernotes outside of toolbox
Just wanted to let you know the most current version of pako does not work with the example on the wiki page. It errors out with "unknown compression format". I had to use the version found in Toolbox lib folder in order to get the example from the wiki page to work.
-
298 App Lab apps in a Steam-like filter system
Uncompressing should be straightforward with pako.js.
ruffle
-
Orisinal: Morning Sunshine (recovered old flash games)
The memories…
I often wondered what would happen to those wonderful Orisinal mini games after Flash's death, without actually checking out the site. Would Ferry Halim find the time to port them to "HTML5"? Would they just… disappear forever?
It turns out that they know run in Ruffle[1], a Rust/WASM based Flash Player emulator I've never heard of (or forgotten about). The handful of them that I have tested work flawlessly.
[1] https://ruffle.rs/
-
WebAssembly Playground
shrug It finds its uses. It's just not that overstated.
sandspiel is quite popular and is built using WASM: https://sandspiel.club/
Google Earth - https://blog.chromium.org/2019/06/webassembly-brings-google-...
Ruffle (the "make Flash run safely" tool) - https://ruffle.rs/
Ableton's Learning Synths - https://learningsynths.ableton.com/
etc etc. It's just hard to tell when something is using WASM when it "just works" and is indistinguishable from optimized JavaScript
-
Amon Tobin – Foley Room site (2007)
I was amazed that the site still runs, apparently still using the same engine.
But it seems that it was a flash site (of course), and archive.org seems to replace Flash Player with "Ruffle" [1]. Either that, or someone of Tobin's team replaced Flash with Ruffle >= 2019.
[1] https://ruffle.rs/
-
New York Times Flash-based visualizations work again
Out of curiosity a couple months ago I wondered if I could play my old Proximity flash game on Newgrounds from the browser within the Quest 3 VR headset, and it worked great!
That led me to do a little searching, and I discovered that originally the game didn't work in Ruffle, as I apparently did something with the play game button that wasn't normal. But someone put a fix in it back in 2020[1] in order to get my game working again. That was pretty neat. Felt kind of nice that people still cared enough about my old game to make sure it still works in an emulator.
Still working on a more in-depth sequel (using Monogame), and I'm way overdue to make a new web version of the original. Might knock that out once I get closer to getting the sequel out there.
[1]: https://github.com/ruffle-rs/ruffle/pull/1024
-
New York Times has added a web-based Flash player to their archive website
i believe it's using Ruffle[0] and that's already happened[1]
[0] https://github.com/ruffle-rs/ruffle
-
It's the offseason, so it's time to face the most lethal bullpen ever assembled. Let's play Winnie the Pooh's Home Run Derby!
This is all using a really cool Flash emulator called https://github.com/ruffle-rs/ruffle
- you can still play flash games without using adobe flash player thanks to ruffle
- Você lembra dos jogos em Flash?
- A Flash Player emulator written in Rust
- Ruffle: Flash Player Emulator
What are some alternatives?
JSZip - Create, read and edit .zip files with Javascript
lightspark - An open source flash player implementation
fast-zlib - Shared context synchronous compression
Offline-flash-player
decompress-zip - Module that decompresses zip files
react-resizable-and-movable - 🖱 A resizable and draggable component for React.
fflate - High performance (de)compression in an 8kB package
TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.
Archiver - a streaming interface for archive generation
launcher - Launcher for Flashpoint Archive
decompress - Extracting archives made easy
jpexs-decompiler - JPEXS Free Flash Decompiler