<?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: ADEM MUHAMMED ERDAM</title>
    <description>The latest articles on DEV Community by ADEM MUHAMMED ERDAM (@adam0307a).</description>
    <link>https://dev.to/adam0307a</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%2F4270958%2F2863f4fc-57ea-4583-9921-a3f31759847e.png</url>
      <title>DEV Community: ADEM MUHAMMED ERDAM</title>
      <link>https://dev.to/adam0307a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adam0307a"/>
    <language>en</language>
    <item>
      <title>I Replaced WebView2 with Native Rust + OpenGL 3.3 in My Open-Source Wallpaper Engine (Saved ~1.5 GB RAM)</title>
      <dc:creator>ADEM MUHAMMED ERDAM</dc:creator>
      <pubDate>Sat, 28 Nov 2026 15:21:19 +0000</pubDate>
      <link>https://dev.to/adam0307a/i-replaced-webview2-with-native-rust-opengl-33-in-my-open-source-wallpaper-engine-saved-15-gb-4jj8</link>
      <guid>https://dev.to/adam0307a/i-replaced-webview2-with-native-rust-opengl-33-in-my-open-source-wallpaper-engine-saved-15-gb-4jj8</guid>
      <description>&lt;p&gt;Most live wallpaper engines either cost money, lock themes behind a workshop, or spin up an embedded Chromium/WebView2 browser that quietly eats 1.5–2 GB of RAM in the background.&lt;/p&gt;

&lt;p&gt;I wanted something completely free, open-source (&lt;strong&gt;GPL-3.0&lt;/strong&gt;), cross-platform, and lightweight — with one twist: &lt;strong&gt;wallpapers that actually know where your desktop icons are and react around them in real time.&lt;/strong&gt;&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/adam0307a" rel="noopener noreferrer"&gt;
        adam0307a
      &lt;/a&gt; / &lt;a href="https://github.com/adam0307a/DiyarDesk" rel="noopener noreferrer"&gt;
        DiyarDesk
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Free, open-source adaptive desktop wallpaper engine powered by native Rust + OpenGL 3.3 (0 WebView2, low RAM). Reacts to desktop icons on Windows, Linux, macOS &amp;amp; Android Tablets (GPL-3.0).
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;DiyarDesk&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Adaptive desktop wallpaper engine that makes your desktop icons part of the scenery — powered by a zero-WebView2 native Rust + OpenGL 3.3 Core engine.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/adam0307a/DiyarDesk/releases/latest" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/4f607b31fc1d3dd6df488ccf90171208261cce3a0584ec9ed2ab0fe5b7ae8b5d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6164616d30333037612f44697961724465736b3f6c6162656c3d52656c6561736526636f6c6f723d316661353961" alt="Latest Release"&gt;&lt;/a&gt;
&lt;a href="https://github.com/adam0307a/DiyarDesk/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/29767944a17a78e04282068c7781855f577ea4848f7c9cbc356c392a75fd49f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c2d2d332e302d626c75652e737667" alt="License: GPL-3.0"&gt;&lt;/a&gt;
&lt;a href="https://github.com/adam0307a/DiyarDesk#native-rust--opengl-33-mode-zero-webview2" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/3e736b76a3b04c372291f512117724479d457645c0052c749d6cd402bd17e04d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456e67696e652d527573742532302532422532304f70656e474c253230332e332d6f72616e67652e737667" alt="Engine: Rust + OpenGL 3.3"&gt;&lt;/a&gt;
&lt;a href="https://github.com/adam0307a/DiyarDesk#included-themes-38-built-in" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/1fde44cc2d8e0633e686525b6637b31eeb77b09923861847e825ff338f27343c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c742d2d696e2532305468656d65732d3338253230467265652d3265613434662e737667" alt="Themes: 38 Free"&gt;&lt;/a&gt;
&lt;a href="https://github.com/adam0307a/DiyarDesk#quick-install--download" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/998a41cebba89dbdc8ed944704bd49e7c1b6dc039a5cb682615292c54ff081ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506c6174666f726d732d57696e2532302543322542372532304c696e75782532302543322542372532306d61634f532532302543322542372532305461626c65742d3665353663662e737667" alt="Platforms"&gt;&lt;/a&gt;
&lt;a href="https://github.com/adam0307a/DiyarDesk#features" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/478c6ec3e94b66ba3765c3749e39876f60bf46beb714a542f5dc351f6cd59132/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656d657472792d5a65726f2532302543322542372532303130302532352532304f66666c696e652d3166366665622e737667" alt="Privacy: Zero Telemetry"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;English&lt;/strong&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#t%C3%BCrk%C3%A7e" rel="noopener noreferrer"&gt;Türkçe&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk/releases/latest" rel="noopener noreferrer"&gt;Download (v0.5.7)&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#why-diyardesk-comparison" rel="noopener noreferrer"&gt;Why DiyarDesk?&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#native-rust--opengl-33-mode-zero-webview2" rel="noopener noreferrer"&gt;Rust OpenGL Mode&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#included-themes-38-built-in" rel="noopener noreferrer"&gt;38 Themes&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#linux-setup" rel="noopener noreferrer"&gt;Linux&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#windows-build" rel="noopener noreferrer"&gt;Windows&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#macos-build" rel="noopener noreferrer"&gt;macOS&lt;/a&gt; · &lt;a href="https://github.com/adam0307a/DiyarDesk#android-tablets-sw600dp" rel="noopener noreferrer"&gt;Android Tablets&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/adam0307a/DiyarDesk/docs/images/showcase-hero.webp"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fadam0307a%2FDiyarDesk%2FHEAD%2Fdocs%2Fimages%2Fshowcase-hero.webp" alt="DiyarDesk — Adaptive Wallpaper Showcase"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;DiyarDesk turns the space around your desktop icons into a living interactive landscape on &lt;strong&gt;Windows&lt;/strong&gt;, &lt;strong&gt;Linux&lt;/strong&gt; (KDE Plasma 6, GNOME, COSMIC, X11, wlroots Wayland), &lt;strong&gt;macOS&lt;/strong&gt;, and &lt;strong&gt;Android Tablets (&lt;code&gt;sw600dp+&lt;/code&gt;)&lt;/strong&gt;. Move, add, or remove an icon and paper-cut arches, snowdrifts, dunes, clouds, aurora glow, AI mascots, or ocean waves reshape smoothly around it — locally in real time, without cloud accounts, paywalls, or telemetry.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Upstream attribution:&lt;/strong&gt; DiyarDesk is an independent community fork based on &lt;a href="https://deskland.app" rel="nofollow noopener noreferrer"&gt;Deskland&lt;/a&gt; (&lt;code&gt;GPL-3.0&lt;/code&gt;), using its own product name (&lt;strong&gt;DiyarDesk&lt;/strong&gt;) and original icon, with no official affiliation or endorsement…&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/adam0307a/DiyarDesk" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fibhud1j5y2rpouw2nlmy.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fibhud1j5y2rpouw2nlmy.webp" alt="DiyarDesk Feature Showcase" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What Makes DiyarDesk Different?
&lt;/h2&gt;

&lt;p&gt;Instead of playing a passive video loop behind your icons, DiyarDesk reads your desktop icon bounding rectangles and feeds them into the active scene:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clouds, shadows, snow clearings, blooming flowers, sand dunes, and shader fields &lt;strong&gt;adapt dynamically&lt;/strong&gt; as you drag icons around your desktop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;38 free built-in themes&lt;/strong&gt; — ranging from ink-and-wash meadows, aurora fjords, and waving cloth physics to real-time &lt;strong&gt;ASCII GLSL shaders&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in custom importer&lt;/strong&gt; — drop in your own &lt;code&gt;.mp4&lt;/code&gt;/&lt;code&gt;.webm&lt;/code&gt; videos, images, single &lt;code&gt;.html&lt;/code&gt; pages, or &lt;code&gt;.zip&lt;/code&gt;/&lt;code&gt;.deskland&lt;/code&gt; theme packages locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;4 platforms&lt;/strong&gt; — Windows, Linux (X11, Wayland &lt;code&gt;wlr-layer-shell&lt;/code&gt;, and native KDE Plasma 6 plugin), macOS, and Android Tablets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero accounts, zero telemetry, zero paywalls&lt;/strong&gt;, and automatic fullscreen pause when you game or watch videos.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F91wegiviuny7yqje7dlw.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F91wegiviuny7yqje7dlw.webp" alt="Icon-reactive live wallpaper demo" width="760" height="428"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why I Moved From WebView2 to Native Rust + OpenGL 3.3
&lt;/h2&gt;

&lt;p&gt;DiyarDesk originally started with HTML5/Canvas/WebGL scenes running inside WebView2 / WebKit. That made prototyping fast, but keeping a browser engine alive just to render a desktop background came with a steep memory cost.&lt;/p&gt;

&lt;p&gt;So I built a native &lt;strong&gt;Rust + OpenGL 3.3 Core&lt;/strong&gt; renderer (&lt;code&gt;native/diyardesk-gl&lt;/code&gt; compiled to &lt;code&gt;diyardesk_gl.dll&lt;/code&gt; / &lt;code&gt;.so&lt;/code&gt; / &lt;code&gt;.dylib&lt;/code&gt;) and ported the theme suite to run natively with &lt;strong&gt;0 WebView2 processes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is what Windows Task Manager measured on the exact same machine:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mode&lt;/th&gt;
&lt;th&gt;Breakdown&lt;/th&gt;
&lt;th&gt;Total RAM&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;WebView2 Mode&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;647 MB&lt;/code&gt; (DiyarDesk) + &lt;code&gt;1,485 MB&lt;/code&gt; (&lt;code&gt;Edge WebView2&lt;/code&gt;, 18 processes)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;2,132 MB&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Native Rust + OpenGL 3.3&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;605 MB&lt;/code&gt; total · &lt;code&gt;0 WebView2&lt;/code&gt; (even with Settings open)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;605 MB (~1.5 GB / 72% less)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You also get a toggle in the settings UI to turn off the live preview iframe when you don't need it, keeping idle memory footprint even lower.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsjv6vaah450vi56ejimw.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsjv6vaah450vi56ejimw.webp" alt="DiyarDesk Settings UI" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  A Few Interesting Engineering Bits
&lt;/h2&gt;

&lt;p&gt;If you're into desktop graphics or systems programming, here were the trickiest parts to get right:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Windows &lt;code&gt;WorkerW&lt;/code&gt; &amp;amp; Virtual Desktops&lt;/strong&gt; — Parenting an OpenGL 3.3 surface behind desktop icons without breaking taskbar z-order or duplicating renderers across multiple Windows Virtual Desktops (the engine keeps a single shared renderer instead of scaling RAM linearly per virtual desktop).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-time Icon Geometry Pipeline&lt;/strong&gt; — Collecting icon coordinates across Windows Explorer, Linux (GVfs/Xfce/KDE Plasma IconSpy), macOS, and Android tablets, then pushing compact bounding rects to the Rust GPU shaders with monotonic revision invalidation (&lt;code&gt;rev: u64&lt;/code&gt;) so static caches never thrash.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keeping Both Worlds Alive&lt;/strong&gt; — Native Rust + OpenGL 3.3 is now the primary engine, while HTML/Canvas support remains optional so users can still import any custom web/video/image wallpaper with one click.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Try It Out (Free &amp;amp; GPL-3.0)
&lt;/h2&gt;

&lt;p&gt;Prebuilt installers and packages for &lt;strong&gt;Windows (&lt;code&gt;.exe&lt;/code&gt;)&lt;/strong&gt;, &lt;strong&gt;Linux (&lt;code&gt;.deb&lt;/code&gt;, Arch, &lt;code&gt;.tar.gz&lt;/code&gt;)&lt;/strong&gt;, &lt;strong&gt;macOS (&lt;code&gt;.dmg&lt;/code&gt;)&lt;/strong&gt;, and &lt;strong&gt;Android Tablets (&lt;code&gt;.apk&lt;/code&gt;)&lt;/strong&gt; are available on the latest release:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repo:&lt;/strong&gt; &lt;a href="https://github.com/adam0307a/DiyarDesk" rel="noopener noreferrer"&gt;https://github.com/adam0307a/DiyarDesk&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latest Release (&lt;code&gt;v0.5.7&lt;/code&gt;):&lt;/strong&gt; &lt;a href="https://github.com/adam0307a/DiyarDesk/releases/tag/v0.5.7" rel="noopener noreferrer"&gt;https://github.com/adam0307a/DiyarDesk/releases/tag/v0.5.7&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm not monetizing this — I just spent a lot of time building it and would love for people to try it, break it, suggest themes, or open issues/PRs. Feedback on Linux Wayland/KDE setups, macOS, or the Rust OpenGL shaders is especially welcome!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>rust</category>
      <category>opensource</category>
      <category>opengl</category>
    </item>
  </channel>
</rss>
