Open-source framework for rapid development of modern, interoperable digital health applications.

What's New



What's Changed

  • Support iteration in builtin SharedRepository implementations by @Supereg in #81

Full Changelog: 0.7.1...0.7.2


Build and Test codecov DOI

An open-source framework for the rapid development of modern, interoperable digital health applications.

For more information, please refer to the API documentation.

The Spezi Architecture

Spezi introduces a standards-based modular approach to building digital health applications. A 'Standard' defines the key component that orchestrates the data flow in the application by meeting requirements defined by components. You can learn more about the 'Standard' protocol and when it is advised to create your own standard in your application in the doc:Standard documentation.

A 'Component' defines a software subsystem providing distinct and reusable functionality. Components can use the constraint mechanism to enforce a set of requirements to the standard used in the Spezi-based software where the component is used. Components also define dependencies on each other to reuse functionality and can communicate with other components by offering and collecting information. They can also conform to different additional protocols to provide additional access to Spezi features, such lifecycle management and triggering view updates in SwiftUI using the observable mechanisms in Swift. You can learn more about components in the doc:Component documentation.

To simplify the creation of components, a common set of functionalities typically used by components is summarized in the 'Module' protocol, making it an easy one-stop solution to support all these different functionalities and build a capable Spezi module.

Note: Spezi relies on an ecosystem of modules. Think about what modules you want to build and contribute to the open-source community! Refer to 'Component' and 'Module' documentation to learn more about building your modules.

You can find a list of modules and reusable Swift Packages offered by the Spezi team at Stanford at https://swiftpackageindex.com/StanfordSpezi. Learn more about Spezi at https://spezi.stanford.edu. Reach out to us on social media and use the Stanford Spezi Discussion Forum to ask any Spezi-related questions or share the projects you built with Spezi.

Check out the Stanford Biodesign Digital Health Group GitHub organization, for example, applications built with Spezi and some of our related open-source and research projects.

The API documentation includes a selector to switch between the different Swift Package Manager Targets, allowing you to explore the different modules that are included in the Spezi repository.

The Spezi Template Application

The Spezi Template Application provides a great starting point and example about using the different Spezi modules.


Contributions to this project are welcome. Please make sure to read the contribution guidelines and the contributor covenant code of conduct first.


This project is licensed under the MIT License. See Licenses for more information.

Spezi Footer Spezi Footer


  • Swift Tools 5.8.0
View More Packages from this Author


Last updated: Fri Sep 29 2023 12:06:54 GMT-0900 (Hawaii-Aleutian Daylight Time)