pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Microinverter Intelligence Platform crawls competitor and Enphase sites across regions and languages, extracts and normalizes specs using LLMs, summarizes the results, and alongwith a searchable product library, a comparison tool with AI-generated competitive threat analysis, a continuously updated news feed, and an executive dashboard.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
AI-powered product intelligence platform for tracking, comparing, and analyzing microinverters across 14 manufacturers, 81+ products, and 54 countries.
Open http://localhost:3000 — login with Username: Enphase / Password: Enphase@123
No database or API keys required for demo. The app runs on static TypeScript data modules.查看完整 README ↗AI-powered product intelligence platform for tracking, comparing, and analyzing microinverters across 14 manufacturers, 81+ products, and 54 countries.
# 1. Install dependencies
npm install --legacy-peer-deps
# 2. Create environment file
cp env.example .env.local
# 3. Start development server
npm run dev
Open http://localhost:3000 — login with Username: Enphase / Password: Enphase@123
No database or API keys required for demo. The app runs on static TypeScript data modules.
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router), React 19, TypeScript 5 |
| Styling | Tailwind CSS 4, shadcn/ui, Radix UI |
| Charts | Recharts |
| Maps | react-simple-maps (interactive world map) |
| Animation | Framer Motion |
| Auth | NextAuth.js 4 (Credentials provider, JWT) |
| AI Pipeline | OpenAI GPT-4o, Anthropic Claude, text-embedding-3 |
| Crawling | Playwright, pdf-parse, SerpAPI |
| Database | PostgreSQL + pgvector (Prisma ORM) — optional for demo |
| Queue | Redis + BullMQ — optional for demo |
| Route | Description |
|---|---|
/dashboard | KPI cards, trend charts, recent product launches |
/search | Product Library — filterable grid of 81+ products |
/compare | Side-by-side comparison (up to 4 products) with AI summary |
/changes | Latest news & change events timeline (91 events, 2023–2026) |
/manufacturers | Manufacturer grid → detail page with interactive world map |
/pipeline | AI crawl pipeline status, multi-language crawl tab |
src/
├── app/ # Next.js App Router pages
│ ├── api/ # 13 API route groups
│ ├── auth/signin/ # Sign-in page
│ ├── dashboard/ # Dashboard
│ ├── search/ # Product Library
│ ├── compare/ # Product comparison + AI summary
│ ├── changes/ # News & change events
│ ├── manufacturers/ # Manufacturer list + [id] detail
│ └── pipeline/ # AI pipeline status
├── components/
│ ├── layout/ # AppShell, Sidebar (240px), Header (48px)
│ ├── maps/ # Interactive world map component
│ ├── charts/ # Recharts wrappers
│ ├── ui/ # shadcn/ui components
│ └── providers/ # NextAuth SessionProvider
├── data/
│ ├── products-data.ts # 81+ product specs (244KB)
│ └── comprehensive-data.ts # Manufacturers, changeEvents, crawlJobs
├── services/
│ ├── ai/ # Extraction (Claude), Summarization (GPT-4o), Embeddings
│ ├── crawling/ # Playwright crawler, multi-lang (10 languages)
│ ├── pdf/ # PDF datasheet processor
│ └── web-search/ # SerpAPI integration
├── lib/ # Auth, DB, utilities
├── hooks/ # useAuth hook
├── jobs/ # BullMQ crawl workers
└── types/ # TypeScript interfaces
Copy env.example to .env.local. Only NEXTAUTH_SECRET is required for demo:
NEXTAUTH_SECRET="any-random-string" # Required
NEXTAUTH_URL="http://localhost:3000" # Required
# Optional — for AI pipeline features
OPENAI_API_KEY=""
ANTHROPIC_API_KEY=""
SERPAPI_KEY=""
# Optional — for database persistence
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/microinverter_platform"
REDIS_URL="redis://localhost:6379"
docker-compose up -d
This starts PostgreSQL (pgvector), Redis, the Next.js app, and background workers.
See docs/architecture-diagram.html for interactive Mermaid diagrams covering:
Proprietary — Enphase Energy, Inc.