WebThingsIO / addon-list

List of installable add-ons for WebThings Gateway
Mozilla Public License 2.0
76 stars 54 forks source link
hacktoberfest

List of installable add-ons for the WebThings Gateway. These are discoverable from the Settings -> Add-ons page.

Building Add-ons

See here for lots of resources.

Packaging Add-ons

Your add-on should be packaged according to this document.

Packages with Binaries

If your package contains any binaries, i.e. executables, shared libraries, etc., you must cross-compile for any architecture(s) you want to support and distribute a package for each. The currently supported architectures are:

Furthermore, your packages may have to be distributed separately if the runtime requires it. For instance, if you're distributing a Node.js package with binaries, it will also need to be compiled for different Node.js versions.

Publishing Add-ons to this List

You can submit a pull request or an issue to this project. You must include the following information:

Example Entry

{
  "id": "thing-url-adapter",
  "name": "Web Thing",
  "description": "Native web thing support",
  "author": "WebThingsIO",
  "homepage_url": "https://github.com/WebThingsIO/thing-url-adapter",
  "license_url": "https://github.com/WebThingsIO/thing-url-adapter/blob/master/LICENSE",
  "primary_type": "adapter",
  "packages": [
    {
      "architecture": "linux-arm",
      "language": {
        "name": "nodejs",
        "versions": [
          "57"
        ]
      },
      "version": "0.2.5",
      "url": "https://github.com/WebThingsIO/thing-url-adapter/releases/download/v0.2.5/thing-url-adapter-0.2.5-linux-arm-v8.tgz",
      "checksum": "c58eb9c99294a9905fd00b5ca38c73e2337ea54d4db6daebb7c3b0eb64df5b92",
      "api": {
        "min": 2,
        "max": 2
      },
      "gateway": {
        "min": "0.10.0",
        "max": "*"
      }
    },
    {
      "architecture": "linux-x64",
      "language": {
        "name": "nodejs",
        "versions": [
          "57"
        ]
      },
      "version": "0.2.5",
      "url": "https://github.com/WebThingsIO/thing-url-adapter/releases/download/v0.2.5/thing-url-adapter-0.2.5-linux-x64-v8.tgz",
      "checksum": "2e778ad976cb469be1d41af13716a7d65a9cc4e371c452be2ff2da4ed932941c",
      "api": {
        "min": 2,
        "max": 2
      },
      "gateway": {
        "min": "0.10.0",
        "max": "*"
      }
    },
    {
      "architecture": "darwin-x64",
      "language": {
        "name": "nodejs",
        "versions": [
          "57"
        ]
      },
      "version": "0.2.5",
      "url": "https://github.com/WebThingsIO/thing-url-adapter/releases/download/v0.2.5/thing-url-adapter-0.2.5-darwin-x64-v8.tgz",
      "checksum": "e287c61d844fe832b9dca609546ec2454fe23e4a7753b3ce6f9ee53332fdf53f",
      "api": {
        "min": 2,
        "max": 2
      },
      "gateway": {
        "min": "0.10.0",
        "max": "*"
      }
    }
  ]
}