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).
Categorías (category)
| Clave | Nombre |
|---|---|
action | Acción |
adventure | Aventura |
arcade | Arcade |
puzzle | Puzles |
match3 | Match 3 |
mahjong | Mahjong |
merge | Fusión |
idle | Clicker e idle |
racing | Carreras |
shooting | Disparos |
sports | Deportes |
strategy | Estrategia |
rpg | RPG |
simulation | Simulación |
cards | Cartas |
board | Mesa |
word | Palabras |
quiz | Trivia |
two-player | 2 jugadores |
io | .io |
parkour | Obby y parkour |
horror | Terror |
logic | Lógica |
girls | Vestir y cocinar |
kids | Niños |
runner | Runner |
Etiquetas (tags)
| Clave | Nombre |
|---|---|
2048 | 2048 |
animals | Animales |
arena | Arena |
auto-battler | Auto battler |
ball | Pelota |
basketball | Baloncesto |
beauty | Maquillaje |
blocky | Mundos de bloques |
brain | Mente |
brainrot | Brainrot |
bricks | Ladrillos |
bubble-shooter | Burbujas |
cars | Coches |
casual | Casual |
clans | Clanes |
classic | Clásicos |
colorful | Colorido |
cooking | Cocina |
destruction | Destrucción |
drawing | Dibujar |
dress-up | Vestir |
educational | Educativo |
endless | Sin fin |
escape | Escape |
fantasy | Fantasía |
farm | Granja |
fighting | Peleas |
flappy | Flappy |
flying | Volar |
football | Fútbol |
hardcore | Hardcore |
heroes | Héroes |
hidden-objects | Objetos ocultos |
high-score | Puntuación máxima |
horror | Terror |
jigsaw | Rompecabezas |
jumping | Saltos |
keyboard | Teclado |
kids-friendly | Para niños |
mahjong | Mahjong |
match-3 | Combina 3 |
memory | Memoria |
merge | Fusionar |
military | Militares |
mines | Minas |
minesweeper | Buscaminas |
motorbikes | Motos |
mouse | Ratón |
multiplayer | Multijugador |
mystery | Misterio |
neon | Neón |
numbers | Números |
obby | Obby |
offline | Sin conexión |
one-button | Un solo botón |
paddle | Paleta |
pairs | Parejas |
parking | Aparcamiento |
physics | Físicas |
pixel | Píxel |
pvp | PvP |
quick | 5 minutos |
relaxing | Relajante |
retro | Retro |
rpg | RPG |
shooter | Disparos |
singleplayer | Un jugador |
sliding-puzzle | Puzle deslizante |
snake | Serpiente |
solitaire | Solitario |
sorting | Ordenar |
space | Espacio |
stickman | Stickman |
survival | Supervivencia |
tic-tac-toe | Tres en raya |
tiles | Fichas |
touch | Táctil |
tower-defense | Defensa de torres |
trucks | Camiones |
two-player | 2 jugadores |
tycoon | Magnate |
typing | Mecanografía |
vs-ai | Contra el ordenador |
words | Palabras |
zombie | Zombis |
Sagas (series)
| Clave | Nombre |
|---|---|
classic-arcade | Arcade clásico |
brain-trainers | Entrenamiento mental |