Dateien nach "b2b-marketing-assistant" hochladen
This commit is contained in:
20
b2b-marketing-assistant/README.md
Normal file
20
b2b-marketing-assistant/README.md
Normal 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`
|
||||||
5
b2b-marketing-assistant/metadata.json
Normal file
5
b2b-marketing-assistant/metadata.json
Normal 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": []
|
||||||
|
}
|
||||||
22
b2b-marketing-assistant/package.json
Normal file
22
b2b-marketing-assistant/package.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
29
b2b-marketing-assistant/tsconfig.json
Normal file
29
b2b-marketing-assistant/tsconfig.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
23
b2b-marketing-assistant/types.ts
Normal file
23
b2b-marketing-assistant/types.ts
Normal 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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user