DocsFeaturesCloud Sync

Sync macros through a GitHub Gist

Desktop ModeBrowser ModeRunMacro RunnerRunMacro 3.5+

Open Cloud › Settings, paste the Gist ID and GitHub access token, then click Save settings. After that use Cloud › Upload PMacro to push the open macro to the Gist.

Dialog & quick setup

RunMacro Cloud Sync feature configuration interface (Dark Mode)
Cloud Sync configuration interface in RunMacro.
  1. Create a Gist on GitHub (the content can be empty) and copy the Gist ID from the URL.
  2. Create a GitHub personal access token with Gist write permission. Only needed on the uploading machine.
  3. In RunMacro, open Cloud › Settings.
  4. Paste the Gist ID into Gist ID: and the token into GitHub access token:.
  5. (Optional) For shared team templates, also fill the Gist ID and token in the Team Template Cloud card.
  6. Click Save settings.
  7. Save the macro to disk (File › Save) if you have not, then click Cloud › Upload PMacro.
  8. On another machine: enter the same Gist ID, then use Cloud › Download PMacro, type the filename and pick a target folder.

Options reference

Gist ID

The ID of the Gist that stores your macros, taken from the Gist URL. Required for upload, update and download.

GitHub access token

A GitHub personal access token, needed only for writing to the Gist. It is stored encrypted with Windows DPAPI, not as plain text in the settings file.

Team Template Cloud (separate Gist ID + token)

A separate Gist for distributing team templates, with a manifest file listing them. Entering a Gist ID here enables the feature automatically; there is no separate on/off box.

Allow downloads when SSL cannot be verified (less secure)

Off by default. Only turn it on if your machine reports SSL certificate errors and you accept the interception risk on an untrusted network. It applies to downloads only; uploads never skip SSL verification.

View sync history

Opens a read-only log of sync operations. Sensitive values are redacted before being written to it.

Clear access token

Deletes the saved token from this machine after confirmation, keeping the Gist ID. Use it when handing over a machine or rotating the token.

Upload PMacro / Update PMacro / Download PMacro

Upload pushes the open macro to the Gist. Update compares and downloads only changed files, including sub-macros. Download fetches a macro by name into a folder you pick.

Auto check and reload each loop

Two separate boxes for RunMacro package and PMacro in Settings › Cloud. When on, the macro checks the Gist for a newer version each loop and reloads if one exists.

Modes & when to use

Desktop Mode
Browser Mode
RunMacro Runner

Best for

  • You want a backup of your macros off the current machine.
  • You run the same macro on several machines and want each to pull the newest copy.
  • You need to hand a macro to someone without copying files over USB or chat.
  • You want macros to check for a newer version each loop (enable it in Settings › Cloud).

Use an alternative when

  • The macro has passwords, cookies or tokens written directly into steps — read the security warning below before uploading.
  • You need version history or merge: Cloud Sync overwrites by filename and keeps no history.
Before you run
  • A GitHub Gist you created, plus its Gist ID (required for every operation).
  • A GitHub personal access token — only needed on the machine that uploads. Download-only machines may leave it blank if the Gist is public.
  • Internet access to api.github.com.
  • The macro must be saved to disk first before uploading, because the local filename determines the Gist filename.

Example workflow

Example: move a macro from machine A to machine B

  1. On machine A: open Cloud › Settings, fill in the Gist ID and token, click Save settings.
  2. Save the macro (File › Save) so it has a filename, for example signup.pmacro.
  3. Click Cloud › Upload PMacro and wait for the success message.
  4. On machine B: open Cloud › Settings and fill in the same Gist ID; leave the token blank if the Gist is public.
  5. Click Cloud › Download PMacro, type signup, pick a folder, then click Download.

Example: edit in one place, let the other machines pull the update

  1. On the main machine, edit the macro then click Cloud › Upload PMacro to overwrite the Gist copy.
  2. On the secondary machine, open that macro and click Cloud › Update PMacro.
  3. RunMacro compares and reports either N files updated or all files are already up to date.
  4. For more automation: open Settings › Cloud and enable the per-loop update check.
Expected result: The macro sits on the Gist as a text file ending in .b64. After uploading, RunMacro re-reads it from the Gist and byte-compares it against the local file before reporting success. When downloading, any existing file is backed up as .bak-timestamp before being replaced.

Tips & limitations

Do not type passwords, cookies or tokens directly into steps of a macro you will upload. Use variables or an external data source, or keep the Gist secret.
Download-only machines need no token. Install the token only on the uploading machine, so a lost machine does not carry write access with it.
Save the macro before uploading so the filename is right — the local filename becomes the Gist filename.
Only enable the skip-SSL option when genuinely necessary and on a network you trust. Turn it back off afterwards.
On HTTP 401/403/404, check that the token is still valid and the Gist ID is correct — those two causes cover almost every case.
  • Macros are Base64-encoded before upload. Base64 is an encoding, not encryption — anyone who can read the Gist can decode the macro, including anything you typed directly into steps. Password-protected .qmacro files are the exception, as they are already encrypted.
  • There is no version history and no merging. Upload overwrites by filename; the only safety net is the .bak-timestamp file created on download.
  • A Gist must not hold two files whose names differ only in letter case. If it does and your requested name matches neither exactly, the operation fails rather than guessing.
  • A 0-byte file on the Gist (from an interrupted upload) reports an error and needs re-uploading.
  • For large files over a slow connection, the post-upload verification step can time out.
  • The skip-SSL option exists only in the Cloud › Settings dialog, not in the Settings › Cloud tab.

Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode & RunMacro Runner · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.