developer guide

Creating extensions

From empty folder to installable extension.

Overview

An extension is a bundle containing a manifest and your compiled module. The manifest declares identity and capabilities; the module implements the runtime API.

Scaffold a project

The quickest start is the template repository, which includes a manifest, a working search implementation, and a build script that produces a .rextx package.

ExampleExtension.swift
extension ExampleExtension {

    let name = "Example"

    func search() {
        // implementation
    }

}

Test locally

Enable Developer Mode in Rext settings to sideload a local .rextx package over your network and see logs from your extension in real time.