Open cefn opened 7 years ago
@JoshuaLowe1002 and @cjdell is this enough about the process of gzipping to be going on with?
Thanks @cefn. I stumbled upon that discussion last night and learned a lot. I'm working on bringing the size of EduBlocks down to the smallest possible. Will let you know how it goes! :-)
Chris and Josh working on Edublocks were curious about embedding their drag-and-drop web client into the Cockle. Promised to raise an issue regarding the preparation of
html.gz
web resources to be served by the low-headroom Gunzipping server at https://github.com/ShrimpingIt/cockle/blob/master/replserver/boot.pyThe approach was originally discussed at https://github.com/micropython/micropython/issues/2299#issuecomment-264750573 but invite ongoing issues here in the cockle repo.
For reference, I created the webrepl inlined gzipped file using npm's inliner package, with the result put through gzip, from within the latest
.html
file checked out from the webrepl repo, like...inliner webrepl.html | gzip > webrepl-inlined.html.gz