Publishing a game on InstaPlay
Upload a game in the dashboard or with the instaplay CLI: it builds the zip, checks the metadata,
uploads the build, waits for the automatic checks and, with the --submit flag, sends a moderation
submission. Install the CLI into the project (npm install --save-dev instaplay) instead of running
it from the registry — installation, all commands and errors are in the
guide: CLI. Before publishing, run the game in the
emulator.
1. Studio key
Games are published by a studio: every studio has its own ipk_… keys. The studio owner or an
admin creates a key in the dashboard: “Settings” → “API keys”, the “Publish” scope (details — the
guide: API keys). The key is a secret: do not commit it to the game
repository. In CI pass it as the INSTAPLAY_API_KEY environment variable (API address —
INSTAPLAY_API_URL).
npx instaplay login --key ipk_… --api https://<portal>/api/v1
npx instaplay whoami # the studio of the current key
login checks the key against the API and stores it in ~/.config/instaplay/credentials.json.
2. instaplay.json metadata
instaplay.json sits next to the game: slug, category, tags, ru and en texts, cover, leaderboards.
Category and tags are keys from the reference below only: you cannot invent your own, or
publishing returns 400 validation_failed (“unknown tag …”). Text quality threshold — title 2–60
characters, SEO description 50–160, description 300–5000, “how to play” from 80, FAQ 3–6
questions, 2–10 tags, a 16:9 cover of at least 1280×720.
3. Check and publish
npx instaplay check ./my-game # threshold: meta, category and tags (M03), zip, SDK, cover
npx instaplay publish ./my-game --submit --note "…" # upload, checks and a moderation submission
npx instaplay status ./my-game # build checks and submission state later
checkvalidates the category and tags against the portal reference (check M03) before publishing. No network — a warning,publishwill check them;--offlineskips it.publishis safe to repeat: the idempotency key ispub-<slug>-<sha256 zip>by default, a repeat of the same build does not create a second one.- The portal test stand checks the build (start,
ready, JS errors, requests outside its own origin, a non-empty frame). Only--submit(or the “Submit” button on the dashboard's “Moderation” tab) creates a moderation submission: without it the build just updates the draft. A trusted studio's game is published right after the checks, without a submission (CLI: publishing). - Exit codes:
0— the build passed,1— the checks failed,2— an error (key, network, metadata).
Category and tag reference
Keys for the category and tags fields of instaplay.json (the portal name in brackets). The API
returns the same list: GET /api/v1/categories and GET /api/v1/tags (the key field).
카테고리 (category)
| 키 | 이름 |
|---|---|
action | 액션 |
adventure | 어드벤처 |
arcade | 아케이드 |
puzzle | 퍼즐 |
match3 | 매치 3 |
mahjong | 마작 |
merge | 머지 |
idle | 방치형 & 클리커 |
racing | 레이싱 |
shooting | 슈팅 |
sports | 스포츠 |
strategy | 전략 |
rpg | RPG |
simulation | 시뮬레이션 |
cards | 카드 게임 |
board | 보드 게임 |
word | 단어 게임 |
quiz | 퀴즈 |
two-player | 2인용 |
io | .io 게임 |
parkour | 옵비 & 파쿠르 |
horror | 공포 |
logic | 논리 |
girls | 드레스업 & 요리 |
kids | 어린이 |
runner | 러너 |
태그 (tags)
| 키 | 이름 |
|---|---|
2048 | 2048 |
animals | 동물 |
arena | 아레나 |
auto-battler | 오토 배틀 |
ball | 공 |
basketball | 농구 |
beauty | 메이크업 |
blocky | 블록 세계 |
brain | 두뇌 |
brainrot | 브레인롯 |
bricks | 벽돌 |
bubble-shooter | 버블 슈터 |
cars | 자동차 |
casual | 캐주얼 |
clans | 클랜 |
classic | 클래식 |
colorful | 화려한 |
cooking | 요리 |
destruction | 파괴 |
drawing | 그리기 |
dress-up | 옷 입히기 |
educational | 교육 |
endless | 끝없는 |
escape | 탈출 |
fantasy | 판타지 |
farm | 농장 |
fighting | 격투 |
flappy | 플래피 |
flying | 비행 |
football | 축구 |
hardcore | 하드코어 |
heroes | 영웅 |
hidden-objects | 숨은 그림 찾기 |
high-score | 하이 스코어 |
horror | 공포 |
jigsaw | 직소 퍼즐 |
jumping | 점프 |
keyboard | 키보드 |
kids-friendly | 어린이 추천 |
mahjong | 마작 |
match-3 | 매치3 |
memory | 메모리 |
merge | 머지 |
military | 밀리터리 |
mines | 지뢰 |
minesweeper | 지뢰찾기 |
motorbikes | 오토바이 |
mouse | 마우스 |
multiplayer | 멀티플레이 |
mystery | 미스터리 |
neon | 네온 |
numbers | 숫자 |
obby | 오비 |
offline | 오프라인 |
one-button | 원 버튼 |
paddle | 패들 |
pairs | 짝 맞추기 |
parking | 주차 |
physics | 물리 |
pixel | 픽셀 |
pvp | PvP |
quick | 5분 게임 |
relaxing | 힐링 |
retro | 레트로 |
rpg | RPG |
shooter | 슈팅 |
singleplayer | 싱글 플레이 |
sliding-puzzle | 슬라이딩 퍼즐 |
snake | 스네이크 |
solitaire | 솔리테어 |
sorting | 분류하기 |
space | 우주 |
stickman | 스틱맨 |
survival | 생존 |
tic-tac-toe | 틱택토 |
tiles | 타일 |
touch | 터치 |
tower-defense | 타워 디펜스 |
trucks | 트럭 |
two-player | 2인용 |
tycoon | 타이쿤 |
typing | 타자 |
vs-ai | 컴퓨터와 대결 |
words | 단어 |
zombie | 좀비 |
시리즈 (series)
| 키 | 이름 |
|---|---|
classic-arcade | 클래식 아케이드 |
brain-trainers | 브레인 트레이너 |