Dateien nach "b2b-marketing-assistant" hochladen

This commit is contained in:
2025-12-22 19:59:38 +00:00
parent 9f0fc6805c
commit 57df160a7c
5 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<div align="center">
<img width="1200" height="475" alt="GHBanner" src="https://github.com/user-attachments/assets/0aa67016-6eaf-458a-adb2-6e31a0763ed6" />
</div>
# Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1ZPnGbhaEnyhIyqs2rYhcPXHg8VACWeq0
## Run Locally
**Prerequisites:** Node.js
1. Install dependencies:
`npm install`
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
3. Run the app:
`npm run dev`

View File

@@ -0,0 +1,5 @@
{
"name": "B2B Marketing Assistant",
"description": "An intelligent assistant that analyzes a company's website to generate targeted B2B marketing strategies, personas, pain points, and messaging across various channels.",
"requestFramePermissions": []
}

View File

@@ -0,0 +1,22 @@
{
"name": "b2b-marketing-assistant",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react-dom": "^19.2.0",
"@google/genai": "^1.28.0",
"react": "^19.2.0"
},
"devDependencies": {
"@types/node": "^22.14.0",
"@vitejs/plugin-react": "^5.0.0",
"typescript": "~5.8.2",
"vite": "^6.2.0"
}
}

View File

@@ -0,0 +1,29 @@
{
"compilerOptions": {
"target": "ES2022",
"experimentalDecorators": true,
"useDefineForClassFields": false,
"module": "ESNext",
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
],
"skipLibCheck": true,
"types": [
"node"
],
"moduleResolution": "bundler",
"isolatedModules": true,
"moduleDetection": "force",
"allowJs": true,
"jsx": "react-jsx",
"paths": {
"@/*": [
"./*"
]
},
"allowImportingTsExtensions": true,
"noEmit": true
}
}

View File

@@ -0,0 +1,23 @@
export interface InputData {
companyUrl: string;
language: 'de' | 'en';
regions: string;
focus: string;
channels: string[];
}
export interface AnalysisStep {
headers: string[];
rows: string[][];
summary?: string[];
}
export interface AnalysisData {
offer: AnalysisStep;
targetGroups: AnalysisStep;
personas: AnalysisStep;
painPoints: AnalysisStep;
gains: AnalysisStep;
messages: AnalysisStep;
}