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.7.0

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.7.0
File Size Uploaded Provenance Actions
mirrordash_sdk-0.7.0.tar.gz 54.6 kB With provenance Details for mirrordash_sdk-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 88.5 kB

Release files / mirrordash_sdk-0.7.0.tar.gz

Download URL mirrordash_sdk-0.7.0.tar.gz
Size 54.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f05d062d2924c75f43babb74fd6a1f0f85b3ef9e0e1764dc84970f32ebb29533
BLAKE2b-256 checksum
How to use checksums
3ecb137f4ffdeccf4ac3ea553c6e2aa82ad3b58521be6dd28ca95111c8cfc76f
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 Oct 28, 2026.

Transparency log

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

Download URL mirrordash_sdk-0.7.0-py3-none-any.whl
Size 33.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
393c31ceb0783bbde6be7d7cb17ec6c0ccca34d2bc4cc8fa0a14c455b233cd29
BLAKE2b-256 checksum
How to use checksums
bc7d930abc44c8225e1f519790a444afaf47f0aed38af0c258827b5d90341d3d
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 Oct 28, 2026.

Transparency log

Security for mirrordash-sdk 0.7.0

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.7.0.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 Oct 28, 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