You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Client-side "save to file"-function for code output? #42
In the continuation of #36 , what do you think about a 'save output to file' option? I have, for instance, used an LLM to iterate over an SQL schema. Lots of iterations, 18-20 tables. Being able to just click 'save' and be prompted for a file-name sounds kinda nifty.
link to client-side 'save-to-file'-javascript. I am not skilled in javascript, so I cannot evaluate this particular solution. But it appears possible, at least.
I've added a basic save button with the latest commit. But for "browser security reasons" the client doesn't have all that much control over when the browser decides to show file dialogs and when it just dumps files in your download folder. So I'm not sure it's a good enough solution. It's a starting point I guess.
Activity
turboderp commentedon Mar 26, 2024
I've added a basic save button with the latest commit. But for "browser security reasons" the client doesn't have all that much control over when the browser decides to show file dialogs and when it just dumps files in your download folder. So I'm not sure it's a good enough solution. It's a starting point I guess.