Dateien nach "competitor-analysis" hochladen

This commit is contained in:
2026-01-09 17:38:22 +00:00
parent 72c987ad2a
commit c877116b4d
5 changed files with 116 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/1vJMxbT1hW3SiMDUeEd8cXGO_PFo8GcsE
## 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,51 @@
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>B2B Competitor Analysis Agent</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
// Dark Theme
'brand-primary': '#0D1B2A',
'brand-secondary': '#1B263B',
'brand-accent': '#415A77',
'brand-light': '#778DA9',
'brand-text': '#E0E1DD',
'brand-highlight': '#3B82F6',
// Light Theme
'light-primary': '#F8F9FA',
'light-secondary': '#FFFFFF',
'light-accent': '#DEE2E6',
'light-text': '#212529',
'light-subtle': '#6C757D',
},
},
},
}
</script>
<script type="importmap">
{
"imports": {
"react/": "https://aistudiocdn.com/react@^19.2.0/",
"react": "https://aistudiocdn.com/react@^19.2.0",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.28.0",
"jspdf": "https://aistudiocdn.com/jspdf@^2.5.1",
"jspdf-autotable": "https://aistudiocdn.com/jspdf-autotable@^3.8.2"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body class="bg-light-primary dark:bg-brand-primary text-light-text dark:text-brand-text transition-colors duration-300">
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>

View File

@@ -0,0 +1,16 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error("Could not find root element to mount to");
}
const root = ReactDOM.createRoot(rootElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);

View File

@@ -0,0 +1,5 @@
{
"name": "B2B Competitor Analysis Agent",
"description": "An AI-powered research agent that analyzes a company's website to identify products, target markets, and competitors, guiding the user through a step-by-step competitive analysis process.",
"requestFramePermissions": []
}

View File

@@ -0,0 +1,24 @@
{
"name": "b2b-competitor-analysis-agent",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react": "^19.2.0",
"react-dom": "^19.2.0",
"@google/genai": "^1.28.0",
"jspdf": "^2.5.1",
"jspdf-autotable": "^3.8.2"
},
"devDependencies": {
"@types/node": "^22.14.0",
"@vitejs/plugin-react": "^5.0.0",
"typescript": "~5.8.2",
"vite": "^6.2.0"
}
}