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.
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.0or1.20.4.5). Stable tag isv<version>; dev tag isv<version>-<prerelease>(up to 64 chars withoutv). The release's version in package names andmanifest.jsonmust equal the tag withoutv.kind(optional, default"app") —"app"(foreground program) or"service"(systemd background program; omitcategory).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 matchingkind/category(unknown or mismatched IDs are rejected;tagsis deprecated). Forcategory = "game":action,adventure,arcade,puzzle,platformer,rpg,racing,shooter,strategy,sports,simulation,casual,emulator. Forcategory = "app":media,reading,productivity,learning,utility,developer. Forkind = "service":network,sync,server.color(optional) —#RRGGBBhex 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, default1) — Gizlet runtime generation required by dynamically linked entries (1is the only valid generation today).publish(optional, defaulttrue) — Setfalseto 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), optionalactionsmap per locale.web_play(optional boolean) — Only for public apps without a web package to openhttps://OWNER.github.io/REPO/. Omit when shipping awasm32-unknown-emscriptenpackage.
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, orwasm32-unknown-emscripten.tier—"lite"(runs on every device, required for R36S/R36MAX2) or"full".entry— Canonical relative path inside the.gzlto the executable (or hosted.wasmmodule ≤ 4 MiB with zero imports on macOS/Windows, orindex.htmlforwasm32-unknown-emscripten).settings(required forkind = "service"on Gizlet OS v0.4.30+, forbidden for apps) — Relative path inside the.gzlto 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": 1or omitted):kindomitted or"app". - Schema 2 (
"schema": 2):kindrequired ("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,iconas an in-package path). Omit Store-only fields (subcategories,tags,cover,screenshots,about,controls,license,publish). - Store verification fails any package whose
versiondoes not match the release tag, whosekind/id/name/runtime/target/tier/entry/settingsdisagree withgizlet.toml, whoseCHECKSUMSfail, or whoseentryis not a valid executable fortarget.