{"id":50140171,"url":"https://github.com/Ralex91/Razzia","last_synced_at":"2026-05-24T02:00:35.692Z","repository":{"id":220854897,"uuid":"751013910","full_name":"Ralex91/Razzia","owner":"Ralex91","description":"A self-hosted, open-source quiz platform for smaller events.","archived":false,"fork":false,"pushed_at":"2026-05-09T19:03:01.000Z","size":14233,"stargazers_count":614,"open_issues_count":13,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-05-09T20:38:23.928Z","etag":null,"topics":["learning","quizz","reactjs","self-hosted","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Ralex91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"Ralex91","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-01-31T19:06:59.000Z","updated_at":"2026-05-09T18:59:29.000Z","dependencies_parsed_at":"2024-02-04T21:27:56.556Z","dependency_job_id":"7f26929d-880d-49fe-bf2d-4b0a14f550e7","html_url":"https://github.com/Ralex91/Razzia","commit_stats":null,"previous_names":["ralex91/rahoot","ralex91/razzia"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Ralex91/Razzia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralex91%2FRazzia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralex91%2FRazzia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralex91%2FRazzia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralex91%2FRazzia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ralex91","download_url":"https://codeload.github.com/Ralex91/Razzia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ralex91%2FRazzia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33418550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"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":["learning","quizz","reactjs","self-hosted","typescript"],"created_at":"2026-05-24T01:00:29.549Z","updated_at":"2026-05-24T02:00:35.683Z","avatar_url":"https://github.com/Ralex91.png","language":"TypeScript","funding_links":["https://ko-fi.com/Ralex91"],"categories":["learning","Software"],"sub_categories":["Games"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"450\" height=\"120\" align=\"center\" src=\".github/logo.svg\"\u003e\n  \u003cbr\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003cimg alt=\"Visitor Badge\" src=\"https://api.visitorbadge.io/api/visitors?path=https://github.com/Ralex91/Razzia/edit/main/README.md\u0026countColor=%23FF9900\"\u003e\n    \u003cimg src=\"https://img.shields.io/docker/pulls/ralex91/razzia?style=for-the-badge\u0026color=FF9900\" alt=\"Docker Pulls\"\u003e\n  \u003c/div\u003e\n\u003c/p\u003e\n\n## 🧩 What is this project?\n\nRazzia is a straightforward and open-source quiz platform, allowing users to host it on their own server for smaller events.\n\n\u003e **Disclaimer**: Razzia is an independent, open-source software project. It is not affiliated with, endorsed by, or sponsored by any third-party quiz platform or service. Any resemblance to other quiz platforms is purely incidental.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"30%\" src=\".github/previews/1.png\" alt=\"Login\"\u003e\n  \u003cimg width=\"30%\" src=\".github/previews/2.png\" alt=\"Manager Room\"\u003e\n  \u003cimg width=\"30%\" src=\".github/previews/3.png\" alt=\"Question Screen\"\u003e\n\u003c/p\u003e\n\n## ⚙️ Prerequisites\n\nChoose one of the following deployment methods:\n\n### Without Docker\n\n- Node.js : version 22 or higher\n- PNPM : version 10.16 or higher (learn more [here](https://pnpm.io/))\n\n### With Docker\n\n- Docker and Docker Compose\n\n## 📖 Getting Started\n\nChoose your deployment method:\n\n### 🐳 Using Docker (Recommended)\n\nUsing Docker Compose (recommended):\nYou can find the docker compose configuration in the repository:\n[docker-compose.yml](/compose.yml)\n\n```bash\ndocker compose up -d\n```\n\nOr using Docker directly:\n\n```bash\ndocker run -d \\\n  -p 3000:3000 \\\n  -v ./config:/app/config \\\n  ralex91/razzia:latest\n```\n\n**Configuration Volume:**\nThe `-v ./config:/app/config` option mounts a local `config` folder to persist your game settings and quizzes. This allows you to:\n\n- Edit your configuration files directly on your host machine\n- Keep your settings when updating the container\n- Easily backup your quizzes and game configuration\n\nThe folder will be created automatically on first run with an example quiz to get you started.\n\nThe application will be available at http://localhost:3000\n\n### 🛠️ Without Docker\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/Ralex91/Razzia.git\ncd ./Razzia\n```\n\n2. Install dependencies:\n\n```bash\npnpm install\n```\n\n3. Build and start the application:\n\n```bash\n# Development mode\npnpm run dev\n\n# Production mode\npnpm run build\npnpm start\n```\n\n## ⚙️ Configuration\n\nThe configuration is split into two main parts:\n\n### 1. Game Configuration (`config/game.json`)\n\nMain game settings:\n\n```json\n{\n  \"managerPassword\": \"PASSWORD\"\n}\n```\n\nOptions:\n\n- `managerPassword`: The master password for accessing the manager interface. **Must be changed from the default `\"PASSWORD\"` value**, otherwise manager access is blocked.\n\n### 2. Quiz Configuration (`config/quizz/*.json`)\n\nQuizzes can be created in two ways:\n\n- **Via the Quiz Editor** — use the built-in editor available in the manager dashboard (recommended)\n- **Via JSON files** — manually create files in the `config/quizz/` directory\n\nYou can have multiple quiz files and select which one to use when starting a game.\n\nExample quiz configuration (`config/quizz/example.json`):\n\n```json\n{\n  \"subject\": \"Example Quiz\",\n  \"questions\": [\n    {\n      \"question\": \"What is the correct answer?\",\n      \"answers\": [\"No\", \"Yes\", \"No\", \"No\"],\n      \"solutions\": [1],\n      \"cooldown\": 5,\n      \"time\": 15\n    },\n    {\n      \"question\": \"Which of these are primary colors?\",\n      \"answers\": [\"Red\", \"Green\", \"Blue\", \"Yellow\"],\n      \"solutions\": [0, 2, 3],\n      \"cooldown\": 5,\n      \"time\": 20\n    },\n    {\n      \"question\": \"What is the correct answer with an image?\",\n      \"answers\": [\"No\", \"Yes\", \"No\", \"No\"],\n      \"media\": {\n        \"type\": \"image\",\n        \"url\": \"https://placehold.co/600x400.png\"\n      },\n      \"solutions\": [1],\n      \"cooldown\": 5,\n      \"time\": 20\n    }\n  ]\n}\n```\n\nQuiz Options:\n\n- `subject`: Title/topic of the quiz\n- `questions`: Array of question objects containing:\n  - `question`: The question text\n  - `answers`: Array of possible answers (2-4 options)\n  - `media`: Optional media object displayed with the question:\n    - `type`: `\"image\"`, `\"video\"`, or `\"audio\"`\n    - `url`: URL of the media\n  - `solutions`: Array of correct answer indices (0-based). Use multiple indices for multi-answer questions\n  - `cooldown`: Time in seconds before answers are revealed (3-15)\n  - `time`: Time in seconds allowed to answer (5-120)\n\n## 🎮 How to Play\n\n1. Access the manager interface at http://localhost:3000/manager\n2. Enter the manager password (defined in `config/game.json`)\n3. Share the game URL (http://localhost:3000) and room code with participants\n4. Wait for players to join\n5. Click the start button to begin the game\n\n## 📝 Contributing\n\nContributions are welcome! Please read the [CONTRIBUTING.md](.github/CONTRIBUTING.md) guide before submitting a pull request.\n\nFor bug reports or feature requests, please [create an issue](https://github.com/Ralex91/Razzia/issues).\n\n## ⭐ Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=Ralex91/Razzia\u0026type=date\u0026legend=bottom-right)](https://www.star-history.com/#Ralex91/Razzia\u0026type=date\u0026legend=bottom-right)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRalex91%2FRazzia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRalex91%2FRazzia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRalex91%2FRazzia/lists"}