{"id":25403108,"url":"https://github.com/filiprokita/python-ai-quiz","last_synced_at":"2026-02-21T23:05:21.807Z","repository":{"id":277001442,"uuid":"931006376","full_name":"FilipRokita/python-ai-quiz","owner":"FilipRokita","description":"A Flask-based quiz app that dynamically loads questions from a database, making it easy to customize. Users can take quizzes, track high scores, and manage sessions. By default, the quiz focuses on AI in Python, but can be easily adapted to any topic.","archived":false,"fork":false,"pushed_at":"2025-03-04T12:30:26.000Z","size":1380,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T08:28:32.189Z","etag":null,"topics":["ai","backend","bootstrap","customizable","database","dynamic-content","flask","full-stack","machine-learning","python","quiz-app","session-management","sqlite","web-app","web-development"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FilipRokita.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-11T15:14:59.000Z","updated_at":"2025-05-18T10:38:25.000Z","dependencies_parsed_at":"2025-04-12T13:49:51.678Z","dependency_job_id":"8436d61e-d424-4f65-ab41-eb96024cb3c9","html_url":"https://github.com/FilipRokita/python-ai-quiz","commit_stats":null,"previous_names":["filiprokita/python-quiz","filiprokita/python-ai-quiz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FilipRokita/python-ai-quiz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilipRokita%2Fpython-ai-quiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilipRokita%2Fpython-ai-quiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilipRokita%2Fpython-ai-quiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilipRokita%2Fpython-ai-quiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FilipRokita","download_url":"https://codeload.github.com/FilipRokita/python-ai-quiz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilipRokita%2Fpython-ai-quiz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29696964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","backend","bootstrap","customizable","database","dynamic-content","flask","full-stack","machine-learning","python","quiz-app","session-management","sqlite","web-app","web-development"],"created_at":"2025-02-16T02:27:55.507Z","updated_at":"2026-02-21T23:05:21.779Z","avatar_url":"https://github.com/FilipRokita.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Python AI Quiz\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"misc/mockup.png\" width=500\u003e\n\u003c/div\u003e\n\n---\n\nThis is a web-based **Python AI Quiz Application** built using **Flask, SQLAlchemy, and Bootstrap**. The quiz focuses on **Artificial Intelligence (AI) topics** such as **deep learning, computer vision, and natural language processing (NLP)**.\n\n## 🎯 Main Advantage\nThe quiz questions are stored in a **database (SQLite)** instead of being hardcoded, making it **effortlessly customizable**. This allows users to **easily modify, expand, or update the quiz content** without changing the application’s code, ensuring **scalability and flexibility**. The included AI-related questions may serve as **placeholders**, meaning the quiz can be quickly adapted to any topic by simply updating the database.\n\n## 🚀 Features\n✅ AI-related quiz with multiple-choice questions  \n✅ User session management (tracks the highest score)  \n✅ Dynamic leaderboard displaying the best score  \n✅ Responsive design using Bootstrap  \n✅ Modular and structured Flask application  \n✅ SQLite database integration  \n\n## 💻 Technologies Used\n- **Python** (Flask, SQLAlchemy, Flask-Session)\n- **HTML, CSS, Bootstrap** (Frontend)\n- **SQLite** (Database)\n- **Docker** (Environment)\n\n## 📜 Installation Guide (with Docker)\n\n### **1️⃣ Clone the Repository**\n```sh\ngit clone https://github.com/FilipRokita/python-ai-quiz\ncd python-ai-quiz\n```\n\n### **2️⃣ Run Docker Compose**\n```sh\ndocker compose up -d\n```\n\n✅ **Visit:** `http://0.0.0.0:8082/`\n\n## 📜 Installation Guide (without Docker)\n\n### **1️⃣ Clone the Repository**\n```sh\ngit clone https://github.com/FilipRokita/python-ai-quiz\ncd python-ai-quiz\n```\n\n### **2️⃣ Install Dependencies**\n```sh\npip install -r requirements.txt\n```\n\n### **3️⃣ Initialize the Database**\n```sh\npython init_db.py\n```\n\n### **4️⃣ Add Python AI Quiz Questions**\n```sh\npython add_questions.py\n```\n\n### **5️⃣ Run the Flask App**\n```sh\npython app.py\n```\n✅ **Visit:** `http://127.0.0.1:5000/`\n\n---\n\n## 📌 Author\n**👨‍💻 Filip Rokita**    \n🔗 [LinkedIn Profile](https://www.linkedin.com/in/filiprokita/)  \n🔗 [GitHub Profile](https://github.com/FilipRokita)\n\n---\n\n## 📝 License\nThis project is licensed under the **[MIT License](LICENSE)**.\n\n---\n\n### **🌟 If you like this project, please give it a ⭐ on GitHub!**  \n🚀 **Happy coding!** 😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiliprokita%2Fpython-ai-quiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiliprokita%2Fpython-ai-quiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiliprokita%2Fpython-ai-quiz/lists"}