LLM Status Checker - Identify when AI responses might be unreliable
This project helps users determine when LLM responses might be unreliable or "dumb". It provides analytics and insights into AI model performance and response quality.
Before you begin, ensure you have the following installed:
- Node.js (version 18 or higher)
- npm, yarn, pnpm, or bun package manager
- Git
You can check your Node.js version with:
node --version-
Clone the repository
git clone https://github.com/hvent90/is-it-dumb cd is-it-dumb -
Install dependencies
npm install # or yarn install # or pnpm install # or bun install
-
Set up environment variables
Copy the example environment file:
cp .env.example .env.local
Edit
.env.localand configure the required variables:# Tinybird Analytics API Token # Get this from your Tinybird project settings - use a read-only token NEXT_PUBLIC_TINYBIRD_API_TOKEN=your_tinybird_read_only_token_here
Getting a Tinybird API Token:
- Sign up at Tinybird
- Create a new project or use an existing one
- Go to your project settings and generate a read-only API token
- Copy the token to your
.env.localfile
-
Run the development server
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open the application
Navigate to http://localhost:3000 in your browser to see the application running.
npm run dev- Start development server with Turbopacknpm run build- Build the application for productionnpm run start- Start the production servernpm run lint- Run ESLint for code lintingnpm run test- Run unit tests with Vitestnpm run test:ui- Run tests with Vitest UInpm run test:integration- Run integration testsnpm run test:e2e- Run end-to-end tests with Playwrightnpm run test:e2e:ui- Run E2E tests with Playwright UInpm run latency-poc- Run latency proof of concept script
├── src/
│ ├── app/ # Next.js 15 app directory
│ ├── components/ # React components
│ │ └── ui/ # shadcn/ui components
│ ├── lib/ # Utility libraries
│ └── types/ # TypeScript type definitions
├── public/ # Static assets
├── e2e/ # End-to-end tests
├── scripts/ # Utility scripts
└── tinybird/ # Tinybird configuration
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS v4
- UI Components: shadcn/ui with Radix UI primitives
- Charts: Recharts
- Testing: Vitest (unit), Playwright (E2E)
- Analytics: Tinybird integration
- AI/ML: Xenova Transformers
- Build Tool: Turbopack
This project uses several tools to maintain code quality:
- ESLint - For code linting
- TypeScript - For type safety
- Prettier (via ESLint config) - For code formatting
Run the linter before committing:
npm run lintUnit Tests:
npm run test # Run once
npm run test:ui # Run with UIIntegration Tests:
npm run test:integrationEnd-to-End Tests:
npm run test:e2e # Run headless
npm run test:e2e:ui # Run with UIThis project uses shadcn/ui. To add new components:
npx shadcn@latest add button
npx shadcn@latest add dialog
# etc.The project uses Tailwind CSS v4. Global styles are in src/app/globals.css.
npm run buildCheck out the Next.js deployment documentation for deployment options.
| Variable | Description | Required |
|---|---|---|
NEXT_PUBLIC_TINYBIRD_API_TOKEN |
Tinybird read-only API token for analytics | Yes |
To learn more about the technologies used in this project:
- Next.js Documentation - Learn about Next.js features and API
- Learn Next.js - Interactive Next.js tutorial
- shadcn/ui - UI component library
- Tailwind CSS - Utility-first CSS framework
- Tinybird - Real-time analytics platform