Gizlet中文

Developers

Everything in the store is available through a public API, and downloads come from dl.gizlet.io.

GET /v1/featuredStore home: hero and sections
GET /v1/apps?q=Search and list
GET /v1/apps/github.com/{owner}/{repo}App detail, indexed on first request
GET /v1/apps/github.com/{owner}/{repo}/install?target=&tier=Pick the package for a device
GET /v1/resolve?url=Normalize any GitHub address
POST /v1/publishCI publish notification (GitHub OIDC)
curl https://api.gizlet.io/v1/apps/github.com/gizlet/app-template/install?target=aarch64-unknown-linux-gnu&tier=lite
curl -LO https://dl.gizlet.io/github.com/gizlet/app-template?target=aarch64-apple-darwin

Publishing is a git tag

  1. Start from the template

    Create a repository from gizlet/app-template and change the name, art and code.

  2. Push v0.1.0

    GitHub Actions builds .gzl packages for handhelds, Linux and macOS and creates the release.

  3. It's in the store

    CI notifies the store with GitHub OIDC; the store verifies each package's SHA-256 and serves it from Cloudflare's network.

gizlet/app-template api.gizlet.io/v1