Gizlet
Account
For agents

For agents · 4 min readMarkdown

gizlet.toml and manifest.json field reference

Complete schema, valid values, package naming, subcategory IDs, web package rules, and minimal valid examples for gizlet.toml and manifest.json.

#gizlet-toml#manifest#packaging#agents

This reference answers what fields, types, constraints and package filenames gizlet.toml (repository root) and manifest.json (inside each .gzl ZIP) require to pass Gizlet Store checks.

1. Minimal valid gizlet.toml

id = "io.gizlet.example"
name = "Example Game"
version = "0.1.0"
category = "game"
description = "One or two sentences describing the game."
subcategories = ["arcade"]
color = "#7b4dff"
license = "MIT"
runtime = 1
icon = "store/icon.png"

[[packages]]
target = "aarch64-unknown-linux-gnu"
tier = "lite"
entry = "bin/example"

Unknown keys are rejected (parseGizletToml in src/schema.ts). All repository paths are relative to repo root, /-separated, no empty/./.. segments, characters [A-Za-z0-9._+-], mirrored up to 10 MiB per art file.

2. Top-level gizlet.toml fields

  • id (required) — Reverse-DNS lowercase identifier (io.gizlet.example). Immutable once published; devices store saves under it.
  • name (required) — Display name, ≤ 80 chars.
  • version (required) — Plain base version with no - or + suffix (e.g. 0.1.0 or 1.20.4.5). Stable tag is v<version>; dev tag is v<version>-<prerelease> (up to 64 chars without v). The release's version in package names and manifest.json must equal the tag without v.
  • kind (optional, default "app") — "app" (foreground program) or "service" (systemd background program; omit category).
  • category (optional, default "app") — "game" or "app" for foreground apps. Services omit this field.
  • description (optional, ≤ 500 chars) — Required for public listing in Explore.
  • subcategories (optional) — Array of valid IDs matching kind / category (unknown or mismatched IDs are rejected; tags is deprecated). For category = "game": action, adventure, arcade, puzzle, platformer, rpg, racing, shooter, strategy, sports, simulation, casual, emulator. For category = "app": media, reading, productivity, learning, utility, developer. For kind = "service": network, sync, server.
  • color (optional) — #RRGGBB hex color for cartridge shell, page header and launcher tile.
  • license (optional, ≤ 64 chars) — SPDX expression (e.g. MIT, Apache-2.0 OR MIT).
  • runtime (optional, default 1) — Gizlet runtime generation required by dynamically linked entries (1 is the only valid generation today).
  • publish (optional, default true) — Set false to keep the gizlet out of all public lists (Explore, Store search, featured, developer page) while keeping its direct page, link install and updates active.
  • icon (optional, required for listing) — Square PNG/JPEG/WebP, ≥ 256×256, full-bleed (no pre-rounded corners).
  • cover (optional) — 16:9 image, ≥ 1280×720.
  • pattern (optional) — Seamless 512×512 PNG/WebP tile with transparency (repeated at 128 px on cards, 256 px on page header).
  • screenshots (optional) — Up to 8 paths to 4:3 images (640×480 or 1280×960).
  • [names] / [descriptions] (optional) — Localized maps keyed by locale tag (en, zh-CN, zh-TW, ja, ...).
  • [about] (optional) — Per-locale repo paths to Markdown files rendered on the Store page.
  • [links] (optional) — https:// URLs (≤ 300 chars) on their service's domain: website, x, bluesky, mastodon, youtube, twitch, discord, bilibili, weibo, xiaohongshu, itch, steam, patreon, kofi, afdian.
  • [[controls]] (optional, ≤ 12) — button (dpad, a, b, x, y, l, r, start, select), action (≤ 60 chars), optional actions map per locale.
  • web_play (optional boolean) — Only for public apps without a web package to open https://OWNER.github.io/REPO/. Omit when shipping a wasm32-unknown-emscripten package.

3. [[packages]] and .gzl naming

Declare 1 to 32 unique (target, tier) pairs:

  • target — Target triple, e.g. aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl, x86_64-unknown-linux-gnu, aarch64-apple-darwin, x86_64-apple-darwin, x86_64-pc-windows-msvc, or wasm32-unknown-emscripten.
  • tier — "lite" (runs on every device, required for R36S/R36MAX2) or "full".
  • entry — Canonical relative path inside the .gzl to the executable (or hosted .wasm module ≤ 4 MiB with zero imports on macOS/Windows, or index.html for wasm32-unknown-emscripten).
  • settings (required for kind = "service" on Gizlet OS v0.4.30+, forbidden for apps) — Relative path inside the .gzl to the service's full-screen settings executable.

Release asset filename format:

<id>-<release-version>-<target>-<tier>.gzl

Every .gzl is a stored/deflated ZIP (no symlinks, devices, setuid, encryption or ZIP64) containing manifest.json and CHECKSUMS (<sha256-hex> <path> for every other file) at the archive root. Web packages (wasm32-unknown-emscripten) are capped at 512 MiB.

4. manifest.json schemas

  • Schema 1 ("schema": 1 or omitted): kind omitted or "app".
  • Schema 2 ("schema": 2): kind required ("app" or "service"). Mandatory for services.
  • Include device-facing fields only (schema, kind, id, name, names, version, description, descriptions, category, color, runtime, target, tier, entry, settings, icon as an in-package path). Omit Store-only fields (subcategories, tags, cover, screenshots, about, controls, license, publish).
  • Store verification fails any package whose version does not match the release tag, whose kind/id/name/runtime/target/tier/entry/settings disagree with gizlet.toml, whose CHECKSUMS fail, or whose entry is not a valid executable for target.

Source files