Sign inSign up

faultmaven/faultmaven-dashboard

By faultmaven

•Updated 4 months ago

Image
0

4.2K

faultmaven/faultmaven-dashboard repository overview

⁠FaultMaven Dashboard

Part of FaultMaven⁠ — The AI-Powered Troubleshooting Copilot

The Command Center for Your Knowledge Engine

License Docker

FaultMaven Dashboard is the web application for managing your FaultMaven⁠ knowledge base, viewing case history, and configuring AI agents.


⁠About FaultMaven

FaultMaven is an AI-powered troubleshooting copilot that correlates your live telemetry with your runbooks, docs, and past fixes. It delivers answers grounded in your actual system—not generic guesses.

Learn More:


⁠🧠 Purpose

While the Copilot⁠ is for reacting to incidents, the Dashboard is for proactive management:

  • Knowledge Base: Upload runbooks, edit indexed documents, and manage vectors
  • Case History: View, search, and export past troubleshooting sessions
  • Configuration: Manage LLM providers (OpenAI/Ollama) and API keys
⁠Dashboard vs Copilot
ComponentPurposeWhen to Use
DashboardKnowledge base management, case history, configurationProactive: uploading docs, reviewing past cases
CopilotAI chat, real-time troubleshooting, evidence captureReactive: during incidents, debugging

Both connect to the same FaultMaven backend.


⁠🚀 Quick Start

⚠️ Requires Backend: This is a frontend-only application. You need a running FaultMaven API Gateway to use it. Deploy the full stack →⁠

The dashboard is included automatically in the main deployment:

git clone https://github.com/FaultMaven/faultmaven-deploy.git && cd faultmaven-deploy
./faultmaven start

Access the dashboard at http://localhost:3000.

⁠Local Development

To run only this dashboard locally for development:

# 1. Clone
git clone https://github.com/FaultMaven/faultmaven-dashboard.git
cd faultmaven-dashboard

# 2. Install & Run
npm install
npm run dev

Access at http://localhost:5173.

Note: You still need a running FaultMaven API Gateway at http://localhost:8090.

⁠Docker Standalone
docker run -p 3000:80 \
  -e API_URL=http://localhost:8090 \
  faultmaven/faultmaven-dashboard:latest

Or use the full stack deployment⁠.


⁠🛠️ Development

⁠Setup
# Clone and install
git clone https://github.com/FaultMaven/faultmaven-dashboard.git
cd faultmaven-dashboard
npm install

# Run dev server (requires backend at localhost:8090)
npm run dev

# Run tests
npm run test

# Build for production
npm run build

# Preview production build
npm run preview
⁠Project Structure
src/
├── components/     # Shared UI (Header, UploadModal, ConfirmDialog, etc.)
├── context/        # AuthContext (global auth state)
├── hooks/          # Custom hooks (useKBList for KB paging/search/delete)
├── lib/            # API client, config, storage adapter
├── pages/          # Route pages (Login, KB, Admin KB)
└── utils/          # Helpers (debounce)
⁠Tech Stack
  • Framework: React 19 + Vite (SPA)
  • Routing: React Router 7
  • Styling: Tailwind CSS
  • State: React Context + custom hooks (no external state lib)
  • Testing: Vitest + Testing Library
  • Deployment: Static files (Nginx)

⁠🤝 Contributing

We welcome contributions to the FaultMaven Dashboard! Whether it's improving the knowledge base UI, adding new visualizations, or enhancing the user experience, your help makes FaultMaven better for everyone.

Note: This repository contains only the web dashboard UI. For backend features (AI agent, knowledge base, microservices), see the main FaultMaven repository⁠.

Getting Started:


⁠📄 License

This project is licensed under the Apache 2.0 License - see the LICENSE⁠ file for details.


The FaultMaven ecosystem includes:


⁠Support


FaultMaven — Your AI copilot for troubleshooting.

Tag summary

Content type

Image

Digest

sha256:a97f9df9a…

Size

31.3 MB

Last updated

4 months ago

docker pull faultmaven/faultmaven-dashboard