Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download Files From Old IDE #104

Open
bqi343 opened this issue Jun 13, 2023 · 3 comments · Fixed by #108
Open

Download Files From Old IDE #104

bqi343 opened this issue Jun 13, 2023 · 3 comments · Fixed by #108

Comments

@bqi343
Copy link
Member

bqi343 commented Jun 13, 2023

As mentioned in #98 (comment), we should add a button that users can click to download all of their files from the old IDE at once, well before shutting down the old IDE. Though I don't think I am familiar enough with the IDE to do this myself. @thecodingwizard ?

@thecodingwizard
Copy link
Member

It might not be that difficult to implement a "read-only" version of the legacy IDE -- basically we would have to go through every file we currently have, download it, and then store it on Firebase somewhere. This actually wouldn't take up too much space since most of our storage right now is being used by Firepad's overhead, so we would be able to keep this "read-only" IDE up and running forever. Implementing this might be easier than implementing the "download all files" button :p

@bqi343 bqi343 linked a pull request Jun 13, 2023 that will close this issue
2 tasks
@bqi343
Copy link
Member Author

bqi343 commented Jun 13, 2023

Implementing this might be easier than implementing the "download all files" button :p

It shouldn't be hard - all I need to complete the PR is a function that returns the code corresponding to a filename. Oops, idk how to do this though.

@thecodingwizard
Copy link
Member

To convert firepad data to text on the server, I think Firepad headless mode works: https://firepad.io/docs/#headless

I think the headless mode would also work in the browser.

@bqi343 bqi343 removed a link to a pull request Jun 22, 2023
2 tasks
@bqi343 bqi343 linked a pull request Jun 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants