Iniquiz AI Lite is a lightweight desktop application built with Kivy and Python that allows users to chat with an AI assistant and automatically generate quizzes based on the conversation.
This repository contains the lite version (prototype) of the app. A larger and more advanced version of Iniquiz AI is currently in development.
- Conversational Quiz Generation – Chat with an AI and instantly turn discussions into interactive quizzes
- Cross-platform Desktop App – Built with Kivy + KivyMD for Windows, macOS, and Linux
- LLM Integration – Supports OpenRouter and DeepSeek APIs (others may work with minimal configuration)
.
├── app/ # UI and screen management
│ ├── __init__.py
│ ├── app.py # Main application entry point
│ ├── base_screen.py # Base screen class with common functionality
│ ├── shared_components.py # Reusable UI components
│ ├── constants.py # App-wide constants and configuration
│ ├── quiz_data_manager.py # Quiz data management utilities
│ └── screens/ # Screen implementations
│ ├── __init__.py
│ ├── home.py # Main landing screen
│ ├── create_quiz_source.py # Quiz source selection
│ ├── ai_chat.py # AI conversation interface
│ ├── select_game_mode.py # Game mode selection
│ ├── quiz.py # Main quiz interface
│ └── upload.py # Content upload screen
├── backend_folder/ # Core backend logic and prompt utilities
│ ├── backend.py
│ └── prompt_utils.py
├── backend_testing/ # Example files, tests, transcripts, and PDFs
│ ├── test_conversation.py
│ ├── example_conv.json
│ ├── MachineLearning-Lecture01.pdf
│ └── ...
├── llm_tools/ # LLM integration layer
│ └── llm_framework.py
├── styles/ # Theming and styling
│ └── theme.kv
├── temporary_quiz_data/ # Temporary quiz storage
├── main.py # App entry point
├── requirements.txt # Python dependencies
├── setup.py # Package setup configuration
├── style_guide.txt # UI styling guidelines
└── README.md # This file
Before installing Iniquiz AI Lite, ensure you have:
- Python 3.8+ installed on your system
- pip package manager
- An active internet connection for LLM API calls
- API key from a supported LLM provider (OpenRouter or DeepSeek)
- Windows: Windows 10 or later
- macOS: macOS 10.14 or later
- Linux: Ubuntu 18.04+ or equivalent distributions
- RAM: Minimum 2GB available
- Storage: 500MB free space
git clone https://github.com/yourusername/iniquiz-ai-lite.git
cd iniquiz-ai-lite
Creating a virtual environment helps avoid dependency conflicts:
# Create virtual environment
python -m venv venv
# Activate virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
pip install -r requirements.txt
Note: If you encounter issues with Kivy installation, refer to the official Kivy installation guide for platform-specific instructions.
-
Copy the environment template:
cp .env.example .env
-
Edit the
.env
file with your preferred text editor and add your API keys:# OpenRouter API (recommended) OPENROUTER_API_KEY=your_openrouter_api_key_here # DeepSeek API (alternative) DEEPSEEK_API_KEY=your_deepseek_api_key_here # Optional: Set default model DEFAULT_MODEL=openai/gpt-4
Test that everything is working:
python -c "import kivy; import kivymd; print('Dependencies installed successfully!')"
Once installation and setup are complete, launch the application:
python main.py
The application window should open, and you'll see the main interface where you can:
- Start a conversation with the AI
- Upload documents for quiz generation
- Generate quizzes from your conversations
- Save and manage your quizzes
If the app fails to start:
- Check Python version:
python --version
(should be 3.8+) - Verify virtual environment is activated (you should see
(venv)
in your terminal prompt) - Reinstall dependencies:
pip install -r requirements.txt --force-reinstall
- Check API keys: Ensure your
.env
file is properly configured
- Visit OpenRouter
- Create an account and navigate to the API section
- Generate an API key
- Add credits to your account (pay-per-use model)
- Add the key to your
.env
file
- Visit DeepSeek
- Register for an account
- Navigate to API settings
- Generate an API key
- Add the key to your
.env
file
The backend_testing/
directory contains comprehensive testing materials:
example_conv.json
– Sample conversation dataMachineLearning-Lecture01.pdf
– Example lecture material for quiz generationrawquiz.txt
andexamplequiz2.txt
– Sample generated quizzestest_conversation.py
– Backend testing scripttest_generate_functions.ipynb
– Jupyter notebook with function tests
To run the backend tests:
cd backend_testing
python test_conversation.py
- lcai000 – Lead Developer and Maintainer
Iniquiz AI Lite is proprietary software developed by lcai000. All rights reserved.
- This software is provided for evaluation and personal use only
- Commercial use is prohibited without explicit written permission
- Redistribution of the source code or compiled application is not permitted
- Modification for personal use is allowed, but modified versions cannot be distributed
- The software is provided "as-is" without warranty of any kind
For licensing inquiries or commercial use requests, please contact the maintainer.
If you encounter issues:
- Check the troubleshooting section above
- Review the example files in
backend_testing/
- Create an issue on the GitHub repository with:
- Your operating system
- Python version
- Error messages or screenshots
- Steps to reproduce the problem
While this is not an open-source project, bug reports and feature suggestions are welcome through GitHub issues.
- Kivy and KivyMD for the cross-platform UI framework
- OpenRouter and DeepSeek for LLM API access
- Python
For questions, suggestions, or licensing inquiries, please reach out through:
- GitHub Issues: Create an issue
- Project Maintainer: lcai000