# AikaHub for developers > AikaHub (https://aikahub.com) is a Hungarian community site with a game space, the Játéktér ("Playground"). Games connect to it with > "Log in with AikaHub" (OAuth 2.0 authorization code + PKCE S256): the member's public profile and 3D VRM character, > achievements, entitlements, cloud saves, leaderboards, visits with preset gifts and "playing now" presence. The official > client is @aikahub/sdk 1.5.0 (ESM, no dependencies; browser / Cloudflare Workers / Node ≥ 18 / Deno). The Hub never > shares email addresses. Beginners make games without code in AikaHub Studio (https://studio.aikahub.com/). Developer home (EN/HU/DE): https://aikahub.dev/ — contact: info@aika.hu ## Start - [AikaHub Studio](https://studio.aikahub.com/): browser game maker, no install; starter games "Arena shooter", "My Little Shop", "Star Island"; one-button publishing to the Playground - [My first game](https://aikahub.dev/tutorial/): 15-minute step-by-step guide with a starter game on your own computer (Node ≥ 18, Mock Hub with test players, then the real Hub) - [Downloads](https://aikahub.dev/downloads/): starter-game ZIPs, SDK files, "Log in with AikaHub" button and badge ## Docs - [Docs](https://aikahub.dev/docs/): entry points, registering a game, scopes, trust levels, error codes, retry rules, privacy, brand - [SDK reference](https://aikahub.dev/docs/sdk/): the full @aikahub/sdk README (install, quickstart, cloud saves, leaderboards, visits, presence, errors) - [Publishing](https://aikahub.dev/publish/): review, sandbox, limits and the exact Content-Security-Policy of published games - [AGENTS.md](https://aikahub.dev/AGENTS.md): how an AI coding agent should build an AikaHub game - [llms-full.txt](https://aikahub.dev/llms-full.txt): everything above plus the SDK README and TypeScript types, as one plain-text file - [Developer console](https://aikahub.com/developers/console): self-service clients (login required, 18+, verified email) - [Developer Agreement](https://aikahub.com/developers/agreement) · [AikaHub SDK License](https://aikahub.com/developers/sdk-license) · [all versions](https://aikahub.com/developers/legal) - [OAuth discovery (RFC 8414)](https://aikahub.com/.well-known/oauth-authorization-server) ## SDK files (pinned, CORS-enabled; pin the exact version and check integrity) - [browser.js](https://aikahub.com/sdk/1.5.0/browser.js): `createClient({ clientId, redirectUri, scopes })` → `login()`, `handleCallback()`, `me()`, `character()`, `unlock(key)`, `entitlements()`, `cloudSave()`, `saves`, `scores`, `visits`, `presence`, `logout()` - [server.js](https://aikahub.com/sdk/1.5.0/server.js): `createServerClient({ clientId, clientKey })` → `verifyAccessToken(token)`, `unlock(sub, id)`, `entitlements(sub)`, `queue()`, saves and scores for a member - [same-origin.js](https://aikahub.com/sdk/1.5.0/same-origin.js): games hosted on aikahub.com — `createSameOriginClient({ game })` - [aikahub-sdk.js](https://aikahub.com/sdk/1.5.0/aikahub-sdk.js): everything in one file - [manifest.json](https://aikahub.com/sdk/1.5.0/manifest.json): sizes and SRI (sha384) hashes; `/sdk/v1/…` = newest 1.x (no fixed hash, never put `integrity` on it) ## Scopes `profile` (nickname, avatar, level, profile colour and link) · `character` (VRM file, thumbnail, licence flags) · `achievements` (unlock + read rewards) · `save` (cloud saves: 4 slots per member per game, ≤ 64 KB each, 2 MB per member) · `scores` (leaderboards; only a member's best counts; public) · `visits` (home snapshot ≤ 16 KB, neighbours, preset gifts) · `presence` ("playing now" heartbeat every 45–60 s: menu / playing / idle; only from the member's own client while playing) ## Rules for code you generate - The game's server key (`ahk_` + 64 hex) lives only on the game's server; the Hub stores only its SHA-256. Never put it in browser code, a build or a repo. - Browser tokens stay in memory (SDK default). Never write tokens to localStorage, cookies or logs. - Trust levels: `client` achievements (unlocked from the browser) ≤ 50 XP and never legendary; `server` achievements (unlocked with the server key) ≤ 250 XP, legendary allowed. - Always check on the server that an access token was issued to your game (`verifyAccessToken` checks `aud`). `sub` is pairwise per game. - Redirect URIs match exactly; loopback `http://127.0.0.1/` accepts any port. - Developer clients (`x-` ids) work for the owner and up to 5 testers until the game is published (publish request → review). Their achievements and scores are sandbox-only (no XP) until then. - Games published from the Studio run on `g-.aikahub.dev` with a strict CSP: no inline `