cpinitiative / ide

A realtime collaborative IDE with code execution, intellisense, mobile support, and built-in USACO submissions.
https://ide.usaco.guide/
Mozilla Public License 2.0
354 stars 36 forks source link

New Version of the IDE! #98

Open thecodingwizard opened 1 year ago

thecodingwizard commented 1 year ago

We updated the backend of the IDE (migrated from Firepad to YJS). This reduces costs, increases performance, and improves stability.

If you encounter any issues or have other general feedback, please leave a comment here or open a new issue.

We will continue to host the old ide at https://legacy.ide.usaco.guide/. However, please move important files to the new IDE, as we may have to shut down the legacy server eventually.

Migration Plan

Code is in the legacy-archive branch.

Before: 10.5GB used. Now (after short term fix): 2.1GB

Disk Usage

Update: On Dec 20 2023, I resized it to use a 256gb ssd, of which we have used 15gb, so we should be good for now.


For the new server, this is our disk space as of May 31 2023:

image

Aug 21 2023:

image image

December 17, 2023:

image image

December 20, 2023 (2:48am ET):

image

May 17, 2023:

image

programmeruser2 commented 1 year ago

Is there a way to download all of the files on the old IDE at once?

thecodingwizard commented 1 year ago

Not currently, but it’s probably possible to write a script to do this (?)

programmeruser2 commented 1 year ago

Is there a simple API endpoint for enumerating workspaces/downloading files? It seems like right now it uses Firebase

thecodingwizard commented 1 year ago

There isn’t. You can connect to firebase manually though, and just directly read from firebase to get the info you need?