{"id":51104082,"url":"https://github.com/gedex/kuisin","last_synced_at":"2026-06-24T13:00:48.290Z","repository":{"id":366343141,"uuid":"1275929269","full_name":"gedex/kuisin","owner":"gedex","description":"Kuisin is a static React app for quizzes and flashcards","archived":false,"fork":false,"pushed_at":"2026-06-21T11:05:14.000Z","size":407,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"trunk","last_synced_at":"2026-06-21T12:20:29.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/gedex.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":"2026-06-21T10:19:53.000Z","updated_at":"2026-06-21T11:05:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gedex/kuisin","commit_stats":null,"previous_names":["gedex/kuisin"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gedex/kuisin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fkuisin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fkuisin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fkuisin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fkuisin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gedex","download_url":"https://codeload.github.com/gedex/kuisin/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fkuisin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34733256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"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":[],"created_at":"2026-06-24T13:00:47.352Z","updated_at":"2026-06-24T13:00:48.280Z","avatar_url":"https://github.com/gedex.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kuisin\n\nKuisin is a static React app for quizzes and flashcards. Quiz data lives in JSON files that can be hosted with the app, starting with GitHub Pages.\n\n## Stack\n\n- React + Vite\n- TanStack Router\n- TanStack Query\n- Static JSON data in `public/kuis`\n- Device-local progress in `localStorage`\n\n## Quick Start\n\n```bash\nnvm use\nnpm install\nnpm run dev\n```\n\nOpen `http://127.0.0.1:5173/`.\n\nBuild for production:\n\n```bash\nnpm run build\n```\n\nPreview the production build:\n\n```bash\nnpm run preview\n```\n\n## Deploy to GitHub Pages\n\nThe `trunk` branch deploys to GitHub Pages through GitHub Actions. The\nproduction build uses `/` as the Vite base path, matching the custom domain:\n\n```text\nhttps://kuisin.id/\n```\n\nTo deploy:\n\n1. Push changes to `trunk`.\n2. In GitHub, open **Settings -\u003e Pages**.\n3. Set **Build and deployment -\u003e Source** to **GitHub Actions**.\n4. Set **Custom domain** to `kuisin.id`.\n5. Open **Actions -\u003e Deploy to GitHub Pages** and wait for the workflow to\n   finish.\n\nConfigure the custom-domain DNS records using the\n[GitHub Pages custom-domain documentation](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site).\n\n## Quiz Data\n\nThe quiz index is at:\n\n```text\npublic/kuis/index.json\n```\n\nEach quiz uses a matching slug file:\n\n```text\n/kuis/ujian-besok -\u003e public/kuis/ujian-besok.json\n```\n\nSingle-question quizzes can use routed pagination:\n\n```json\n{\n  \"settings\": {\n    \"questionMode\": \"single\"\n  }\n}\n```\n\nThen questions are linkable with `?soal=1`, `?soal=2`, etc.\n\nQuestion renderers are selected per question, so mixed quizzes can combine question types:\n\n```json\n{\n  \"id\": \"q1\",\n  \"type\": \"multiple-choice\",\n  \"prompt\": \"Berapa hasil 8 x 7?\"\n}\n```\n\nSupported question types:\n\n- `multiple-choice`: `choices` + answer choice id\n- `true-false`: boolean `answer`\n- `short-answer`: accepted `answers` array\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fkuisin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgedex%2Fkuisin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fkuisin/lists"}