Next.js 16 dashboard for monitoring and managing the local LLM stack. Runs on port 3100 with dark theme using ByteLyst design tokens. API routes: - GET/POST /api/ollama — model list, running status, load/unload/generate - GET /api/whisper — binary discovery, GGML model inventory - GET /api/system — chip info, RAM/disk usage, brew package versions Dashboard UI: - Top stats row: Ollama status, model count, Whisper status, RAM usage - Ollama models panel with load/unload actions, LOADED badge, details - System panel with progress bars for RAM and disk - Whisper.cpp panel with binary list and model inventory - Brew packages panel with version tracking - Basic prompt modal with Cmd+Enter shortcut - Auto-refresh every 15 seconds Also excludes __LOCAL_LLMs/ from root ESLint config (dashboard has its own config and uses browser globals not available in Node.js context). Tech: Next.js 16, React 19, TailwindCSS v4, Lucide icons, TypeScript
35 lines
670 B
JSON
35 lines
670 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts",
|
|
"**/*.mts"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|