Create an App from the Template
GM Desktop app development quick start
Welcome to the GM Desktop developer world
This guide takes you from zero to a fast, complete grasp of the GM Desktop app development workflow. Whether you are a frontend developer or a full-stack engineer, you will find a development path that suits you here.
Become a GM Desktop developer
Register a developer account
To start your GM Desktop app development journey, register a developer account first:
Registration entry
Developer Center: https://www.gmssh.com/developers/control-panel
Full app creation workflow
Overview
GM Desktop provides complete app development lifecycle management, from creation to deployment, in one place:

Details:
- Go to the official website, open the "Become a developer" page in the Developer Center, click "Create new app", and fill in the form
- Select an app template
- Set app permissions
- Confirm the creation

Pick the frontend template that suits you and enable the backend template as needed:
- Frontend template (required): provides three mainstream tech stacks that work out of the box:
HTML + JavaScript,Vue + Vite, andReact + Vite. - Backend template (optional): decide based on what your micro-app needs. If it involves low-level system operations, long-running daemons, or high-performance data processing, enable the backend module (the official template provides a high-concurrency resident service in Go; if the app is pure UI interaction or only calls native desktop capabilities, you can leave the backend off).

After the app is created, GM Desktop automatically allocates a dedicated, standalone Git repository for your micro-app:
- Dedicated code space: GM provides the hosting, so you can clone and pull the scaffold template over Git and iterate locally with a proper engineering workflow.
- One-click hosted credentials: the system generates the dedicated repository URL, push account, and access key automatically; click "One-click copy" and keep them safe.
- Code commits and version flow: once local development and testing are done, push the code to the
masterbranch of this repository. That becomes the authoritative code source for later version releases, official review, and publishing.

After the app is created, find your micro-app under "App Management" in the left navigation bar and click "Edit" to complete its public presentation and runtime configuration:
- Basic identity and description: upload a high-resolution app icon (Logo), enter a clear and accurate app name and a one-sentence introduction, and choose whether the app is open source.
- Category and compatibility: specify the business category (such as operations management or developer tools), and configure the supported OS distributions and CPU architectures.
- Screenshot gallery: upload Chinese and English UI screenshots (up to 5 per set), so users can see the features at a glance in the App Center.
- Save and apply: when everything is correct, click "Save edits" in the top right corner; the information is updated and used for the listing review.

Once the micro-app is developed, debugged locally, and pushed to the Git repository, you can formally submit it for release review under "App Management":
- Start a release: locate the target micro-app in the app list and click "Publish" to open the release dialog.
- Fill in the version information:
- Version number: follow semantic versioning (for example
1.0.0). - Git version number: the system automatically captures the latest commit hash of the repository and links it, so the released code version can be traced precisely.
- Release notes: describe the new features, performance improvements, or fixes in this version. This content is also shown in the App Center changelog for users to read.
- Version number: follow semantic versioning (for example
- Submit for review and publish: when everything is correct, click "Confirm" to submit for review. Once approved, the version is officially released, and all GM Desktop users can search for, one-click install, and use your micro-app in the App Center.
App scaffold modules
The app scaffold modules provide complete frontend and backend development templates and support several tech stack combinations, helping you start a project quickly.
Frontend app templates
HTML + JavaScript
- Native web development
- Lightweight, suitable for simple apps
- Quick to start, no build tooling required
Vue3 + Vite
- Modern Vue.js framework
- Fast hot-reload development experience
- Full component-based development support
React + Vite
- Popular React ecosystem
- High-performance build tooling
- Rich community resources
Backend module (optional)
- Go backend template
- Language: Go 1.24+
- Communication framework:
simplejrpc-go(Unix Socket with the JSON-RPC 2.0 protocol) - Included out of the box:
- Internationalization (i18n): built-in multi-language support (Chinese/English INI files, mapped automatically from frontend parameters)
- Environment configuration: ships with
config.json(test and production environments kept separate) - Logging: built-in logging system, split and stored by day
- Safe file operations: wraps safe path read/write tools, so you do not have to build your own
- Deployment advantage: packaging produces a single static Linux executable, so user servers can run it without installing any runtime environment.
Quick start
- Choose a frontend: HTML, Vue 3, or React, whichever you are used to.
- Decide on a backend: skip the backend for pure UI or native desktop capability calls; tick the Go backend when you need low-level server commands or operations management.
- Clone and develop: get the Git repository, pull the code locally, and it runs out of the box.
- Commit and publish: push the code to the
masterbranch and submit it for review in the Developer Center with one click.
The architecture in one sentence
The micro-app backend talks to the frontend $gm.request over a Unix Socket (a local file socket), so it never occupies a network port on the server: lightweight, secure, and configuration-free.
