Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.94 KB

CONTRIBUTING.md

File metadata and controls

39 lines (31 loc) · 1.94 KB

Contributing a plugin

  1. Write your plugin, for example from TypeType-Plugin-Template. Its CI builds the .wasm, attests the build and publishes a release when you push a tag v<version>.

  2. Add community/<last part of your id>.toml:

    id = "org.example.myservice"
    name = "My service"
    description = "One sentence that says what people get."
    category = "service"
    repository = "https://github.com/you/typetype-plugin-myservice"
    author = "you"
    license = "GPL-3.0-only"
    homepage = "https://example.org"
    
    [[versions]]
    version = "1.0.0"

    The id is a reversed domain name you control or your GitHub account (io.github.you.myservice). The license is an SPDX id from the free licenses listed in tools/build_index.py.

    To show an icon in the catalog, put a square PNG named icon.png at the root of your repository: 64 to 512 pixels wide, at most 64 KiB. SVG is refused, because it can carry scripts. For another path, add icon = "path/to/icon.png". The index pins the icon at the commit of your newest release.

  3. Run python3 tools/build_index.py --tool path/to/typetype-plugin and commit the generated files with your entry. It needs Python 3.11 or newer, git, and the GitHub CLI to check the build attestation; no GitHub login is needed.

  4. Open a pull request. The CI runs the same checks; I review the entry and the hosts your plugin asks for.

For a new version, add a [[versions]] block with the new version and run the build again. Keep the older versions listed: a server that runs an older TypeType may still need them.

What I do not accept: closed source, a build that is not attested, a plugin that asks for more hosts than its service needs, or one that works around a service's paywall or account rules.

By adding an entry, you agree to release it under MIT-0, like the rest of this index.