26 Commits

Author SHA1 Message Date
James Murdza
07d3802baa fix: reload the entire file list after adding or deleting files 2024-11-17 13:25:16 -05:00
Akhilesh Rangani
3f8e27d969 chore: format frontend code 2024-10-21 13:57:17 -06:00
Hamzat Victor
6e14f676cf feat: sort files in explorer 2024-10-14 12:09:17 +01:00
Hamzat Victor
c2a23fcbcb fix: remove editor red squiggly lines
by dynamically loading project's tsconfig file and adding nice defaults
2024-09-24 13:00:49 +01:00
Hamzat Victor
47324f15bf feat: add support for syntax highlighting for 290+ languages 2024-09-05 13:30:24 +01:00
James Murdza
9f0b6a8fdc
Implement secure cloud sandboxes with E2B (#35)
* chore: rename utils.ts to fileoperations.ts

* feat: replace node-pty with E2B sandboxes

* added debounced function in the editor

* fix: move socket connection to useRef

* fix: wait until terminals are killed to close the container

* fix: ensure container remains open until all owner connections are closed

* fix: sync files to container instead of local file system

* fix: set project file permissions so that they belong to the terminal user

* fix: use the container URL for the preview panel

* fix: count only the current user's sandboxes towards the limit

* fix: remove hardcoded reference to localhost

* fix: add error handling to the backend

* docs: add information about E2B

---------

Co-authored-by: Akhilesh Rangani <akhileshrangani4@gmail.com>
2024-06-27 23:39:03 -07:00
Ishaan Dey
fbb98ac3b0 revert to local hosting 2024-05-26 17:28:52 -07:00
Ishaan Dey
010a4fec59 improve starting server logic 2024-05-26 12:18:09 -07:00
Ishaan Dey
1528ea5257 add project deletion in storage & connect to ip port 3000 2024-05-23 23:05:01 -07:00
Ishaan Dey
218afd4fe0 services logic 2024-05-23 01:35:08 -07:00
Ishaan Dey
561a284fc9 more container orchestration logic 2024-05-21 00:57:52 -07:00
Ishaan Dey
a3dd0d6598 small changes 2024-05-20 09:49:47 -07:00
Ishaan Dey
bf35c2bf82 dashboard ui 2024-05-17 23:54:34 -07:00
Ishaan Dey
5b72f84951 formatting 2024-05-13 22:04:00 -07:00
Ishaan Dey
eb629835d2 orchestrator changes 2024-05-13 14:32:15 -07:00
Ishaan Dey
5df770bdd6 change gke cluster 2024-05-13 03:00:15 -07:00
Ishaan Dey
59fb0521af improve orchestrator, docker settings, and ui layouts 2024-05-12 22:06:11 -07:00
Ishaan Dey
18aca540cc re-organize files + setup more orchestration logic 2024-05-12 02:10:31 -07:00
Ishaan Dey
b496ab193d add folder logic 2024-05-11 18:03:42 -07:00
Ishaan Dey
7fba908b7c add basic ratelimiting 2024-05-05 12:55:34 -07:00
Ishaan Dey
894de9990a delete file ui + logic 2024-04-30 01:56:43 -04:00
Ishaan Dey
29cd17cd3d finally working terminal 2024-04-29 02:19:27 -04:00
Ishaan Dey
bce9d11b3b adding file logic 2024-04-29 00:50:25 -04:00
Ishaan Dey
ec900d3d77 start terminal ui + logic 2024-04-28 20:06:47 -04:00
Ishaan Dey
1b6bd01989 sandbox data route + cosmetic changes 2024-04-27 00:28:00 -04:00
Ishaan Dey
a838241ac3 refactor folder 2024-04-16 17:18:51 -04:00