radian-software / riju

⚡ Extremely fast online playground for every programming language.
https://riju.codes
MIT License
1.62k stars 190 forks source link

Save code locally in browser session #135

Open raxod502 opened 2 years ago

raxod502 commented 2 years ago

It would be nice if when you refreshed the page, your code didn't disappear, at least within a single browser session. We can do that by just saving the code in session-local cookies when you click Run, pretty easy.

c-shubh commented 2 years ago

Optionally, Ctrl + S could either save locally in the browser, or save as a file.

CalSch commented 2 years ago

Does this still need to be implemented? I think I could do it and I would like to help.

raxod502 commented 2 years ago

Yep, still unimplemented. Happy to have some help!

CalSch commented 2 years ago

Thanks! I will start working on it.

phamduylong commented 9 months ago

I can take a look if this is still not fixed. As soon as I get docker working on my PC :D

raxod502 commented 9 months ago

Pull requests always appreciated, but do keep in mind https://github.com/radian-software/riju/issues/168, I wouldn't want to waste your time!