Skip to content

v0.6.0 — Script modules from a folder

Choose a tag to compare

@github-actions github-actions released this 28 Oct 02:01
· 873 commits to main since this release

Script modules from a folder, in the desktop app.

  • Put a script module's folder in Drafter's modules folder and restart. Help → Open Modules Folder shows where it is (~/.config/Drafter/modules on Linux).
  • It's listed in Settings → Modules, off until you turn it on. Turning it on shows what it may reach on the network, and you agree to it first.
  • A module from the folder is code nobody at Drafter has reviewed, so it runs on its own, in a sandboxed frame:
    • It can't reach your files, Drafter's page or storage, or other modules.
    • It reaches the network only at the addresses you agreed to.
    • If its module.json changes, it's off until you turn it on again.
  • To write a module, see modules/README.md, with an example in modules/from-a-folder/tidy.
  • drafter.dev is unchanged.

Download (Linux, x64)

  • Drafter-0.6.0-linux-amd64.deb for Ubuntu 24.04 and later, and other Debian-based systems: sudo apt install ./Drafter-0.6.0-linux-amd64.deb.
  • Drafter-x86_64.AppImage for other distributions. An earlier AppImage offers this update itself.

See the install guide and the changelog.