Every case, a new discovery
Desktop application for generating AI-powered educational case studies with support for OpenAI, Anthropic, Google Gemini, and local Ollama models.
CritiqueQuest empowers educators and students to create high-quality, AI-generated case studies for educational purposes. Whether you're a lecturer developing engaging scenarios for your students or a student practicing critical thinking skills, CritiqueQuest transforms learning concepts into compelling case studies in minutes.
With support for both cloud-based AI services and local models through Ollama, it offers flexibility between convenience and complete privacy.
- ๐ค Multi-Provider AI Support - OpenAI GPT-4, Google Gemini, Anthropic Claude, and Ollama (local)
- ๐ Privacy-First Option - Run AI models locally with Ollama for complete data privacy
- ๐ Local Content Library - Organize, search, and manage your case studies
- ๐ฎ Practice Mode - Interactive self-assessment with timers and note-taking
- ๐ Multiple Export Formats - PDF, Word, HTML, and plain text
- ๐จ Intuitive Interface - Material-UI components with professional design
- ๐พ Offline-First - Works without internet (with local AI models)
- Create engaging case studies for any subject area
- Generate scenarios with varying complexity levels
- Export content for course materials and assignments
- Build comprehensive case study libraries
- Practice critical thinking with AI-generated scenarios
- Self-assess understanding through guided practice mode
- Create study materials for exam preparation
- Develop analytical skills across different domains
- Node.js 18+ and npm
- (Optional) Ollama for local AI models
# Clone the repository
git clone https://github.com/michael-borck/critiquequest.git
cd critiquequest
# Install dependencies
npm install
# Start development mode
npm run dev
- Launch the application
- Navigate to Settings โ AI Configuration
- Choose your AI provider:
- Cloud AI: Add API key for OpenAI/Google/Anthropic
- Local AI: Install Ollama and pull a model (e.g.,
ollama pull llama2
)
- Start generating case studies!
- Click Generate in the sidebar
- Configure your case study:
- Domain: Business, Technology, Healthcare, Education, etc.
- Complexity: Beginner, Intermediate, or Advanced
- Scenario Type: Problem-solving, Decision-making, Ethical dilemmas
- Context: Describe the scenario setting
- Click Generate Case Study
- Review and save the generated content
- Search across all case studies
- Filter by domain, complexity, or favorites
- Tag content for better organization
- Export in multiple formats for sharing or printing
- Select a case study from your library
- Click Practice to start self-assessment
- Work through questions step-by-step
- Compare with AI-generated model answers
- Track your progress with session notes
// Settings โ AI Configuration
{
"provider": "openai",
"apiKey": "your-api-key-here",
"model": "gpt-4"
}
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull a model
ollama pull llama2
# Start Ollama service
ollama serve
# Configure in CritiqueQuest Settings
See OLLAMA_SETUP.md for detailed instructions.
critiquequest/
โโโ src/
โ โโโ main/ # Electron main process
โ โ โโโ database.ts # Local JSON database
โ โ โโโ ai-service.ts # AI provider integrations
โ โ โโโ file-service.ts # Export functionality
โ โโโ renderer/ # React UI
โ โ โโโ components/ # UI components
โ โ โโโ store/ # State management (Zustand)
โ โโโ shared/ # Shared types and utilities
โโโ dist/ # Build output
โโโ release/ # Distribution packages
npm run dev # Start development mode
npm run build # Build for production
npm run dist # Create distribution packages
npm run lint # Run ESLint
npm run typecheck # TypeScript type checking
- Frontend: React 18 + TypeScript + Material-UI
- Backend: Electron + Node.js
- State Management: Zustand
- Database: JSON-based local storage
- Build Tools: Vite + electron-builder
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow TypeScript best practices
- Maintain type safety throughout
- Write clear commit messages
- Update documentation as needed
- Test with both cloud and local AI providers
This project is licensed under the MIT License - see the LICENSE file for details.
- Electron - Desktop framework
- React - UI library
- Material-UI - Component library
- Ollama - Local AI model support
- OpenAI - GPT models
- All contributors and users of CritiqueQuest
- Documentation: Check the
/docs
folder - Issues: GitHub Issues
- Discussions: GitHub Discussions
Transform learning concepts into engaging case studies in minutes! ๐