Skip to content

gotempsh/plugins

Repository files navigation

Temps Plugins

Official external plugins for Temps — drop-in binaries that extend the platform without forking or rebuilding it.

All plugins in this repo are written in Rust using temps-plugin-sdk and communicate with the Temps server over stdin/stdout.

Plugins

Plugin Description
example-plugin Minimal SEO crawler — the shortest path to understanding the plugin protocol, UI bundle layout, and SQLite-backed persistence.
lighthouse-plugin Runs Google Lighthouse audits after every deployment and tracks Core Web Vitals over time.
indexnow-plugin Automatically submits deployed URLs to IndexNow-supporting search engines (Bing, Yandex, Seznam).
google-indexing-plugin Notifies the Google Indexing API when pages are published or removed.

Install a prebuilt binary

Each GitHub Release publishes per-platform binaries for every plugin.

# 1. Download the binary for your platform from the Releases page
curl -L -o ~/.temps/plugins/temps-lighthouse-plugin \
  https://github.com/gotempsh/plugins/releases/latest/download/temps-lighthouse-plugin-x86_64-linux

# 2. Make it executable
chmod +x ~/.temps/plugins/temps-lighthouse-plugin

# 3. Open the Temps dashboard → Settings → Plugins → Reload Plugins

Build from source

git clone https://github.com/gotempsh/plugins
cd plugins

# Build all plugins
cargo build --release

# Or build just one
cargo build --release -p temps-lighthouse-plugin

# Install the binary
cp target/release/temps-lighthouse-plugin ~/.temps/plugins/
chmod +x ~/.temps/plugins/temps-lighthouse-plugin

Open Settings → Plugins in the Temps dashboard and click Reload Plugins.

Plugin structure

Each plugin is a standalone Cargo crate with the same layout:

lighthouse-plugin/
├── Cargo.toml      # deps inherited from the workspace
├── build.rs        # bundles web/dist into the binary
├── src/            # Rust source
└── web/            # optional Vite + React UI (built into a static bundle)

The build.rs runs bun install && bun run build in web/ when the web/ directory exists, then the Rust code embeds the built assets with include_dir!.

Write your own plugin

The easiest starting point is to copy example-plugin, rename it, and edit from there. See the plugin system docs for the full SDK reference, protocol details, and service registration patterns.

Versioning

This repo pins to a specific Temps SDK version via temps-plugin-sdk = { git = "...", tag = "vX.Y.Z" } in the workspace Cargo.toml. Bump the tag in a single PR when you want to pick up new SDK features — every plugin in the workspace upgrades together.

License

Dual-licensed under Apache 2.0 or MIT, matching the main Temps repo. See LICENSE and LICENSE-MIT.

About

Official external plugins for Temps — Lighthouse audits, IndexNow, Google Indexing API, and more. Drop-in binaries built with temps-plugin-sdk.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors