Skip to content
r.

metro

ZacSweers/metro · Public GitHub repository

A multiplatform, compile-time dependency injection framework for Kotlin

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

metro live demo screenshot
Captured from the live demo · 2026-11-23

About this project

Author-written excerpt from the project README.

A compile-time dependency injection framework for Kotlin Multiplatform, powered by a Kotlin compiler plugin.

Metro is a compile-time dependency injection framework that combines the best of Dagger, Anvil, and kotlin-inject into one cohesive solution.

Requirements and intended audience

A compile-time dependency injection framework for Kotlin Multiplatform, powered by a Kotlin compiler plugin.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-26. Source: https://github.com/ZacSweers/metro/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-23. Saved release: 1.4.5 · 2026-09-24. These dates do not guarantee ongoing maintenance.

Technologies
Kotlin
Licence
Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories