Repository navigation
Publishing a Plugin
WritingIDE's plugin list is built from the discussions on its GitHub repository. Each plugin is one discussion, so it gets a page where people can read about it and ask you questions.
Only open source or source-available plugins are approved for the plugin list. A plugin runs with the writer's own rights, so a maintainer has to be able to read what it does before approving it. Put a link to the source in the homepage field.
Your license is your choice. It does not have to be the GPL or any open-source license: WritingIDE's plugin exception lets plugins use any terms. A plugin whose source is not public can still be shared: writers install it by hand (see Plugins), it just is not in the list.
Zip the plugin's DLLs (and any dependencies it brings). Leave out WritingIDE.Sdk.dll and WritingIDE.Core.dll: WritingIDE supplies those. The DLLs go at the top level of the zip.
Put it somewhere with a stable https link. A GitHub release on your plugin's repository works well:
gh release create v1.0.0 MyPlugin-1.0.0.zip --title "1.0.0"
In PowerShell:
(Get-FileHash MyPlugin-1.0.0.zip -Algorithm SHA256).Hash.ToLower()
Start a discussion in the category that fits it best:
| Category | For plugins that add |
|---|---|
| Rules and Style Checks | Grammar, style, genre and continuity rules |
| Worldbuilding | Maps, calendars, invented languages, character portraits |
| Planning and Structure | Outlining, beat sheets, plot and timeline tools |
| Motivation and Progress | Goals, statistics, games, sprints |
| Atmosphere and Focus | Sound, themes, focus modes |
| Export and Publishing | Export formats, submission and publishing tools |
| Integrations | Links to other apps and services |
Describe the plugin for writers: what it does and how to use it. Include this block anywhere in the post:
```plugin
id: com.example.myplugin
name: My Plugin
description: What it does, in a sentence or two.
author: Your Name
version: 1.0.0
sdk: 1.2
download: https://github.com/you/your-plugin/releases/download/v1.0.0/MyPlugin-1.0.0.zip
sha256: 0123...cdef
homepage: https://github.com/you/your-plugin
```
| Field | Meaning |
|---|---|
id |
Your plugin's own Id. Required |
name |
Shown in the list. Defaults to the discussion's title |
description |
One or two sentences |
author |
Defaults to your GitHub name |
version |
The plugin's version, such as 1.0.0. Required |
sdk |
The SDK version it needs. WritingIDE with an older SDK shows the plugin but will not install it |
download |
An https link to the zip. Required |
sha256 |
The zip's SHA-256, 64 hex characters. Required |
homepage |
Where the plugin's source can be read. Needed for approval |
A maintainer looks at the plugin, adds the plugin label, and comments approve <sha256>. A few minutes later the plugin is in every WritingIDE's plugin list.
Upload the new zip, then edit the block: the new version, download and sha256. An approval covers exactly one file, so the listing drops out of the plugin list until a maintainer approves the new checksum. Writers who have the old version see Update.
- The "Plugin index" workflow in the repository runs whenever a discussion changes.
- It reads the discussions with the plugin label, checks each
pluginblock, and keeps those whose checksum a maintainer approved (a maintainer's own listings are approved by being theirs). - It writes them to
plugins.jsonon theplugin-indexbranch. - WritingIDE reads that file, and before installing checks the download against the checksum in it.
So a writer only ever installs the exact file a maintainer approved.
- Plugin Requests: ideas for plugins that do not exist yet.
- Plugin Development: questions about the SDK and building plugins.
To approve a listing: check that the source is public and read it, check that the zip is built from it, add the plugin label, and comment approve followed by the checksum from the block. To remove a listing, take the label off. To rebuild the index by hand, run the "Plugin index" workflow from the Actions tab.
WritingIDE is free software under the GPL, version 3 or later; plugins can use any license. Source · Discussions and plugins
Start here
Writing
- The Editor
- Grammar and Continuity Rules
- Comments, Snapshots and Revision Mode
- Scenes and Plot Threads
Planning and progress
In and out
Plugins
Reference