bigmistqke / repl

🗒️ building blocks to transpile and execute code in-browser.
https://bigmistqke.github.io/repl
MIT License
11 stars 1 forks source link

URL for sharing #4

Open trusktr opened 1 month ago

trusktr commented 1 month ago

Maybe it can store the files/code in a base64 encoded query parameter in the URL, then it would be able to pre-fill the editor with that code after someone opens a shared link

bigmistqke commented 1 month ago

good idea!

added simple hashing with lz-string to the demo.