PrintDoc – Embed Compose Previews Anywhere
Turn Jetpack Compose previews into embeddable web scripts for docs and blogs
- Problem
- Android developers struggle to embed Compose previews in docs, blogs, or websites; current workarounds involve manual screenshots, screen recordings, or complex setups that are hard to maintain and non-interactive.
- Solution
- A CLI / Gradle plugin that compiles @Composable @Preview into an embeddable <script> tag; the output stays interactive and can be pasted into any static site or documentation.
- Users
- Android developers, technical bloggers, open-source library authors, documentation teams
- MVP
- Scan for Compose Preview annotations; generate embeddable JS scripts; provide simple configuration; support light/dark theme toggle; output to a target directory
- Revenue
- Open-source core with a Pro tier for private repo hosting, team collaboration, and custom domain embeds, billed annually
- Why now
- Compose is now the mainstream Android UI framework, yet sharing previews is still fragmented; indie developers can build a small but polished tool quickly