{"id":50896130,"url":"https://github.com/jagduvi1/obikai","last_synced_at":"2026-06-16T00:02:23.105Z","repository":{"id":362926007,"uuid":"1261289874","full_name":"jagduvi1/obikai","owner":"jagduvi1","description":"Dojo-native, open-source (AGPLv3) SaaS for martial-arts schools — configurable rank/grading engine, billing, scheduling. Multi-tenant hosted + self-host. EU/Nordics-first.","archived":false,"fork":false,"pushed_at":"2026-06-06T15:11:58.000Z","size":1034,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T16:14:24.120Z","etag":null,"topics":["agpl","bjj","dojo","gdpr","martial-arts","mongodb","multi-tenant","nestjs","nordics","saas","self-hosted","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jagduvi1.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":"ROADMAP.md","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-06T13:44:33.000Z","updated_at":"2026-06-06T15:09:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jagduvi1/obikai","commit_stats":null,"previous_names":["jagduvi1/obikai"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jagduvi1/obikai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagduvi1%2Fobikai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagduvi1%2Fobikai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagduvi1%2Fobikai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagduvi1%2Fobikai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jagduvi1","download_url":"https://codeload.github.com/jagduvi1/obikai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jagduvi1%2Fobikai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34385031,"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-15T02:00:07.085Z","response_time":63,"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":["agpl","bjj","dojo","gdpr","martial-arts","mongodb","multi-tenant","nestjs","nordics","saas","self-hosted","typescript"],"created_at":"2026-06-16T00:02:22.271Z","updated_at":"2026-06-16T00:02:23.082Z","avatar_url":"https://github.com/jagduvi1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Obikai\n\n[![CI](https://github.com/jagduvi1/obikai/actions/workflows/ci.yml/badge.svg)](https://github.com/jagduvi1/obikai/actions/workflows/ci.yml)\n[![CodeQL](https://github.com/jagduvi1/obikai/actions/workflows/codeql.yml/badge.svg)](https://github.com/jagduvi1/obikai/actions/workflows/codeql.yml)\n[![License: AGPL v3](https://img.shields.io/badge/license-AGPL--3.0-blue.svg)](LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6.svg)](tsconfig.base.json)\n\n**Dojo-native, open-source SaaS for martial-arts schools.** Built around the martial-arts\njourney — a configurable rank/grading engine, curriculum, attendance-linked promotions,\ncompetition, and dojo community. Membership, billing, and scheduling are the administrative\nbackbone, not the point.\n\nOne AGPLv3 codebase runs as a **multi-tenant hosted service** *and* can be **self-hosted by a\nsingle dojo** (or an association hosting several clubs). Nordics / EU first.\n\n\u003e **Status:** Phase 0 (foundations) ✅ and most of Phase 1 (dojo core — members/households, auth,\n\u003e billing + EU VAT, scheduling, attendance, waivers) are built and tested. The backend runs with\n\u003e one `docker compose up`. See the **[Roadmap](ROADMAP.md)** for what's done and what's next.\n\nThis is **not** a gym/fitness app. No workout logging, body-composition tracking, or\nfitness-class framing.\n\n## Why Obikai\n\n- **Martial-arts-native rank engine** — declarative config + a deterministic, testable\n  evaluator. \"Belt\" is a presentation type, not an assumption: it handles belts + stripes,\n  kyu/dan, levels/tiers, and belt-less arts. Rank systems are versioned; promotion history is\n  immutable. ([docs/scope.md](docs/scope.md) §12)\n- **No vendor lock-in** — payments, email, SMS, storage, auth, and AI all sit behind provider\n  interfaces with self-hostable defaults (SMTP, S3/MinIO, local auth, AI off).\n- **EU-first compliance built in** — GDPR primitives, i18n (sv/nb/da/fi/en), EU VAT,\n  WCAG 2.1 AA, EU data residency.\n- **AI is optional and never authoritative** — the product is fully functional with AI\n  disabled; AI helps *author* config/content, never decides ranks.\n\n## Architecture at a glance\n\nA TypeScript monorepo (pnpm + Turborepo). See [docs/decisions/](docs/decisions/) for the ADRs.\n\n```\napps/        api (NestJS), worker (BullMQ), web-admin, web-member (PWA), mobile (later)\npackages/    domain, config, adapter-contracts, rank-engine (pure), db, i18n, ui, sdk, gdpr, test-utils\nadapters/    email-smtp, storage-{s3,fs}, payments-{manual,stub,stripe,…}, auth-{local,oidc}, ai-{none,ollama,…}, sms-{disabled,…}\n```\n\n**The crown jewel:** [`packages/rank-engine`](packages/rank-engine) is a pure, deterministic,\nframework- and DB-agnostic library that may import **only** `packages/domain`. That boundary\n(CI-enforced) is what keeps the engine testable, offline-capable, identical across deploy\nmodes, and structurally incapable of calling AI.\n\n## Quick start (local dev)\n\nRequires Node ≥ 20, pnpm ≥ 9, Docker.\n\n```bash\ncp .env.example .env            # defaults are self-hostable + AI-off\npnpm install\ndocker compose --profile local up   # app + Mongo + Redis + MinIO + Mailpit, one command\n```\n\nRun the pure-package checks (no Docker needed):\n\n```bash\npnpm typecheck\npnpm --filter @obikai/rank-engine test\npnpm license:check              # AGPL-compatibility gate (also runs in CI)\n```\n\n## Self-hosting\n\nA single dojo needs: **app + MongoDB + Redis + an S3-compatible endpoint + an SMTP endpoint**\n(the last two are your own, or the bundled MinIO/Mailpit). See the **[self-hosting guide](docs/self-host.md)**\nand [docker/](docker/). One `docker compose up`; configuration is all env vars\n([.env.example](.env.example)); datastore auth is on by default; telemetry is opt-in.\n\n## License\n\n[AGPL-3.0-or-later](LICENSE). Running a modified version as a network service obligates you to\noffer users the corresponding source (AGPL §13). Every dependency is kept AGPL-compatible,\nenforced by a CI license check. The Obikai name and logo are **not** covered by the code\nlicense.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md). Note: the **contribution agreement (CLA vs DCO/no-CLA)\nis not yet decided** — external PRs cannot be merged until it is.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagduvi1%2Fobikai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjagduvi1%2Fobikai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagduvi1%2Fobikai/lists"}