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.6.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.6.0
File Size Uploaded Provenance Actions
mirrordash_sdk-0.6.0.tar.gz 53.4 kB With provenance Details for mirrordash_sdk-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 84.7 kB

Release files / mirrordash_sdk-0.6.0.tar.gz

Download URL mirrordash_sdk-0.6.0.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a0739b5a6d0ad8357d2107f15a020ef5ee8fb84721b58cebbc1b4527c45da133
BLAKE2b-256 checksum
How to use checksums
b5782e6742bc5e71448d69170f241d9e7920cc60fc6300a2da2b4b265e60793f
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 27, 2026.

Transparency log

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

Download URL mirrordash_sdk-0.6.0-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8e87d93738e5c6b84c14e92a8959c1af74686a606be4862362323ddf77735b1
BLAKE2b-256 checksum
How to use checksums
f0bb985888c690e4c345e37a91062b008ec93d092717e70105af29de85ead384
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 27, 2026.

Transparency log

Security for mirrordash-sdk 0.6.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.6.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 27, 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