Skip to content

Releases

MEGA-Route 3.1.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 10:33

Review fixes for Obsidian's community directory. Nothing changes in how the sync works.

  • Settings search: on Obsidian 1.13 and later the settings tab uses Obsidian's declarative settings, so every
    setting, and the live panels (MEGAcmd's state, sign-in, the sync, the .megaignore preview, the log), is found by
    Obsidian's settings search. Earlier versions show the same settings as before.
  • Obsidian's review rules: the code now passes Obsidian's own lint (eslint-plugin-obsidianmd) and
    typescript-eslint's type-checked rules with no warning; the release check and the release workflow run it:
    • timers through window (pop-out windows);
    • control characters checked by character code instead of a regular expression;
    • the configuration folder always from Obsidian (Vault#configDir), never assumed to be .obsidian;
    • Node's modules loaded with import() behind Obsidian's desktop guard, not require();
    • every promise in an event handler handled; no unneeded type assertions; destructive buttons styled with
      Obsidian 1.13's setDestructive() (and as before on earlier versions).
  • Wording: a few messages in sentence case.

You need: Obsidian's desktop app (1.8.7 or later), MEGAcmd installed by you from
mega.io/cmd, and a MEGA account.

Files

main.js, manifest.json and styles.css, built by GitHub Actions from this tag, with build-provenance attestations
(gh attestation verify main.js --repo Gameboard-dev/mega-route).

MEGA-Route 3.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 18:10

Review fixes for Obsidian's community directory. Nothing changes in how the sync works.

  • No !important in styles.css: the status bar item, the ribbon icon and the settings' extra lines are shown and
    hidden with Obsidian's own toggle, show and hide.
  • Obsidian's local storage API only: per-device settings were already kept with App.loadLocalStorage /
    saveLocalStorage; the one remaining direct window.localStorage call (a clean-up of a 2.x key, done by every 3.0.x
    start) is gone.
  • File access limited to what Obsidian's vault API cannot do: Node's fs now only checks MEGAcmd's program and
    reads MEGAcmd's log (both outside the vault), and writes .megaignore in place (MEGA marks it hidden, and the vault
    API's write cannot replace a hidden file on Windows). Counting the vault's files, reading .megaignore, the copy kept
    before each write and the plugin's own log file now go through Obsidian's API.
  • Disclosures say exactly what runs (only MEGAcmd's own client, which you install, and the system's process list;
    never a shell), which files Node's fs touches and why, and that the clipboard is only written, when you press
    Copy in the log pane. See
    Disclosures.

You need: Obsidian's desktop app (1.8.7 or later), MEGAcmd installed by you from
mega.io/cmd, and a MEGA account.

Files

main.js, manifest.json and styles.css, built by GitHub Actions from this tag, with build-provenance attestations
(gh attestation verify main.js --repo Gameboard-dev/mega-route).

MEGA-Route 3.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 17:53

MEGA-Route keeps your vault in a two-way sync with a folder on MEGA. The sync itself is run by MEGAcmd, MEGA's
official command-line tool; MEGA-Route sets the sync up from Obsidian, checks it before it starts, and shows how it is
doing.

You need: Obsidian's desktop app (1.8.7 or later; it does not run on phones or tablets), MEGAcmd installed by
you
from mega.io/cmd, and a MEGA account (MEGA's free plan works). Tested on Windows; macOS
and Linux are written for but not yet tested.

What it does

  • Setup: finds MEGAcmd, starts and stops it, and signs it in to your MEGA account from the settings (with the
    one-time code if two-factor authentication is on), or out again. Your password is passed only to MEGAcmd on your
    computer, once, and never stored: MEGAcmd keeps its own session.
  • The sync: your vault ↔ a MEGA folder, created after checks you confirm; pause, resume or remove it (your files
    are never deleted by removing it).
  • Exclusions: your patterns, written as MEGA's own rules into a marked block of .megaignore.
  • Status: in the status bar and on the ribbon icon: synced, syncing with a percentage of files in sync, the
    transfer rate and the file being uploaded, paused, sync issues, errors, and "no progress" with MEGAcmd's reason.
  • Logs: the plugin's log and MEGAcmd's, live in the settings, with sign-in details hidden.

The plugin makes no network connection of its own, collects nothing, shows no ads, and never downloads or installs
anything. Details: Disclosures.

Files

main.js, manifest.json and styles.css, built by GitHub Actions from this tag, with build-provenance attestations
(gh attestation verify main.js --repo Gameboard-dev/mega-route).