Skip to main content
Glama

neme-world

Publish a web game to neme.world from the command line.

If your game runs in a browser tab from static files, it runs on neme.world: any engine, any framework, hand-written or AI-assisted. You keep your own site; neme.world is one more place people can find and play it.

npx neme-world init        # writes neme.json
npx neme-world publish     # uploads your build and puts it live

No account yet?

npx neme-world publish     # no token set

The game goes online at once, for 24 hours, at a temporary address that is in no list. The command prints a claim link: open it, sign up, and the game is yours, at the address in your neme.json if it is free. Unclaimed, it goes offline after the day and is deleted a week later. A game published this way can be up to 20 MB.

Publishing again from the same folder, on the same machine, updates the same game: the tool remembers it in your own settings folder (~/.config/neme-world/), never in the project. A game published this way has no private previews: --preview without a token stops before uploading anything, rather than put the build online. Once you have an account, set NEME_TOKEN and what was remembered is ignored; neme forget drops it.

Related MCP server: hypercho-games-publisher

Before you publish

  1. Create an account at neme.world. Anyone can; there is no waiting list. Confirm your email address from the link you are sent, then make an API token in your dashboard.

  2. Put the token in your environment: export NEME_TOKEN=neme_…

  3. Build your game the way you normally do.

Your game is live at its own link the moment you publish it. It joins neme.world's home page and search once we have looked at your first game; your later games appear at once.

neme.json

{
  "slug": "my-game",
  "title": "My Game",
  "description": "One or two sentences players will see.",
  "tags": ["arcade"],
  "dir": "dist",
  "cover": "cover.png"
}

Field

Meaning

slug

The game's address: neme.world/g/<slug>. Lowercase letters, numbers, hyphens.

title

Shown to players.

description

Shown on the game's page and in link previews.

tags

Up to 8, used for browsing.

dir

Folder holding your built index.html, relative to neme.json and inside its folder. Default .

entry

The HTML file to open, if it isn't index.html.

cover

An image inside dir. Leave it out and neme.world takes a screenshot for you.

aspect

Shape of the game on its page: 16:9 (default), 4:3, 1:1, 3:4 or 9:16.

controls

What the game plays with: any of keyboard, mouse, touch, gamepad. Players on a device that doesn't fit are told before they start.

license, sourceUrl, credit

Optional, for open-source games and attribution.

What publish does

It uploads dir file by file as a new version, which goes live at once. Only files that changed since your last publish are sent, so updating a large game is quick. Hidden files (anything starting with a dot) and node_modules are never uploaded. Every version is kept, and you can make any earlier one live again from your dashboard.

A single file can be up to 95 MB, and a game up to 1 GB. One publish per game runs at a time: starting a second replaces the first.

Previews

npx neme-world publish --preview    # uploads the build, prints a link to try it; players are not affected
npx neme-world promote 7            # makes version 7 live

promote also takes you back to an earlier version.

Options

Installed (npm i -D neme-world), the command is simply neme.

neme publish [dir]      Publish the game described by dir/neme.json (default: current folder)
neme init [dir]         Create a neme.json

neme promote <n> [dir]  Make version n live

--preview               Upload without going live
--token <token>         API token (default: $NEME_TOKEN)
--api <url>             Platform address (default: $NEME_API or https://neme.world)

In CI

- run: npm run build
- run: npx neme-world publish
  env:
    NEME_TOKEN: ${{ secrets.NEME_TOKEN }}

Talking to the player

To report load time, scores and your own events to your dashboard, see the SDK section of the developer guide.

MIT licensed.

Versions

A game keeps a limited number of versions (200). neme versions lists them and says which one players are on; neme delete 3 deletes version 3 for good. The version players are on cannot be deleted: make another live first.

For coding agents

neme mcp runs the same commands as tools for an AI coding agent, over the Model Context Protocol. Add it to your agent's MCP servers:

{ "mcpServers": { "neme": { "command": "npx", "args": ["-y", "neme-world", "mcp"], "env": { "NEME_TOKEN": "neme_…" } } } }

Tools: neme_guide (how to make a game that works on neme.world), neme_init, neme_publish (with preview), neme_promote, neme_versions, neme_delete_version, neme_metrics and neme_playtest (what happened when people played each version: how far they got and where they stopped). The agent is told to upload a preview, show you the link, and make a version live only when you say so. With no NEME_TOKEN it can still publish: you get the game's link for a day and a claim link that keeps it. The guide it reads is also at https://neme.world/llms.txt.

Available Tools

8 tools
neme_delete_versionDelete a versionA
DestructiveIdempotent

Delete one version of a game for good, giving its storage back. It cannot be undone and asks for no confirmation, so call it only when the developer has said which version to delete; neme_versions shows the candidates. The version players are on is refused: to remove it, first make another live with neme_promote. Other versions and the game itself are untouched. Uses the same token as neme_publish. Returns the version deleted and the storage freed. Fails, changing nothing, if there is no such version.

Inputs: version (required), dir.

neme_guideRead the neme.world guideA
Read-onlyIdempotent

Fetch the guide to making and publishing a game on neme.world: the neme.json fields, the rules a build must meet, the SDK (scores, leaderboards, sharing, clips). Call it first, before neme_init or neme_publish. Changes nothing and needs no token. Returns the whole guide as Markdown, a few pages long, always the current one.

Inputs: no named parameters.

neme_initCreate neme.jsonA
Idempotent

Create neme.json in a project folder, filled in from the folder's name (slug, title, empty description and tags, and dir: "dist" if that folder exists, otherwise "."). Use it once, for a project that has no neme.json; then edit the file and call neme_publish. Writes that one file and nothing else: no network, no token. Never overwrites: if neme.json is already there it fails and changes nothing. Returns one line naming the file it wrote.

Inputs: dir.

neme_metricsRead a game's numbersA
Read-onlyIdempotent

Read how the game in dir/neme.json did over the last 30 days. Changes nothing. Use it when the developer asks how a game is doing; for which build players are on, use neme_versions. Uses the same token as neme_publish, and only the game's own developer can read them. Returns one JSON object of totals: views, visitors, plays, players, playSeconds, shares, playRate (plays per view, 0 to 1), avgPlaySeconds, medianLoadMs, sharedViews, sharedPlays, platformPlays. Fails if the game has never been published.

Inputs: dir.

neme_playtestRead a game's playtest reportA
Read-onlyIdempotent

Read what happened when people played each version of the game in dir/neme.json: the evidence for deciding what to change next. Changes nothing. Use it before changing a game that has been played, and again after the next version has been played, to see whether the change helped; for totals by day use neme_metrics. Uses the same token as neme_publish, and only the game's own developer can read it. Returns one JSON object: live (the version players are on), since (first day read), versions (newest first; each with opened, pressedPlay, loaded, ready, stayed30s, stayed2m, stayed5m, players, medianSeconds, medianLoadMs, broughtBy, checkpoints the game marked with how many reached each and how many stopped after it, counts of notes players wrote, and readings: what the numbers plainly say) and compared (the newest version beside the one before). Every count is a sitting, one visit to the game's page; the developer's own plays are left out. readings and compared are empty when too few people played: then say so rather than drawing conclusions from the counts. Fails if the game has never been published.

Inputs: dir.

neme_promoteMake a version liveA
Idempotent

Make a version that is already uploaded the one players get: a preview the developer has approved, or an earlier version to roll back to. It uploads nothing (neme_publish does that) and leaves the title, cover and other details as they are. Players move to that version at once; the version they were on is kept, so calling this again with its number undoes it. Find numbers with neme_versions. Uses the same token as neme_publish. Returns the version now live, the game's link and a README badge line to offer the developer. Fails, changing nothing, if there is no such version.

Inputs: version (required), dir.

neme_publishPublish a gameA

Upload the game described by dir/neme.json to neme.world as a new numbered version. With preview true it stays private and players see no change; without it the new version becomes the one players get, so do that only when the developer says so. Earlier versions are kept: neme_promote goes back to one, and makes an approved preview live without uploading again. Uses NEME_TOKEN; with none, the game goes online for a day at a temporary, unlisted address (preview true then fails, uploading nothing) and the result ends with a claim link to give the developer, who keeps the game by opening it and signing up. Returns text: the version number, its download size, the link to play or try it, and once live a README badge line (Markdown) to offer the developer. Fails, changing nothing players see, if neme.json is missing or the build breaks a rule in neme_guide.

Inputs: dir, preview.

neme_versionsList a game's versionsA
Read-onlyIdempotent

List the versions of the game in dir/neme.json, newest first: each one's number, date, file count and size, and which one players are on. Changes nothing. Use it to find the number neme_promote or neme_delete_version needs. A game keeps a limited number of versions: when neme_publish is refused for that, list them here and delete old ones with neme_delete_version. Uses the same token as neme_publish. Returns plain text, one line per version. Fails if neme.json is missing or the game has never been published.

Inputs: dir.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.6/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct lifecycle step (init, publish, promote, delete_version) or a distinct read surface (versions, metrics, playtest, guide). Overlaps that could exist—versions vs. metrics vs. playtest—are explicitly disambiguated in the descriptions ("for which build players are on, use neme_versions"; "for totals by day use neme_metrics").

    Naming Consistency4/5

    All tools share the neme_ prefix and are readable, with a clear verb_noun pattern for publish/promote/delete_version/init/playtest. A few are noun-only (neme_versions, neme_metrics, neme_guide), a minor deviation rather than an inconsistency.

    Tool Count5/5

    Eight tools map cleanly onto a publish/rollback/observe lifecycle with no filler. Nothing feels padded or missing at the count level; each tool has a distinct role.

    Completeness4/5

    The core lifecycle is covered end-to-end: scaffold (init), guide, upload (publish), rollback/preview go-live (promote), version listing and deletion, plus both aggregate and per-version analytics. Gaps remain around game-level operations such as unpublishing/deleting an entire game or listing a developer's games, but these are minor workarounds via neme.json and republish.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers