Jayshihora/CyberGuard-AI

GitHub: Jayshihora/CyberGuard-AI

一个集成网站扫描、网络分析、威胁情报与 AI 助手的全栈网络安全运营平台。

Stars: 0 | Forks: 0

# CyberGuard AI 🛡️ [![Next.js](https://img.shields.io/badge/Next.js-15-black?logo=next.js)](https://nextjs.org) [![FastAPI](https://img.shields.io/badge/FastAPI-0.115-009688?logo=fastapi)](https://fastapi.tiangolo.com) [![TypeScript](https://img.shields.io/badge/TypeScript-5-3178C6?logo=typescript)](https://www.typescriptlang.org) [![Tailwind CSS](https://img.shields.io/badge/Tailwind-v4-38B2AC?logo=tailwind-css)](https://tailwindcss.com) ## 🚀 快速开始 ``` # 克隆并进入项目 cd "CyberGuard AI" # ── Frontend ────────────────────────────────────────────────── cd frontend npm install npm run dev # → http://localhost:3000 # ── Backend ─────────────────────────────────────────────────── cd ../backend python -m venv venv source venv/bin/activate pip install -r requirements.txt cp .env.example .env # Fill in SECRET_KEY + GEMINI_API_KEY uvicorn app.main:app --reload # → http://localhost:8000 ``` ## 📁 项目结构 ``` CyberGuard AI/ ├── frontend/ ← Next.js 15 + React + TypeScript │ ├── app/ ← App Router pages & layouts │ │ ├── page.tsx ← Home (landing page) │ │ ├── login/ ← Authentication page │ │ ├── dashboard/ ← SOC overview dashboard │ │ ├── network-scanner/ ← Network scan UI │ │ ├── website-scanner/ ← Website scan UI │ │ ├── ai-assistant/ ← Gemini AI chat │ │ ├── reports/ ← Security reports │ │ └── settings/ ← Platform settings │ ├── components/ │ │ ├── layout/ ← Sidebar, TopNav, DashboardLayout │ │ └── ui/ ← GlassCard, Button, Badge, StatCard… │ ├── lib/ ← Utilities (cn, formatNumber, etc.) │ └── types/ ← Shared TypeScript types │ ├── backend/ ← FastAPI + SQLAlchemy │ └── app/ │ ├── main.py ← FastAPI app entry point │ ├── config.py ← Settings (env vars) │ ├── database.py ← SQLAlchemy engine │ ├── models/ ← ORM models (User, ScanResult, Report) │ ├── schemas/ ← Pydantic request/response schemas │ ├── routers/ ← auth, users, scans, reports, ai │ ├── services/ ← auth_service, gemini_service │ └── utils/ ← JWT, password hashing │ ├── docs/ ← Documentation │ ├── README.md ← Architecture overview │ ├── API.md ← API reference │ └── SETUP.md ← Dev setup guide │ └── assets/ ← Logos, icons, brand assets ``` ## 🎨 设计系统 | Token | 值 | 用途 | |---|---|---| | 霓虹绿 | `#00FF41` | 主要强调色、激活状态 | | 青色 | `#00D4FF` | 次要强调色、链接 | | 背景基础色 | `#0a0a0f` | 页面背景 | | 背景表面色 | `#111118` | 卡片、侧边栏 | | 玻璃边框 | `rgba(255,255,255,0.08)` | 卡片边框 | ## 📚 文档 - [安装指南](./docs/SETUP.md) - [API 参考](./docs/API.md) - [架构概述](./docs/README.md) ## 🔧 技术栈 | 层级 | 技术 | |---|---| | 前端 | Next.js 15, React, TypeScript, Tailwind CSS v4, Framer Motion | | 后端 | FastAPI, SQLAlchemy, Pydantic v2, python-jose | | 数据库 | SQLite (开发环境) → PostgreSQL (生产环境) | | 认证 | JWT Bearer token | | AI | Google Gemini 1.5 Pro | ## 📄 许可证 MIT License
标签:AI安全平台, AV绕过, DNS通配符暴力破解, FastAPI, 威胁情报, 密码管理, 开发者工具, 插件系统, 测试用例, 系统分析, 网站扫描, 网络分析, 自动化攻击