dougrich/conscripter

Support sharing by linking

Opened this issue · 1 comments

Story Time:

It'd be really convenient when sharing fonts to be able to click a 'share' link and it would make a link that I could send to someone else and show them the exact workspace I am currently working on.


Considerations:

  • how to embed the current font state?
  • how to make it as small as possible?

It will need to be stored in the query string for now.

Results from brief experimentation:

  • glyph data is really big, even with a small orthography and using a simple binary encoding like msgpack. Will likely need a more custom solution for encoding.
  • compression is an option that might help a lot, but finding one that works reasonably well client-side is the trick
  • asynchronously doing this in the background for more expensive compressions might be an option as well