{"id":29871529,"url":"https://github.com/skupperr/ai-coding-challenge-generator","last_synced_at":"2026-04-10T14:39:49.856Z","repository":{"id":305549350,"uuid":"1023146200","full_name":"skupperr/AI-coding-challenge-generator","owner":"skupperr","description":"AI Coding Challenge Generator is a full-stack application that helps users improve their coding skills through daily AI-generated multiple-choice challenges, tailored by difficulty.","archived":false,"fork":false,"pushed_at":"2025-07-20T17:37:17.000Z","size":278,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-20T19:18:02.580Z","etag":null,"topics":["ai","clerk","fastapi","javascript","ollama","python","react","sqlalchemy","vite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skupperr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-20T16:13:57.000Z","updated_at":"2025-07-20T17:39:31.000Z","dependencies_parsed_at":"2025-07-20T19:31:32.166Z","dependency_job_id":null,"html_url":"https://github.com/skupperr/AI-coding-challenge-generator","commit_stats":null,"previous_names":["skupperr/ai-coding-challenge-generator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/skupperr/AI-coding-challenge-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skupperr%2FAI-coding-challenge-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skupperr%2FAI-coding-challenge-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skupperr%2FAI-coding-challenge-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skupperr%2FAI-coding-challenge-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skupperr","download_url":"https://codeload.github.com/skupperr/AI-coding-challenge-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skupperr%2FAI-coding-challenge-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267930423,"owners_count":24167470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","clerk","fastapi","javascript","ollama","python","react","sqlalchemy","vite"],"created_at":"2025-07-30T20:00:28.007Z","updated_at":"2025-12-30T20:05:46.605Z","avatar_url":"https://github.com/skupperr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🧠 AI Coding Challenge Generator\n\n\n[![Python 3.11+](https://img.shields.io/badge/Python--3.11+-backend-blue?logo=python)](https://www.python.org/downloads/)\n[![Vite + React](https://img.shields.io/badge/Vite_+_React-frontend-purple?logo=react)](https://vitejs.dev/)\n\n\u003e Practice makes perfect — sharpen your coding skills with daily AI-generated MCQs.\n\n**AI Coding Challenge Generator** is a full-stack application that helps users improve their coding skills through daily AI-generated multiple-choice challenges, tailored by difficulty.\n\n![Demo Screenshot](./frontend/public/preview.png)\n\n\u003c/div\u003e\n\n## 🚀 Features\n\n- 🧠 **AI-Generated Coding Questions**: Challenges are created using a local Ollama LLM model.\n- 🔐 **Authentication with Clerk**: Users must log in to access the platform.\n- 🎯 **Difficulty-Based Challenges**: Choose from multiple difficulty levels.\n- 📊 **MCQ Format**: All challenges are multiple choice for quick practice and validation.\n- 📅 **Daily Quota System**: Users can attempt a limited number of challenges per day, which resets every 24 hours.\n- 🕘 **History Tracking**: All past challenges are stored in a secure SQLAlchemy database.\n\n---\n\n## 🛠️ Tech Stack\n\n### Frontend\n[![React](https://img.shields.io/badge/React-61DAFB?style=for-the-badge\u0026logo=react\u0026color=2d2d2d)](https://react.dev/)\n[![JavaScript](https://img.shields.io/badge/javascript-61DAFB?style=for-the-badge\u0026logo=javascript\u0026color=2d2d2d)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)\n[![Vite](https://img.shields.io/badge/Vite-646CFF?style=for-the-badge\u0026logo=vite\u0026color=2d2d2d)](https://vitejs.dev/)\n[![Clerk](https://img.shields.io/badge/Clerk-6C47FF?style=for-the-badge\u0026logo=clerk\u0026color=2d2d2d)](https://clerk.dev/)\n\n### Backend\n[![Python](https://img.shields.io/badge/Python-3.11-3776AB?style=for-the-badge\u0026logo=python\u0026labelColor=2d2d2d)](https://www.python.org/)\n[![FastAPI](https://img.shields.io/badge/FastAPI-009688?style=for-the-badge\u0026logo=fastapi\u0026color=2d2d2d)](https://fastapi.tiangolo.com/)\n[![SQLAlchemy](https://img.shields.io/badge/SQLAlchemy-cc0000?style=for-the-badge\u0026logo=sqlite\u0026color=2d2d2d)](https://www.sqlalchemy.org/)\n[![Clerk SDK](https://img.shields.io/badge/Clerk_Backend-6C47FF?style=for-the-badge\u0026logo=clerk\u0026color=2d2d2d)](https://clerk.dev/)\n[![Ollama](https://img.shields.io/badge/Ollama-000000?style=for-the-badge\u0026logo=OpenAI\u0026color=2d2d2d)](https://ollama.com/)\n\n---\n\n## 🔍 How It Works\n\n1. **User logs in** via Clerk.\n2. After login, user selects a **difficulty level** (e.g., Easy, Medium, Hard).\n3. A **local Ollama model** generates a multiple-choice coding challenge.\n4. The challenge is shown on the frontend and **stored in the backend** database.\n5. A **daily quota** system ensures users can only attempt a limited number per day.\n6. Once the quota resets, the user can generate more challenges.\n\n---\n\n## 💻 How to Use This Repo\n\n\n### 1. Clone the repository\n```bash\ngit clone https://github.com/skupperr/AI-Coding-Challenge-Generator.git\ncd AI-Coding-Challenge-Generator\n```\n### 2. Set up the frontend\n```bash\ncd Frontend\nnpm install\nnpm run dev\n```\n### 3. In a new terminal, set up the backend\n```bash\ncd ../Backend\npip install -r requirements.txt\npython server.py\n```\n\n---\n\n## 👥 Who Is It For?\n\n- **👨‍💻 Developers**: Looking to sharpen their coding skills with AI-generated practice.\n- **📚 Students**: Practice MCQs before technical interviews or exams.\n- **🧠 Lifelong Learners**: Anyone who wants a quick daily coding brain-teaser.\n\n---\n\n## 📁 Project Structure\n\n```\nAI-Coding-Challenge-Generator/\n├── Backend/ # FastAPI backend\n│ ├── src/\n│ │ ├── routes/\n│ │ ├── models/\n│ │ ├── database/\n│ │ ├── ai_generator.py\n│ │ ├── app.py\n│ │ ├── utils.py\n│ │ └── .env\n│ ├── server.py\n│ └── requirements.txt\n│\n├── Frontend/ \n│ ├── src/\n│ │ ├── auth/\n│ │ ├── challenges/\n│ │ ├── history/\n│ │ ├── layout/\n│ │ ├── utils/\n│ │ ├── App.css\n│ │ ├── index.css\n│ │ ├── main.jsx\n│ │ ├── App.jsx\n│ ├── public/\n│ ├── .env\n│ ├── index.html\n│ └── package.json\n│\n└── README.md\n```\n\n## 📬 Contact\n\nCreated with ❤️ by [Asif U. Ahmed](https://github.com/skupperr)\n\n[Report Bug](https://github.com/skupperr/AI-Coding-Challenge-Generator/issues) · [Request Feature](https://github.com/skupperr/AI-Coding-Challenge-Generator/issues)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskupperr%2Fai-coding-challenge-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskupperr%2Fai-coding-challenge-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskupperr%2Fai-coding-challenge-generator/lists"}