-
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathconstants.ts
More file actions
73 lines (67 loc) · 2.96 KB
/
Copy pathconstants.ts
File metadata and controls
73 lines (67 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
export const SUGGESTIONS = [
{
title: 'Slack clone',
prompt: `Build an app similar to Slack with the following features:
- Has a channels panel on the left with a button to create new channels
- Has a message pane on the right and a message posting box at the bottom
- Each message has a name and avatar next to it for the author
- Has an "edit profile" tab for uploading a profile photo to CodinIT storage and changing your name
- Only the messages are scrollable, with message box and channel selector fixed like the header
- Automatically scrolls to the bottom when new messages are sent
- Includes a search bar at the top that queries all messages`,
},
{
title: 'Instagram clone',
prompt: `Build an app similar to Instagram with a global shared image stream that has these features:
- Has a drag and drop box for uploading images to CodinIT storage
- Has a "Stream" tab for viewing the global image stream
- Has a "My Photos" tab for viewing and deleting your own images
- Allows liking images in the "Stream" tab
- Shows like count for each image`,
},
{
title: 'Splitwise clone',
prompt: `Build a group shared expenses app that has the following features:
- Has users, groups, expenses, payments, and reimbursements
- Represents members in a group via a table rather than an array
- Users can create groups and invite other users to join
- Group members can add expenses to a group, which get shared among all members in the group
- Shows a list of members in the group and a list of expenses along with who paid them
- Shows how much every member has been paid and reimbursed
- Each member should be able to record a payment to another member, which adds to how much they have paid and adds to how much the recipient has been reimbursed
- Members should record payments so that every member in the group has the same net balance`,
},
{
title: 'Notion clone',
prompt: `Make a collaborative text editor like Notion with these features:
- Real-time collaboration where multiple users can edit the same document
- Presence functionality for each document with a facepile
- Document Organization:
- Private documents (only visible to the creator)
- Public documents (visible to all users)
- Simple sidebar navigation between documents
- Full text search over document titles
- Interface:
- Clean, minimal design with lots of white space and a neutral color palette (soft grays and whites)
- Focus on readable text and minimal distractions`,
},
];
export const WORK_DIR_NAME = 'project';
export const WORK_DIR = `/home/${WORK_DIR_NAME}`;
export const PREWARM_PATHS = [
`${WORK_DIR}/package.json`,
`${WORK_DIR}/codinit/schema.ts`,
`${WORK_DIR}/src/App.tsx`,
`${WORK_DIR}/src/index.css`,
`${WORK_DIR}/src/tailwind.config.js`,
];
// A list of files that we block the LLM from modifying
export const EXCLUDED_FILE_PATHS = [
'codinit/auth.ts',
'codinit/http.ts',
'src/main.tsx',
'src/SignInForm.tsx',
'src/SignOutButton.tsx',
'vite.config.ts',
'package.json',
];