42 Commits

Author SHA1 Message Date
Akhileshrangani4
30c9da559f feat: user avatar images
- added user avatars for each user
- it will fetch user images from github or google and if there is no image then it will show initials
2024-11-11 16:01:47 -05:00
Akhileshrangani4
2262adca74 feat: schema updates
- added additional items to users and sandbox tables
- added a random username generator
2024-11-10 21:52:52 -05:00
James Murdza
52aa9d92fd chore: format Cloudflare Worker code 2024-10-24 12:45:21 -06:00
James Murdza
63aa2b1e09 chore: enable code formatting for Cloudflare Worker code 2024-10-24 12:45:03 -06:00
James Murdza
71004c61b2 fix: remove enum for project types 2024-08-18 06:52:41 -07: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
James Murdza
664a0098a6 fix: add missing values and instructions to config files 2024-06-01 22:36:38 -04:00
Ishaan Dey
ae15e44472 remove kv 2024-05-26 18:45:28 -07:00
Ishaan Dey
6376493ae7 dynamic worker routes based on env 2024-05-26 18:37:36 -07:00
Ishaan Dey
f9c9a22c13 update prettier 2024-05-26 12:19:59 -07:00
Ishaan Dey
74bb83f3ed works 2024-05-25 20:13:31 -07:00
Ishaan Dey
a90c09200d start kv 2024-05-25 01:16:25 -07:00
Ishaan Dey
30e1c39d6c type fixes 2024-05-23 23:52:30 -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
8e49fed48b fix new user error + add wrangler.toml examples 2024-05-22 20:06:16 -07:00
Ishaan Dey
f35e5debff small changes 2024-05-22 19:35:19 -07:00
Ishaan Dey
fa6a92b9b4 reduce # generations to 10 2024-05-17 22:25:55 -07:00
Ishaan Dey
12e8051673 shared user restrictions + cleanup console logs 2024-05-07 22:40:59 -07:00
Ishaan Dey
84c49f0d9d add worker service binding + inactivity detection 2024-05-06 21:29:25 -07:00
Ishaan Dey
47ce5db223 add ai generations limit + random bug fixes 2024-05-05 16:51:30 -07:00
Ishaan Dey
7fba908b7c add basic ratelimiting 2024-05-05 12:55:34 -07:00
Ishaan Dey
a084ecd6c7 improve share logic 2024-05-01 08:20:08 -04:00
Ishaan Dey
1066638e92 shared with me page logic 2024-05-01 02:49:25 -04:00
Ishaan Dey
d3698b9a50 updating logic 2024-05-01 02:28:39 -04:00
Ishaan Dey
e23b38875e unsharing logic 2024-05-01 02:22:02 -04:00
Ishaan Dey
5ba1c03030 sharing logic 2024-05-01 01:53:49 -04:00
Ishaan Dey
66a76eb0f9 sql schema update + start share logic 2024-05-01 01:29:16 -04:00
Ishaan Dey
c171cb580e add users-to-sandboxes relation 2024-05-01 00:08:10 -04:00
Ishaan Dey
7b7bd6f430 implement server actions for sandbox data mutation 2024-04-27 21:24:20 -04:00
Ishaan Dey
d941e2c056 add sonner + project creation working 2024-04-27 16:22:35 -04:00
Ishaan Dey
1b6bd01989 sandbox data route + cosmetic changes 2024-04-27 00:28:00 -04:00
Ishaan Dey
f4c3d43b87 update schema + working sandbox creation route 2024-04-24 02:22:06 -04:00
Ishaan Dey
ffee1b60c7 fix worker + start create modal with logic 2024-04-23 01:53:37 -04:00
Ishaan Dey
54617877f9 split db and storage workers 2024-04-22 00:30:50 -04:00
Ishaan Dey
64fda58679 change folder name database -> worker 2024-04-21 23:09:37 -04:00
Ishaan Dey
14d95eb8fe improve backend logic 2024-04-21 22:55:49 -04:00
Ishaan Dey
a765eea5d8 pass data properly to userbutton 2024-04-18 15:25:20 -04:00
Ishaan Dey
19c2992824 fix db relations + display sandboxes on dash 2024-04-18 00:13:40 -04:00
Ishaan Dey
14d76c605e auth syncing 2024-04-17 22:55:02 -04:00
Ishaan Dey
a53cc57b24 refactor routes everywhere 2024-04-17 21:24:57 -04:00
Ishaan Dey
d8d639510c studio working 2024-04-16 19:06:23 -04:00
Ishaan Dey
27159a60e6 start backend db 2024-04-16 18:19:34 -04:00