{"id":34861050,"url":"https://github.com/3bbaas/mkquiz-cli","last_synced_at":"2025-12-25T21:05:09.364Z","repository":{"id":323680668,"uuid":"999157675","full_name":"3bbaas/mkquiz-cli","owner":"3bbaas","description":"mkquiz is a command-line tool to manage quizzes for the [ma-helper/Quizzez static project].","archived":false,"fork":false,"pushed_at":"2025-11-11T13:58:38.000Z","size":51,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-11T15:24:07.932Z","etag":null,"topics":["cli","clitool"],"latest_commit_sha":null,"homepage":"https://ma-quiz.vercel.app/","language":"TypeScript","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/3bbaas.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-09T20:34:57.000Z","updated_at":"2025-11-11T13:58:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/3bbaas/mkquiz-cli","commit_stats":null,"previous_names":["3bbaas/mkquiz-cli"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/3bbaas/mkquiz-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3bbaas%2Fmkquiz-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3bbaas%2Fmkquiz-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3bbaas%2Fmkquiz-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3bbaas%2Fmkquiz-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3bbaas","download_url":"https://codeload.github.com/3bbaas/mkquiz-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3bbaas%2Fmkquiz-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28038027,"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-12-25T02:00:05.988Z","response_time":58,"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":["cli","clitool"],"created_at":"2025-12-25T21:05:04.630Z","updated_at":"2025-12-25T21:05:09.344Z","avatar_url":"https://github.com/3bbaas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkquiz CLI\n\nA command-line tool for managing quiz content for static quiz websites. Handles HTML templates, quiz JSON files, and metadata tracking.\n\n## Features\n\n- Interactive CLI with intuitive prompts\n- Web-based GUI for browser management\n- **AI-Powered PDF Extraction** - Convert PDF quizzes to JSON using Gemini AI\n- Automatic math formula conversion to KaTeX\n- Comprehensive logging and error handling\n- Shell autocomplete support (bash, zsh, PowerShell)\n- Docker deployment support\n- TypeScript with strict type safety\n\n## Installation\n\n```bash\nnpm install -g @3bbas/mkquiz\n```\n\n## Quick Start\n\n```bash\n# Configure your project\nmkquiz config\n\n# Add a new quiz\nmkquiz add\n\n# Remove quizzes\nmkquiz remove\n```\n\n## Commands\n\n| Command      | Description                          |\n|--------------|--------------------------------------|\n| `config`     | Configure project paths              |\n| `add`        | Add a new quiz                       |\n| `remove`     | Remove existing quizzes              |\n| `completion` | Generate shell completion script     |\n\n## Web GUI\n\nStart the web server to manage quizzes through your browser:\n\n```bash\nnpm run server\n```\n\nAccess the GUI at `http://localhost:3000`\n\n### PDF to Quiz (AI-Powered)\n\nUpload a PDF file containing quiz questions and let Gemini AI automatically extract and convert them:\n\n1. Set your Gemini API key (get it free from [Google AI Studio](https://makersuite.google.com/app/apikey))\n2. Upload your PDF file\n3. AI extracts questions and converts math formulas to KaTeX\n4. Quiz is automatically created and added to your project\n\nSet API key via environment variable:\n```bash\nexport GEMINI_API_KEY=your_key_here\nnpm run server\n```\n\n## Docker\n\nDeploy using Docker:\n\n```bash\ndocker-compose up -d\n```\n\nOr build and run manually:\n\n```bash\ndocker build -t mkquiz .\ndocker run -p 3000:3000 -v /path/to/project:/quiz-project:ro mkquiz\n```\n\n## License\n\nISC\n\n## Author\n\n**3bbas** - [GitHub](https://github.com/3bbaas)\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## Support\n\nFor issues or questions, please [open an issue](https://github.com/3bbaas/mkquiz-cli/issues) on GitHub.\n\n## Documentation\n\nFor detailed documentation, see [docs.md](./docs.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3bbaas%2Fmkquiz-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3bbaas%2Fmkquiz-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3bbaas%2Fmkquiz-cli/lists"}