{"id":48822979,"url":"https://github.com/baotoan1905/quiz-screen-lock","last_synced_at":"2026-04-14T16:00:52.245Z","repository":{"id":351101897,"uuid":"1208595914","full_name":"baotoan1905/quiz-screen-lock","owner":"baotoan1905","description":"A Windows screen lock app that rewards screen time for solving educational quizzes. Supports grades 1–12 with adaptive difficulty.","archived":false,"fork":false,"pushed_at":"2026-04-13T15:35:55.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T17:33:54.079Z","etag":null,"topics":["education","parental-control","pyqt6","python","screen-lock","windows"],"latest_commit_sha":null,"homepage":null,"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/baotoan1905.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-12T13:56:15.000Z","updated_at":"2026-04-13T15:36:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/baotoan1905/quiz-screen-lock","commit_stats":null,"previous_names":["baotoan1905/quiz-screen-lock"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/baotoan1905/quiz-screen-lock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baotoan1905%2Fquiz-screen-lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baotoan1905%2Fquiz-screen-lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baotoan1905%2Fquiz-screen-lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baotoan1905%2Fquiz-screen-lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baotoan1905","download_url":"https://codeload.github.com/baotoan1905/quiz-screen-lock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baotoan1905%2Fquiz-screen-lock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31803790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["education","parental-control","pyqt6","python","screen-lock","windows"],"created_at":"2026-04-14T16:00:45.383Z","updated_at":"2026-04-14T16:00:52.228Z","avatar_url":"https://github.com/baotoan1905.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QuizLock\n\n**A Windows screen-lock app that rewards screen time for solving educational quizzes.**\n\nQuizLock sits in the system tray and counts down the child's daily screen-time budget. When time runs out the screen is locked with a fullscreen overlay. The child must answer quiz questions correctly to earn more minutes and return to the desktop.\n\n---\n\n## Features\n\n- **Fullscreen lock screen** — always on top, suppresses Win key / Escape / Alt+F4\n- **100+ curated questions** across five grade bands (Grades 1–12)\n- **Earn screen time** — each correct answer adds configurable minutes back\n- **Floating countdown timer** — small transparent overlay shows remaining budget\n- **System tray icon** — quick access to Lock Now, Settings, and Quit\n- **Password-protected admin panel** — parents configure grade, budget, and rewards\n- **Persistent config** — settings saved to `~/.quizlock/config.json`\n- **Single-file executable** — build to `QuizLock.exe` with one command\n\n---\n\n## Grade Bands \u0026 Question Topics\n\n| Band | Grades | Subjects |\n|------|--------|---------|\n| `grade_1_2` | 1–2 | Basic arithmetic, shapes, days/seasons, animals |\n| `grade_3_4` | 3–4 | Multiplication, fractions, world geography, US history |\n| `grade_5_6` | 5–6 | Pre-algebra, earth science, world history, literature |\n| `grade_7_9` | 7–9 | Algebra, biology, chemistry, Shakespeare |\n| `grade_10_plus` | 10–12 | Calculus, thermodynamics, advanced literature, world events |\n\n---\n\n## Default Settings\n\n| Setting | Default |\n|---------|---------|\n| Daily screen budget | 60 minutes |\n| Minutes per correct answer | 5 minutes |\n| Correct answers to unlock | 1 |\n| Grade band | Grades 5–6 |\n| Admin password | `quizlock123` |\n\n**Change the admin password immediately after first run.**\n\n---\n\n## Installation \u0026 Running from Source\n\n### Requirements\n\n- Windows 10 or 11\n- Python 3.10+\n\n### Steps\n\n```bat\ngit clone https://github.com/baotoan1905/quiz-screen-lock.git\ncd quiz-screen-lock\npython -m pip install -r requirements.txt\npython src/main.py\n```\n\nQuizLock runs in the **system tray** (no main window opens). If you do not see it right away, click the Windows hidden-icons arrow near the clock and look for the **Q** icon, then right-click it for settings.\n\n---\n\n## Building a Standalone Executable\n\n```bat\nbuild.bat\n```\n\nThis installs dependencies and runs PyInstaller. The output `QuizLock.exe` will be in the `dist\\` folder.\n\n---\n\n## Usage\n\n1. **Start QuizLock** — it runs in the system tray.\n2. **Tray icon** — right-click to open the menu:\n   - **Lock Now** — immediately show the lock screen\n   - **Settings…** — open admin panel (requires password)\n   - **Quit QuizLock** — exit (requires confirmation)\n3. **Lock screen** — the child sees a quiz. Answer correctly to earn screen time.\n4. **Admin panel** — parents set the grade band, daily budget, and reward per correct answer.\n\n---\n\n## Project Structure\n\n```\nquiz-screen-lock/\n├── src/\n│   ├── main.py          # Entry point, tray icon, ScreenTimeManager\n│   ├── lock_screen.py   # Fullscreen overlay\n│   ├── timer_widget.py  # Floating countdown timer\n│   ├── admin_panel.py   # Admin settings dialog\n│   ├── quiz_engine.py   # Quiz widget and scoring\n│   ├── keyboard_hook.py # Win/Escape key suppression\n│   ├── config.py        # Config read/write\n│   └── questions.py     # 100+ question bank\n├── requirements.txt\n├── build.bat\n├── CHANGELOG.md\n├── LICENSE\n└── README.md\n```\n\n---\n\n## License\n\nMIT © 2026 [baotoan1905](https://github.com/baotoan1905)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaotoan1905%2Fquiz-screen-lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaotoan1905%2Fquiz-screen-lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaotoan1905%2Fquiz-screen-lock/lists"}