Coder Social home page Coder Social logo

addon-list's Introduction

List of installable add-ons for the Mozilla IoT Gateway. These are discoverable from the Settings page.

Building Add-ons

The add-on API is described in this document.

Packaging Add-ons

Your add-on should be packaged as an npm-compatible package. If it is written in Javascript and is actually npm-compatible, you can simply package it with npm pack. If not, the layout needs to be the same.

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:

  • any: Use this if your package does not contain binaries, i.e. if it's pure Javascript/Python.
  • darwin-x64: 64-bit Mac OS X
  • linux-arm: Linux on 32-bit ARM (this should be built to support armv6, such as older Raspberry Pi generations)
  • linux-arm64: Linux on 64-bit ARM
  • linux-ia32: Linux on 32-bit x86
  • linux-x64: Linux on 64-bit x86
  • win32-ia32: Windows on 32-bit x86
  • win32-x64: Windows on 64-bit x86

Publishing Add-ons to this List

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

  • name: The package name. This should be the same as in your package.json.

  • display_name: A friendly display name for your package. This will be shown in the Gateway's UI.

  • description: A friendly description for your package. This will be shown in the Gateway's UI.

  • version: The package version. This should be the same as in your package.json.

  • packages: An object describing supported architectures and their packages. Each entry should be of the form:

    "architecture": {
      "url": "https://path.to/my/package.tgz",
      "checksum": "sha256 of package"
    }
    • architecture: Replace this with the actual architecture (see the previous section).
    • url: A URL to download the packaged tarball (.tar.gz or .tgz) from.
    • checksum: Checksum of the tarball
  • api: The API levels supported by this add-on. This should be the same as in your package.json, so an object with the following 2 properties:

    • min: The minimum supported API level
    • max: The maximum supported API level

addon-list's People

Contributors

dhylands avatar hobinjk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.