Hosting your projects

Skip this page if “Publish to TheGates” in the Quickstart is enough. Your project is already hosted. The rest is for people who want to serve the files themselves.

Export your project

In the plugin: Advanced settingsExport locallyExport to local folder.

../_images/export_plugin_local.png

You get a folder containing:

  • a .gate manifest

  • a .pck or .zip resource pack

  • icon and preview images

  • optionally, GDExtension libraries

Note

Paths inside the .gate file are relative to its own URL. Upload the whole folder under one URL prefix so the relative paths resolve.

Serve the folder

Easiest path: any static-file host. Cloudflare Pages or Netlify are the simplest: free, fast, drag-and-drop the export folder. GitHub Pages works if you already have a repo.

For deeper control: your own server (Nginx, Caddy, Apache), or object storage with a public bucket (S3, R2, B2). Same gate either way. The launcher uses standard HTTP.

The launcher is a desktop app, not a web browser, so there are no CORS requirements, no special headers, and no MIME-type configuration. It uses standard HTTP caching (ETag / If-Modified-Since), so any sensible host handles re-downloads efficiently.

Open in TheGates

The URL of the .gate file is the gate URL. Paste it into the TheGates app:

https://your-host.example.com/yourproject.gate
See Linking to other gates for linking between gates.