Plugins
Plugins extend SecRandom without modifying the application itself: register custom settings pages or main pages, register floating-window buttons, run fair draws through the controlled draw interface, and more. Finished plugins can be shared with other users through the plugin market.
Get Started
Section titled “Get Started”- Set Up a Plugin Environment: Prepare the environment and reference the plugin SDK.
- Create a Plugin: Create a project, learn the plugin structure, and configure the manifest.
- Plugin Basics: Loading flow, apiVersion rules, page registration and localization, and configuration.
- Plugin Entry Class: The
PluginBaseentry point and lifecycle. - Capabilities: The stable contracts the host exposes to plugins.
- Plugin Dependencies: Host-provided dependencies, external packages, and version conflicts.
- API Versions & Compatibility: Version rules and when a recompile is required.
- Publishing: Package
.srpxand list your plugin on the market.
Plugin Market
Section titled “Plugin Market”The built-in plugin market loads the official index from SECTL/SecRandom-PluginIndex:
- The index
index.jsonand its Ed25519 signatureindex.json.sigare regenerated by the index repository’s workflow on every push and nightly, published to the fixed release taggenerated. - The client downloads mirror-first with a GitHub fallback, verifies the whole index signature, then verifies each package SHA-256 before staging; dependencies are resolved in topological order prior to installation.
If you want to contribute to the SecRandom ecosystem by writing plugins, see the full submission flow in Publishing.