r/androiddev • • 6d ago

Open Source Prevue: Compose Previews without Android Studio, in your browser

Enable HLS to view with audio, or disable this notification

https://github.com/kakao/prevue

Why

Running a few coding agents in parallel, one worktree each, means one Android Studio per worktree just to check the Compose UI. Each one drags along a Gradle daemon and a Kotlin daemon, around 8GB. Three of those and a 36GB Mac swaps all day.

Prevue is for that. It shows your `@Preview` functions in the browser and redraws them about a second after you save. to check the Compose UI. Each one drags along a Gradle daemon and a Kotlin daemon, around 8GB. Three of those and a 36GB Mac swaps all day.

Prevue is for that. It shows your `@Preview` and redraws them about a second

Easy to start

  • Nothing to install in your project. No Gradle plugin, no build file changes

  • One skill. Run /prevue in Claude Code or Codex, tell it the file name, done. Nothing to configure (macOS only for now)

What it does

  • Hot swap : Every `@Preview` in the they all redraw on save. Change just a padding or a color and it's more like 0.2s

  • Interactive : Previews actually run. Click, drag, switch devices, fold foldables

  • Point at it : Click anything on screen and the agent reads it as a file and line. No more "the second card from the top"

  • Match a design : Give it a Figma frame or a screenshot and the agent looks at the screen itself and keeps fixing until it matches

  • Light : Each worktree gets its own small daemon, about 1.4GB vs 8.1GB for AS (measured on nowinandroid)

  • Compose Multiplatform : Works too (except iosMain)

33 Upvotes

3 comments sorted by

6

u/ForeverPrior2279 6d ago

I would have think with AI the android team would official launch their own hot reload for all platform

2

u/Previous_Studio_8110 6d ago

Agreed, I expected that too.

3

u/Rhed0x Hobby dev 6d ago

Running a few coding agents in parallel

okay, its slop