Skip to main content

MirrorDash SDK

Build modules for MirrorDash: small panels on the mirror, such as weather, a calendar or your own data.

Quick start

You need uv. Then one command creates a module, sets up a local mirror with it, starts it and opens it in your browser:

uvx mirrordash-sdk quickstart mirrordash-my-widget

The module shows example data right away. Change it in mirrordash-my-widget/mirrordash_my_widget/: save a file and the mirror shows the change by itself. Stop it with Ctrl+C, start it again with uvx mirrordash-sdk start in the module's folder. The admin page of this local mirror is at http://localhost:8000/admin, password mirrordash.

New to this? The module guide walks you through building a real module step by step, in about half an hour.

What you get

A module with every part a module can have, each marked ── <part> ── in its code, template and tests: settings of every kind, fetching from an API with example data until there's a key, a device on the home network, saving files, its own web address, the mirror's button and public messages to other modules, GPIO pins, and a script that stays calm while a video plays. Its README lists each part's settings and texts: keep what you need, delete the rest. It shows its data with the mirror's component library (http://localhost:8000/design), so it needs no CSS, and every part has its tests (uv run pytest).

Commands

uvx mirrordash-sdk quickstart <name>                  # everything below in one go
uvx mirrordash-sdk create-module <name>               # just create the module
uvx mirrordash-sdk dev-setup -e                        # a local mirror (.venv) with this module on it
uvx mirrordash-sdk start                               # start the local mirror: http://localhost:8000/
uvx mirrordash-sdk validate .                          # check the module before you push it
uvx mirrordash-sdk release 1.0.0                       # a new version mirrors can install

Share your module

Push it to GitHub once, then run uvx mirrordash-sdk release 1.0.0 for every version. It sets the version in pyproject.toml, tags it v1.0.0, pushes, and makes the GitHub Release (with the gh tool, or it gives you the link). Mirrors install the module from its Git URL under Admin → Modules, and offer updates when you make a new release. Nothing needs to be built or uploaded anywhere else. Details: MODULE_GUIDE.md, part 11.

Learn more

  • MODULE_GUIDE.md: a step-by-step tutorial, then everything else: the component library, fetch_json/fetch, settings, translations, testing, sharing, troubleshooting.
  • MODULE_AGENTS.md: the same rules, short, for AI coding agents.
  • http://localhost:8000/design while your local mirror runs: the component library, every building block with code to copy.

Developing the SDK itself

uv sync && uv run pytest   # the tests also generate a module and run its tests

Releases: python3 scripts/release.py (try --dry-run first). It checks master and the tests, sets the version, pushes and tags vX.Y.Z; GitHub Actions then tests, builds and publishes it to PyPI.

Metadata

Release files for mirrordash-sdk 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mirrordash-sdk 0.8.1
File Size Uploaded Provenance Actions
mirrordash_sdk-0.8.1.tar.gz 56.1 kB With provenance Details for mirrordash_sdk-0.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mirrordash-sdk 0.8.1
File Interpreter ABI Platform Actions
mirrordash_sdk-0.8.1-py3-none-any.whl Python 3 none any Details for mirrordash_sdk-0.8.1-py3-none-any.whl

Total release size: 91.0 kB

Release files / mirrordash_sdk-0.8.1.tar.gz

Download URL mirrordash_sdk-0.8.1.tar.gz
Size 56.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1940a1dc8e18102f5991ef68925d84539be336af3eec11b7c058527a3f9d929b
BLAKE2b-256 checksum
How to use checksums
dac52a23bd6e2c9da1e49d338227fd8371ba5d8755f8435cd10d912a7c802d9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / mirrordash_sdk-0.8.1-py3-none-any.whl

Download URL mirrordash_sdk-0.8.1-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d972f447ceee4d690f9e1f825269e3243406aeec2fae7a33cf22490b08b8b26
BLAKE2b-256 checksum
How to use checksums
bc20cae45407935b01e9923efbec91fbe34810c075e008a71434ecfd5650b45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for mirrordash-sdk 0.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mirrordash_sdk-0.8.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page