Skip to content

About

Template to build a TypeType plugin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TypeType

TypeType Plugin Template

A working TypeType server plugin to start your own from.

You want to know the current position of TypeType about AI ? Go check this.

A working TypeType server plugin to start from. It answers search and video with fake videos, and has everything a plugin needs: the protocol types, unit tests, and a CI that builds the .wasm, checks it with the TypeType engine and publishes an attested release.

Start

  1. Click Use this template on GitHub and clone your new repository.
  2. Follow AGENTS.md: what to rename, the manifest, the functions, the errors, the network rules, and how to test and publish. The same guide is a skill in .claude/skills/typetype-plugin, so an AI agent can follow it too.

Build and test

rustup target add wasm32-unknown-unknown
cargo test
cargo build --release --target wasm32-unknown-unknown

Then check the .wasm with the typetype-plugin tool, which runs it in the same engine and with the same limits as the server:

./typetype-plugin validate target/wasm32-unknown-unknown/release/typetype_plugin_example.wasm
./typetype-plugin test target/wasm32-unknown-unknown/release/typetype_plugin_example.wasm
./typetype-plugin run target/wasm32-unknown-unknown/release/typetype_plugin_example.wasm search example

AGENTS.md says how to build the tool from TypeType-Server-Go.

Publish

Add a square icon.png at the root (64 to 512 pixels, at most 64 KiB, no SVG) to show an icon in the catalog. Push a tag v<version> that matches Cargo.toml: the CI attests the build and publishes the release. Then open a pull request on TypeType-Plugins to list it.

License

The template is under MIT-0: copy it, no attribution needed, and give your plugin any free license.

About

Template to build a TypeType plugin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages