glkote icon indicating copy to clipboard operation
glkote copied to clipboard

Use base32768 for file storage? (dialog.js)

Open erkyrath opened this issue 2 years ago • 2 comments

This should give good compression. Better than the current "write out numbers in ASCII" plan.

See https://github.com/qntm/base32768 .

erkyrath avatar Aug 10 '22 01:08 erkyrath

Would you like me to make a pull request? I think the code in my fork can be applied pretty much without changes.

https://github.com/curiousdannii/glkote/commit/2503695561d9c8f2d6990f57abd887d2d5e4775f

Actually maybe you'd want to massage it more yourself, as you're not using npm to bring in dependencies. It's only one file so you could just embed it in dialog.js.

curiousdannii avatar Aug 10 '22 01:08 curiousdannii

I will massage but thanks for the working example.

erkyrath avatar Aug 10 '22 03:08 erkyrath