mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
ff2093102c
Enable stricter oxlint rules for better code health: - typescript/consistent-type-imports: enforce `import type` for type-only imports - typescript/no-import-type-side-effects: prefer top-level type imports - import/consistent-type-specifier-style: consistent type specifier placement - typescript/no-unnecessary-type-assertion: bump to error - react/self-closing-comp: enforce self-closing JSX components - unicorn/prefer-optional-catch-binding: drop unused catch params - eslint/no-useless-computed-key: simplify object keys - unicorn/prefer-string-slice: prefer .slice() over .substring() - unicorn/prefer-array-flat-map: prefer .flatMap() over .map().flat() All existing violations auto-fixed via oxlint --fix.
Cisco CopilotKit Demo
.
Overview
This project is a modern dashboard and analytics solution built with Next.js (in the frontend directory). It features:
- Clean, responsive UI for PR and repository analytics
- Interactive charts and tables
- Integration with OpenAI via CopilotKit
Quick Start (Frontend)
-
Install dependencies
cd frontend pnpm install -
Set up environment variables
- Create a
.envfile in thefrontenddirectory:echo "OPENAI_API_KEY=your_openai_api_key_here" > .env - Replace
your_openai_api_key_herewith your actual OpenAI API key.
- Create a
-
Run the development server
pnpm run devThe app will be available at http://localhost:3000.