From beccc8e652b3a5815c58522cd961d349da42b4ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A7=E9=A9=8A?= Date: Tue, 16 Dec 2025 18:08:51 +0800 Subject: [PATCH] init project --- .gitignore | 24 + README.md | 75 + app/app.vue | 16 + app/assets/css/main.css | 4 + app/components/base/BaseBackButton.vue | 24 + app/components/base/BaseButton.vue | 41 + app/components/base/BaseCard.vue | 33 + app/components/base/BaseInput.vue | 43 + app/components/base/BaseTextarea.vue | 43 + app/components/feature/CharacterEditor.vue | 242 + app/components/feature/SceneEditor.vue | 214 + app/composables/useAIImageGeneration.ts | 106 + app/composables/useAIProvider.ts | 24 + app/composables/useAIStoryboard.ts | 42 + app/composables/useAIStoryboardAnalysis.ts | 74 + app/pages/app/ai-storyboard.vue | 580 + app/pages/app/dashboard.vue | 123 + app/pages/app/settings.vue | 299 + app/pages/index.vue | 61 + app/types/ai.ts | 47 + app/types/camera.ts | 119 + app/types/storyboard.ts | 107 + app/utils/ai/prompts.ts | 232 + app/utils/clients/all-models.ts | 110 + app/utils/clients/gemini-models.ts | 271 + app/utils/clients/gemini.ts | 131 + app/utils/clients/grok-models.ts | 217 + app/utils/clients/grok.ts | 142 + app/utils/clients/list-models.ts | 54 + app/utils/storage.ts | 136 + app/utils/storyboard/pace.ts | 49 + app/utils/storyboard/styles.ts | 67 + doc/CURSOR_HIGHEST_RULES.md | 170 + doc/CUT_AI_FRONTEND_SPEC.md | 121 + nuxt.config.ts | 6 + package-lock.json | 11863 +++++++++++++++++++ package.json | 23 + public/favicon.ico | Bin 0 -> 4286 bytes public/robots.txt | 2 + tailwind.config.js | 16 + tsconfig.json | 18 + 41 files changed, 15969 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 app/app.vue create mode 100644 app/assets/css/main.css create mode 100644 app/components/base/BaseBackButton.vue create mode 100644 app/components/base/BaseButton.vue create mode 100644 app/components/base/BaseCard.vue create mode 100644 app/components/base/BaseInput.vue create mode 100644 app/components/base/BaseTextarea.vue create mode 100644 app/components/feature/CharacterEditor.vue create mode 100644 app/components/feature/SceneEditor.vue create mode 100644 app/composables/useAIImageGeneration.ts create mode 100644 app/composables/useAIProvider.ts create mode 100644 app/composables/useAIStoryboard.ts create mode 100644 app/composables/useAIStoryboardAnalysis.ts create mode 100644 app/pages/app/ai-storyboard.vue create mode 100644 app/pages/app/dashboard.vue create mode 100644 app/pages/app/settings.vue create mode 100644 app/pages/index.vue create mode 100644 app/types/ai.ts create mode 100644 app/types/camera.ts create mode 100644 app/types/storyboard.ts create mode 100644 app/utils/ai/prompts.ts create mode 100644 app/utils/clients/all-models.ts create mode 100644 app/utils/clients/gemini-models.ts create mode 100644 app/utils/clients/gemini.ts create mode 100644 app/utils/clients/grok-models.ts create mode 100644 app/utils/clients/grok.ts create mode 100644 app/utils/clients/list-models.ts create mode 100644 app/utils/storage.ts create mode 100644 app/utils/storyboard/pace.ts create mode 100644 app/utils/storyboard/styles.ts create mode 100644 doc/CURSOR_HIGHEST_RULES.md create mode 100644 doc/CUT_AI_FRONTEND_SPEC.md create mode 100644 nuxt.config.ts create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/favicon.ico create mode 100644 public/robots.txt create mode 100644 tailwind.config.js create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4a7f73a --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Nuxt dev/build outputs +.output +.data +.nuxt +.nitro +.cache +dist + +# Node dependencies +node_modules + +# Logs +logs +*.log + +# Misc +.DS_Store +.fleet +.idea + +# Local env files +.env +.env.* +!.env.example diff --git a/README.md b/README.md new file mode 100644 index 0000000..25b5821 --- /dev/null +++ b/README.md @@ -0,0 +1,75 @@ +# Nuxt Minimal Starter + +Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. + +## Setup + +Make sure to install dependencies: + +```bash +# npm +npm install + +# pnpm +pnpm install + +# yarn +yarn install + +# bun +bun install +``` + +## Development Server + +Start the development server on `http://localhost:3000`: + +```bash +# npm +npm run dev + +# pnpm +pnpm dev + +# yarn +yarn dev + +# bun +bun run dev +``` + +## Production + +Build the application for production: + +```bash +# npm +npm run build + +# pnpm +pnpm build + +# yarn +yarn build + +# bun +bun run build +``` + +Locally preview production build: + +```bash +# npm +npm run preview + +# pnpm +pnpm preview + +# yarn +yarn preview + +# bun +bun run preview +``` + +Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. diff --git a/app/app.vue b/app/app.vue new file mode 100644 index 0000000..bc4414b --- /dev/null +++ b/app/app.vue @@ -0,0 +1,16 @@ + + + diff --git a/app/assets/css/main.css b/app/assets/css/main.css new file mode 100644 index 0000000..a90f074 --- /dev/null +++ b/app/assets/css/main.css @@ -0,0 +1,4 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + diff --git a/app/components/base/BaseBackButton.vue b/app/components/base/BaseBackButton.vue new file mode 100644 index 0000000..316422b --- /dev/null +++ b/app/components/base/BaseBackButton.vue @@ -0,0 +1,24 @@ + + + + diff --git a/app/components/base/BaseButton.vue b/app/components/base/BaseButton.vue new file mode 100644 index 0000000..a180e1f --- /dev/null +++ b/app/components/base/BaseButton.vue @@ -0,0 +1,41 @@ + + + + diff --git a/app/components/base/BaseCard.vue b/app/components/base/BaseCard.vue new file mode 100644 index 0000000..db10fd9 --- /dev/null +++ b/app/components/base/BaseCard.vue @@ -0,0 +1,33 @@ + + + + diff --git a/app/components/base/BaseInput.vue b/app/components/base/BaseInput.vue new file mode 100644 index 0000000..fc93cec --- /dev/null +++ b/app/components/base/BaseInput.vue @@ -0,0 +1,43 @@ + + + + diff --git a/app/components/base/BaseTextarea.vue b/app/components/base/BaseTextarea.vue new file mode 100644 index 0000000..cc25517 --- /dev/null +++ b/app/components/base/BaseTextarea.vue @@ -0,0 +1,43 @@ +