Gizlet
Account
For developers

For developers · 3 min readMarkdown

How Gizlet works: from GitHub repository to handheld

A complete picture of how a gizlet travels from gizlet.toml and GitHub Releases through gizlet.io's automated checks and R2 mirror onto handhelds, desktops and the browser.

#architecture#store#getting-started

A gizlet does not live in a closed portal—its source of truth is your own GitHub repository. Understanding how the pieces connect makes building, debugging and publishing much easier.

The five steps from code to player

GitHub repo (gizlet.toml + code)
  → GitHub Actions (build .gzl packages + GitHub Release)
  → OIDC notify POST https://gizlet.io/api/v1/publish
  → gizlet.io queue (stream packages to R2 + verify manifest & CHECKSUMS)
  → Launchers (Gizlet OS, macOS, Windows) & Web player (gizlet.io/play/...)
  1. Your repository describes the gizlet. A single file at the repo root, gizlet.toml, declares the reverse-DNS id, name, version, kind (app or service), listing art, localized text, and each target package ([[packages]]). See the gizlet.toml field reference for every field and rule.
  2. CI builds .gzl packages and creates a GitHub Release. A .gzl file is a plain ZIP containing your executable (or web bundle), a generated manifest.json at the root, and a CHECKSUMS file listing the SHA-256 of every other file. Package filenames follow <id>-<version>-<target>-<tier>.gzl.
  3. CI notifies gizlet.io via GitHub Actions OIDC. Using store-channels.yml, your workflow sends an OIDC-signed POST /api/v1/publish request—no static Store API key is needed.
  4. gizlet.io mirrors and checks every package. A background queue reads gizlet.toml at the release tag, streams each .gzl from GitHub into Cloudflare R2, computes its size and SHA-256, validates manifest.json, CHECKSUMS, entry executable format, and limits, and marks the release ready or failed.
  5. Players install or play anywhere. Launchers on Gizlet OS, macOS and Windows query the Store API (through gizlet.io or an official regional mirror like gizlet.cc) and download the matching target package from R2. If the release includes a wasm32-unknown-emscripten web package, anyone can also play right inside gizlet.io/play/github.com/<owner>/<repo>.

Two release channels, one workflow

Every gizlet automatically has two channels driven by the release tag's version:

Dev (v<version>-dev.<run>)
Published on every push to main as a GitHub pre-release. Once a newer dev release becomes ready, older dev releases are pruned automatically.
Stable (v<version>)
Published when you push a matching v<version> tag on main. Stable releases are never deleted, and devices follow Stable by default.

How visibility works

Passing checks immediately makes a release installable by direct link (gizlet.io/github.com/<owner>/<repo> or a Short ID) and opens its web page. Passing with zero warnings lets it appear in Explore, where players can try it, like it and leave comments. Listing in the handheld Store's featured and search lists is an editorial step informed by that community feedback. Setting publish = false in gizlet.toml keeps helper packages out of all public lists while keeping direct installs and updates working.

Next steps