This release is a pre-release and may not be stable for production use.
Advanced example showing how to control an external application from the Rerun viewer, by extending the viewer UI.
[!NOTE] #2337: In order to spawn a web viewer with these customizations applied, you have to build the web viewer of the version yourself. This is currently not supported outside of the Rerun repository.
Overview
This example is divided into two parts:
- Viewer (
src/viewer.rs): Wraps the Rerun viewer inside aneframeapp. - App (
src/app.rs): The application that uses the Rerun SDK.
In the app, an additional gRPC server is opened to allow the viewer to send messages to the app.
Similar to the extend_viewer_ui example, the viewer is wrapped in an eframe app, which allows us to handle the extra communication logic and define our own control UI using egui.
The communication between the viewer and the app is implemented in the comms module. It defines a simple protocol to send messages between the viewer and the app using bincode.
The protocol supports basic commands that the viewer can send to the app, such as logging a Boxes3D or Point3D to an entity, or changing the radius of a set of points that is being logged.
Usage
First start the Rerun SDK app with cargo run -p custom_callback --bin custom_callback_app,
and then start the extended viewer with cargo run -p custom_callback --bin custom_callback_viewer.
Relationship with Viewer callbacks
The [re_viewer] crate also exposes some baseline Viewer events through the StartupOptions.on_event field,
which can exist alongside your own events from widgets added by extending the UI.
Release files for dimos-viewer 0.32.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 376.1 MB
Release files / dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 44.8 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a32c39c8cc8e9a03f2cc9d8446e7d49a132692f833cbd7277c185f171ede614
|
|
BLAKE2b-256 checksum How to use checksums |
2e15b38b583cdf07082d58ca33500343da8153d7859133e2c924922873364c42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | dimos_viewer-0.32.0a2-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 42.3 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
4f22e03a6c1290911c467723407c5ed8fd189a4c6447d32647feb706b87dc727
|
|
BLAKE2b-256 checksum How to use checksums |
f360f48f22a1ab1a8208d9cc6892ceb37c74baf80859be7f3c75e76a3e082ddf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | dimos_viewer-0.32.0a2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 38.3 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bdeb607ffef680d1e56dcdf5cd7c11eca148dbb2e957cbd43b8642efe0857d3a
|
|
BLAKE2b-256 checksum How to use checksums |
5cd19582095e8b2fdc8708afe3e9e4b9bfaba925c7d53ede8e675bf556bdd593
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 44.8 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c13479d8266606b1e7dcf1296d091b229374a83d84ba16849b2bbd830413ed5f
|
|
BLAKE2b-256 checksum How to use checksums |
8eb115d3579109ee6b6f8aa93642340eced7c444849433fc04ed0c3715f963ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | dimos_viewer-0.32.0a2-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 42.3 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
1d44158e854109c48c243640d8a88cc2eced3c5bcd1932b93080252e45de4ca6
|
|
BLAKE2b-256 checksum How to use checksums |
046768a3bab1a817a9f143f7f50355afb93c45d999814f386c3a0c7c7cd6becc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | dimos_viewer-0.32.0a2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 38.3 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f284e5d9271334c93190c64d6eff7fd4addc5f1ad19c3598f1976a93e3ff85fd
|
|
BLAKE2b-256 checksum How to use checksums |
daae159ff85671a4f13d683ed181ab2d917747a7cc837b7aa81a9b32a4aaad19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 44.8 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c38af675e708494aad8d66b4a7a35974633400d897e4dd73f9dba8562c04282a
|
|
BLAKE2b-256 checksum How to use checksums |
492ab413d4f86bc306dd26f6ee1206cc3f4f0df6e3f9e9ec2a4d20ec5824d616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | dimos_viewer-0.32.0a2-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 42.3 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
f75f72d39c8cde15ebb17e3edefca3523992d3991ec44f54fb004840ba077f7e
|
|
BLAKE2b-256 checksum How to use checksums |
5dca3c610ccb10c334e06b40c8d0894801323dbebd506746011c989cd0473b20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency logRelease files / dimos_viewer-0.32.0a2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | dimos_viewer-0.32.0a2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 38.3 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
22281f7db2d4524710f3bb68a68a75e7017868b9d4fd4a58673876afcff2e3d9
|
|
BLAKE2b-256 checksum How to use checksums |
2c57df6e81ca83379e264a63bb87fc9fceb3dc7e445300ac8655756be3619ec5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 22, 2026.
Transparency log