<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: GALAL ALDEEN  ABAS</title>
    <description>The latest articles on DEV Community by GALAL ALDEEN  ABAS (@jalal591).</description>
    <link>https://dev.to/jalal591</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4207695%2F5330fc6c-5bfc-4c43-8ae2-4a366911ed63.jpg</url>
      <title>DEV Community: GALAL ALDEEN  ABAS</title>
      <link>https://dev.to/jalal591</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jalal591"/>
    <language>en</language>
    <item>
      <title>I built an open-source tool to edit Jetpack Compose on-device via AST mutations (No Gradle rebuilds)</title>
      <dc:creator>GALAL ALDEEN  ABAS</dc:creator>
      <pubDate>Mon, 26 Oct 2026 04:54:53 +0000</pubDate>
      <link>https://dev.to/jalal591/i-built-an-open-source-tool-to-edit-jetpack-compose-on-device-via-ast-mutations-no-gradle-3g1a</link>
      <guid>https://dev.to/jalal591/i-built-an-open-source-tool-to-edit-jetpack-compose-on-device-via-ast-mutations-no-gradle-3g1a</guid>
      <description>&lt;p&gt;Every Android developer knows the frustration of the iteration loop in Jetpack Compose. While &lt;strong&gt;Live Edit&lt;/strong&gt; has improved, it remains volatile—your changes disappear the moment the process restarts. On the other hand, triggering a full Gradle build just to tweak padding, colors, or layout hierarchy eats up minutes of valuable engineering time.&lt;/p&gt;

&lt;p&gt;To solve this, I built &lt;strong&gt;ComposeBridge&lt;/strong&gt;—an open-source system that decouples UI tuning from your physical workstation and turns your actual device into a live AST code controller.&lt;/p&gt;




&lt;h3&gt;
  
  
  🛠 How It Works Under the Hood
&lt;/h3&gt;

&lt;p&gt;ComposeBridge isn't just an in-memory preview swapper. It applies permanent, compile-ready modifications:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;AST-Guided Source Mutation:&lt;/strong&gt; When you adjust a UI token or modifier on your physical device, the operational delta is sent back to your host machine over an encrypted tunnel. A headless background daemon uses &lt;strong&gt;Tree-sitter&lt;/strong&gt; to parse the Kotlin source tree, locate the exact Composable call site, and safely mutate the source file directly on disk.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual Diff &amp;amp; Granular Rollbacks:&lt;/strong&gt; Every file modified by the remote client is buffered. You can review color-coded visual diffs directly on your phone and tap &lt;code&gt;[Accept All / Rollback]&lt;/code&gt; to ensure code integrity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remote Over-The-Air (OTA) Builds:&lt;/strong&gt; When you're ready for a full run, trigger a headless Gradle build remotely. The progress is streamed back to your phone, and the compiled APK is pushed and installed over-the-air.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Context Protocol (MCP) Server:&lt;/strong&gt; Features a built-in MCP server exposing 27 tools, allowing external AI coding agents to inspect the AST, analyze tokens, and perform autonomous refactoring loops.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  🎁 Free Lifetime Pro License for Early Beta Testers
&lt;/h3&gt;

&lt;p&gt;I am actively looking for &lt;strong&gt;Android / Compose engineers&lt;/strong&gt; to test the integration and provide architectural feedback on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AST mutation safety in complex codebases.&lt;/li&gt;
&lt;li&gt;Latency and stability during OTA build delivery.&lt;/li&gt;
&lt;li&gt;Developer experience across different screen sizes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;In exchange for your feedback, I am offering a Free Lifetime Pro License&lt;/strong&gt; to the first 50 developers who test the plugin!&lt;/p&gt;




&lt;h3&gt;
  
  
  🚀 Get Started
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;📦 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/JALAL591/compose-bridge" rel="noopener noreferrer"&gt;JALAL591/compose-bridge&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔌 &lt;strong&gt;JetBrains Marketplace Plugin:&lt;/strong&gt; &lt;a href="https://plugins.jetbrains.com/plugin/35226-composebridge" rel="noopener noreferrer"&gt;ComposeBridge on Marketplace&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Give it a run on your setup, and let me know your thoughts or report any edge cases in the comments below!&lt;br&gt;
&lt;a href="https://github.com/JALAL591/compose-bridge[](&lt;br&gt;%0A![%20](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/hh9x1vzs1rplpgdy3ppd.jpg))" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ry99qn9fsy6z2dbmln2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ry99qn9fsy6z2dbmln2.jpg" alt=" " width="800" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>android</category>
      <category>kotlin</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
