<?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: Oleg Che</title>
    <description>The latest articles on DEV Community by Oleg Che (@oleg_che_e5f5713b4bf33876).</description>
    <link>https://dev.to/oleg_che_e5f5713b4bf33876</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%2F4215507%2F2d123b54-17f1-407c-8364-365a1417ae04.jpg</url>
      <title>DEV Community: Oleg Che</title>
      <link>https://dev.to/oleg_che_e5f5713b4bf33876</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/oleg_che_e5f5713b4bf33876"/>
    <language>en</language>
    <item>
      <title>I built a Windows app that runs Silero, XTTS-v2 and F5-TTS locally: sizes, speeds and the gotchas</title>
      <dc:creator>Oleg Che</dc:creator>
      <pubDate>Fri, 13 Nov 2026 12:35:45 +0000</pubDate>
      <link>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-windows-app-that-runs-silero-xtts-v2-and-f5-tts-locally-sizes-speeds-and-the-gotchas-2a05</link>
      <guid>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-windows-app-that-runs-silero-xtts-v2-and-f5-tts-locally-sizes-speeds-and-the-gotchas-2a05</guid>
      <description>&lt;p&gt;I often need to voice a script, and online text-to-speech services with a free character limit and a subscription after it got old. A modern GPU runs neural speech synthesis happily, so I built a small desktop wrapper around it: &lt;a href="https://github.com/OlegChe77/glasvo" rel="noopener noreferrer"&gt;Glasvo&lt;/a&gt;. A tkinter window with three engines: Silero, Microsoft Edge voices and voice cloning (XTTS-v2 and F5-TTS). MIT licensed, Windows 10/11.&lt;/p&gt;

&lt;p&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%2Fdzcxluv53hjkndl2gc69.png" 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%2Fdzcxluv53hjkndl2gc69.png" alt="Glasvo: the Silero page" width="800" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It was made first of all for Russian, but English works too (118 English Silero voices, English XTTS and F5 cloning). Here is what it costs in disk, memory and time, and the things that bit me.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it needs
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Download&lt;/td&gt;
&lt;td&gt;about 8 MB zip (the installer fetches the rest)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;After install&lt;/td&gt;
&lt;td&gt;about 5.5 GB: Python 3.12, PyTorch 2.5.1 (CUDA 12.1) and 168 packages, all inside the app folder&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Silero models&lt;/td&gt;
&lt;td&gt;40–140 MB each (v5_ru 139 MB), downloaded on first use&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;XTTS-v2&lt;/td&gt;
&lt;td&gt;2.0 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F5-TTS (Russian checkpoint + vocos)&lt;/td&gt;
&lt;td&gt;1.4 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Whisper small (sample transcription for F5)&lt;/td&gt;
&lt;td&gt;0.9 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Everything&lt;/td&gt;
&lt;td&gt;about 10 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPU&lt;/td&gt;
&lt;td&gt;optional for Silero and Edge. XTTS/F5 need NVIDIA: measured peak 2 GB of VRAM on an RTX 3070 (8 GB), 6 GB+ recommended&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RAM&lt;/td&gt;
&lt;td&gt;about 1.2 GB with Silero, about 3 GB with XTTS/F5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Measured on the same 285-character Russian paragraph (about 18 seconds of speech), RTX 3070, after warm-up:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Engine&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;Model load&lt;/th&gt;
&lt;th&gt;Peak VRAM&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Silero v5_ru, GPU&lt;/td&gt;
&lt;td&gt;0.08 s&lt;/td&gt;
&lt;td&gt;fast&lt;/td&gt;
&lt;td&gt;242 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Silero v5_ru, CPU&lt;/td&gt;
&lt;td&gt;0.53 s&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;XTTS-v2&lt;/td&gt;
&lt;td&gt;5 s for 18.7 s of audio&lt;/td&gt;
&lt;td&gt;13 s&lt;/td&gt;
&lt;td&gt;2019 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;F5-TTS&lt;/td&gt;
&lt;td&gt;4.4 s for 17.3 s of audio&lt;/td&gt;
&lt;td&gt;4 s&lt;/td&gt;
&lt;td&gt;1999 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are single runs on one machine, not a benchmark, but the order of magnitude is clear: Silero is hundreds of times faster than real time, cloning a few times.&lt;/p&gt;

&lt;h2&gt;
  
  
  Silero details
&lt;/h2&gt;

&lt;p&gt;Silero models are &lt;code&gt;torch.package&lt;/code&gt; archives. PyTorch refuses to open a path with Cyrillic characters, and users' folders can be anything, so I pass a file object:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"rb"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;PackageImporter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load_pickle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"tts_models"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;torch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;device&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"cuda"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# or "cpu"&lt;/span&gt;
&lt;span class="n"&gt;wav&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;apply_tts&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;speaker&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"xenia"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sample_rate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;48000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                      &lt;span class="n"&gt;put_accent&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;put_yo&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Speed and pitch go through SSML (&lt;code&gt;&amp;lt;prosody rate= pitch=&amp;gt;&lt;/code&gt;), and a chunk should stay under about 700 characters, so long text is split at sentence boundaries and joined with a pause.&lt;/p&gt;

&lt;p&gt;The nasty surprise: Silero's Russian models silently skip digits and drop Latin letters. You get gaps, not errors. Two functions run before the model: &lt;code&gt;expand_numbers&lt;/code&gt; (built on &lt;code&gt;num2words&lt;/code&gt;) turns &lt;code&gt;2026&lt;/code&gt; into words, and &lt;code&gt;latin_to_cyrillic&lt;/code&gt; handles Latin text in three levels: a dictionary for common words (&lt;code&gt;YouTube&lt;/code&gt; becomes «ютуб»), letter-by-letter for ALL CAPS and vowel-less tokens (&lt;code&gt;USB&lt;/code&gt; becomes «ю-эс-би»), transliteration for the rest. I checked it by synthesizing test phrases and recognizing them back with Whisper.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloning
&lt;/h2&gt;

&lt;p&gt;The sample goes through ffmpeg (taken from &lt;code&gt;imageio-ffmpeg&lt;/code&gt;, so no system ffmpeg is needed) to mono 24 kHz wav, written to a temp file and moved with &lt;code&gt;os.replace&lt;/code&gt;, so a bad file can't corrupt the previous sample. XTTS-v2 has a limit of about 182 characters per Russian chunk, so chunks are 170. F5 needs the reference text, so Whisper small transcribes the sample locally and then unloads to free VRAM.&lt;/p&gt;

&lt;p&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%2Fbq8bmiigfaaowo7bcqy4.png" 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%2Fbq8bmiigfaaowo7bcqy4.png" alt="Voice cloning page" width="800" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My check: use a Silero voice as the "sample", have XTTS and F5 read a text with it, transcribe the result with Whisper and compare the words. 100% match for both.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dependency hell
&lt;/h2&gt;

&lt;p&gt;Cloning (coqui-tts, f5-tts, transformers) pulls in so much that resolvers choke. What is pinned: &lt;code&gt;torch==2.5.1+cu121&lt;/code&gt; (transformers 5 and diffusers 0.43 need torch 2.6+), &lt;code&gt;transformers&amp;lt;5&lt;/code&gt;, &lt;code&gt;huggingface_hub&amp;lt;1.0&lt;/code&gt;, and &lt;code&gt;omegaconf==2.3.1&lt;/code&gt; (hydra needs it for F5). &lt;code&gt;pip check&lt;/code&gt; complains about f5-tts pins, which is fine. &lt;code&gt;requirements.txt&lt;/code&gt; is an exact &lt;code&gt;pip freeze&lt;/code&gt; of the working environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing for people without Python
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;install.bat&lt;/code&gt; runs &lt;code&gt;install.ps1&lt;/code&gt;, which downloads &lt;code&gt;uv&lt;/code&gt;, installs Python 3.12 into the app folder, creates a venv and runs &lt;code&gt;uv pip install --no-deps -r requirements.txt&lt;/code&gt;. Without an NVIDIA GPU it swaps torch &lt;code&gt;+cu121&lt;/code&gt; for &lt;code&gt;+cpu&lt;/code&gt;. The uv cache lives in a short temp path, because &lt;code&gt;antlr4&lt;/code&gt; failed to build in a deep folder. Models are not in the zip: they are downloaded on first use with &lt;code&gt;huggingface_hub.snapshot_download&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The app updates itself: on start it reads &lt;code&gt;releases/latest&lt;/code&gt; from GitHub, downloads &lt;code&gt;Glasvo.zip&lt;/code&gt; and copies files over the old ones except &lt;code&gt;settings.json&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Small things
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Under &lt;code&gt;pythonw&lt;/code&gt;, &lt;code&gt;sys.stdout&lt;/code&gt; is &lt;code&gt;None&lt;/code&gt; and tqdm/print crash. I put &lt;code&gt;devnull&lt;/code&gt; there.&lt;/li&gt;
&lt;li&gt;Background threads must not touch tkinter. Everything goes through a queue that the main thread drains on a timer.&lt;/li&gt;
&lt;li&gt;The mouse wheel over a &lt;code&gt;ttk.Combobox&lt;/code&gt; changes its value; I intercept it.&lt;/li&gt;
&lt;li&gt;Ctrl+C/V/X/A with a Russian keyboard layout: match by keycode.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Licences
&lt;/h2&gt;

&lt;p&gt;Code is MIT. Most models are non-commercial: Silero and the Russian F5-TTS are CC BY-NC 4.0, XTTS-v2 uses the Coqui Public Model License. Check them before using audio in monetized videos, and clone only your own voice or one whose owner agreed.&lt;/p&gt;

&lt;p&gt;Download: &lt;a href="https://github.com/OlegChe77/glasvo/releases/latest/download/Glasvo.zip" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/glasvo/releases/latest/download/Glasvo.zip&lt;/a&gt;&lt;br&gt;
Source: &lt;a href="https://github.com/OlegChe77/glasvo" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/glasvo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>python</category>
      <category>ai</category>
    </item>
    <item>
      <title>I built a mascot that pops up when Claude Code is waiting for my answer (Electron, hooks, Windows notifications)</title>
      <dc:creator>Oleg Che</dc:creator>
      <pubDate>Tue, 10 Nov 2026 14:57:50 +0000</pubDate>
      <link>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-mascot-that-pops-up-when-claude-code-is-waiting-for-my-answer-electron-hooks-windows-1a18</link>
      <guid>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-mascot-that-pops-up-when-claude-code-is-waiting-for-my-answer-electron-hooks-windows-1a18</guid>
      <description>&lt;p&gt;I often give Claude Code a long task and switch to another window. Ten minutes later I find out it has been stuck on a "can I run this command?" prompt the whole time. The Windows toast did show up, for about five seconds, while I was looking elsewhere.&lt;/p&gt;

&lt;p&gt;I didn't want a timer, I wanted something I can't miss. So I built &lt;a href="https://github.com/OlegChe77/claude-mascot" rel="noopener noreferrer"&gt;Mascot&lt;/a&gt;: a small orange guy who peeks out of the bottom-right corner of the screen when Claude is waiting for you. If you ignore him, he comes out, turns red and stomps along the taskbar.&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%2Ff3nrpbfmmecmd2sif5i1.gif" 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%2Ff3nrpbfmmecmd2sif5i1.gif" alt="The mascot peeks out of the corner" width="640" height="253"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's free, open source (MIT), Electron plus a bit of WinAPI through koffi. Here's how it works.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it knows Claude is waiting
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Claude Code hooks.&lt;/strong&gt; You can configure a command in &lt;code&gt;~/.claude/settings.json&lt;/code&gt; that runs on an event and gets JSON on stdin. The app starts a tiny HTTP server on &lt;code&gt;127.0.0.1:47821&lt;/code&gt; and the hook just pipes stdin to it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"Notification"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"curl -s -m 2 --data-binary @- http://127.0.0.1:47821/hook || exit 0"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;|| exit 0&lt;/code&gt; makes it silently do nothing when the app isn't running, and the same line works in bash and cmd. The server rejects requests that carry an &lt;code&gt;Origin&lt;/code&gt; header, so a random web page can't poke it.&lt;/p&gt;

&lt;p&gt;The app installs the hooks itself at startup and keeps backups (&lt;code&gt;settings.json.mascot-*.bak&lt;/code&gt;, the last five).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The desktop app doesn't send &lt;code&gt;Notification&lt;/code&gt;.&lt;/strong&gt; When Claude desktop (the Code tab) asks for a permission or asks a question, it does not fire &lt;code&gt;Notification&lt;/code&gt;. I only found this out because the terminal version worked and the desktop one didn't. So the app also hooks &lt;code&gt;PermissionRequest&lt;/code&gt; and &lt;code&gt;PreToolUse&lt;/code&gt; with the matcher &lt;code&gt;AskUserQuestion|ExitPlanMode&lt;/code&gt;. &lt;code&gt;Stop&lt;/code&gt; is optional, if you want a nudge after every reply.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Windows notification database.&lt;/strong&gt; Windows writes every toast into &lt;code&gt;%LOCALAPPDATA%\Microsoft\Windows\Notifications\wpndatabase.db&lt;/code&gt;. Polling it once a second and looking for the &lt;code&gt;Claude_*!Claude&lt;/code&gt; app id works even for an already running Claude, and &lt;code&gt;node:sqlite&lt;/code&gt; is built into Node, so there are no native modules:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;DatabaseSync&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'node:sqlite'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;db&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;DatabaseSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;DB&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;readOnly&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;ids&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;prepare&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s2"&gt;"select PrimaryId as id from NotificationHandler where PrimaryId glob 'Claude_*!Claude'"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A window that is visible but doesn't get in the way
&lt;/h2&gt;

&lt;p&gt;It has to be transparent, frameless, always on top, absent from the taskbar, unable to take focus, and click-through everywhere except the mascot:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="n"&gt;win&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;BrowserWindow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;frame&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;transparent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;backgroundColor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'#00000000'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hasShadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;skipTaskbar&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alwaysOnTop&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;focusable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;win&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setAlwaysOnTop&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'screen-saver'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;win&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setIgnoreMouseEvents&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;forward&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The trick is &lt;code&gt;forward: true&lt;/code&gt;. The window ignores clicks, but mouse-move events still reach the page. When the cursor is over the mascot (&lt;code&gt;mouseenter&lt;/code&gt;), the page tells the main process to turn clicks back on, and off again when it leaves. No manual hit-testing.&lt;/p&gt;

&lt;p&gt;The window is as wide as the work area and 190 px tall, sitting right above the taskbar. The animation is SVG and CSS. The grumbling is synthesized with WebAudio, and the mouth opens on syllables. For sound without a user gesture you need &lt;code&gt;autoplayPolicy: 'no-user-gesture-required'&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To know whether Claude is active and to bring its window to the front on click, I call &lt;code&gt;user32.dll&lt;/code&gt; through &lt;code&gt;koffi&lt;/code&gt;, with no node-gyp. "Claude is active" means a &lt;code&gt;claude.exe&lt;/code&gt; process or "claude" in the window title. Polling the foreground window every 300 ms is cheap.&lt;/p&gt;

&lt;p&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%2Fogr0t51euxguhkr9c22g.png" 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%2Fogr0t51euxguhkr9c22g.png" alt="A calm mascot" width="760" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't show two reminders
&lt;/h2&gt;

&lt;p&gt;If Windows draws its own toast at the same time, you get two reminders. The option "Replace Claude pop-ups with the mascot" (on by default) turns off Claude's banners only: it sets &lt;code&gt;ShowBanner = 0&lt;/code&gt; under &lt;code&gt;HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\&amp;lt;AUMID&amp;gt;&lt;/code&gt; (via &lt;code&gt;reg.exe&lt;/code&gt;). The Action Center entries and the database rows remain, so the mascot still sees them.&lt;/p&gt;

&lt;p&gt;The important part is restoring the old state. The previous value (or the fact that there was none) is stored in the config and restored when you turn the option off, on quit, on Windows session end, and on the next start after a crash.&lt;/p&gt;

&lt;h2&gt;
  
  
  Behaviour
&lt;/h2&gt;

&lt;p&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%2F0f5f83afwubbaatbaq50.png" 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%2F0f5f83afwubbaatbaq50.png" alt="Angry mascot" width="760" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Three peeks from the corner, three phrases each, 7 seconds between them. Calm in the first two, grumpy in the third.&lt;/li&gt;
&lt;li&gt;Then he comes out completely for 20 seconds: red, stomping along the bottom, shaking fists.&lt;/li&gt;
&lt;li&gt;Leaves and repeats until you respond.&lt;/li&gt;
&lt;li&gt;If the Claude window becomes active or you click the mascot, he runs away and the cycle resets.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Phrases are random, never the same twice in a row. I drew an HTML demo of this before writing any of the app, to tune the character.&lt;/p&gt;

&lt;h2&gt;
  
  
  Updates and releases
&lt;/h2&gt;

&lt;p&gt;Built with electron-builder into an NSIS installer and a portable exe. The installer uses &lt;code&gt;electron-updater&lt;/code&gt; with GitHub Releases: check 15 seconds after start, then every 6 hours, download in the background, install on restart. A portable exe can't replace itself (it runs from a temp extraction), so it only tells you a new version exists.&lt;/p&gt;

&lt;p&gt;Two traps along the way: electron-builder uploads files in parallel and can create duplicate releases, so the workflow creates the release with &lt;code&gt;gh release create&lt;/code&gt; first. And autostart for portable must use &lt;code&gt;PORTABLE_EXECUTABLE_FILE&lt;/code&gt;, not &lt;code&gt;process.execPath&lt;/code&gt;, which points at the temp folder.&lt;/p&gt;

&lt;p&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%2Fzt9tr7o68op96gqdjmcl.png" 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%2Fzt9tr7o68op96gqdjmcl.png" alt="Tray menu" width="400" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Get it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Download (installer, self-updating, or a portable exe): &lt;a href="https://github.com/OlegChe77/claude-mascot/releases/latest" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/claude-mascot/releases/latest&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/OlegChe77/claude-mascot" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/claude-mascot&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ideas for more events to catch or phrases to add are welcome in the comments or as issues.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>electron</category>
      <category>ai</category>
    </item>
    <item>
      <title>Universal Downloader 1.4: a new "glass rail" design for my local yt-dlp app</title>
      <dc:creator>Oleg Che</dc:creator>
      <pubDate>Fri, 06 Nov 2026 15:30:49 +0000</pubDate>
      <link>https://dev.to/oleg_che_e5f5713b4bf33876/universal-downloader-14-a-new-glass-rail-design-for-my-local-yt-dlp-app-4kj</link>
      <guid>https://dev.to/oleg_che_e5f5713b4bf33876/universal-downloader-14-a-new-glass-rail-design-for-my-local-yt-dlp-app-4kj</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/OlegChe77/universal-downloader" rel="noopener noreferrer"&gt;Universal Downloader&lt;/a&gt; is a free, open-source Windows app on top of yt-dlp: paste a link, get a file. Everything runs on your PC. Version 1.4 is out, and it has a completely new look.&lt;/p&gt;

&lt;p&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%2Flyvubzq0j79ihmdiottb.png" 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%2Flyvubzq0j79ihmdiottb.png" alt="Main page: side panel on the left, input bar and download options" width="800" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's new
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;New "glass rail" design&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A side panel on the left with the tabs, the download folder ("Choose folder", "Open", "ask every time"), "Support the project", theme, help and language. The folder used to be on one tab; now it is visible everywhere.&lt;/li&gt;
&lt;li&gt;Translucent cards on a colored background, a teal theme in light and dark.&lt;/li&gt;
&lt;li&gt;A big input bar with the button inside. A long link or a list of links stretches the field.&lt;/li&gt;
&lt;li&gt;Download options as tiles across the card.&lt;/li&gt;
&lt;li&gt;The player is a dark "island" above the field that moves with the page. On a phone it sits at the bottom of the screen.&lt;/li&gt;
&lt;li&gt;On a phone the panel moves to the top and the tabs go in a row.&lt;/li&gt;
&lt;li&gt;The Help page uses the same palette.&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%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnoptbm0ocljdk0879904.png" 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%2Fnoptbm0ocljdk0879904.png" alt="Music search by title" width="800" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&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%2Fqvz1fr0kbc2gxyqz2wa2.png" 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%2Fqvz1fr0kbc2gxyqz2wa2.png" alt="Dark theme" width="800" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All buttons and features are where they were. In older browsers without blur support the cards are just solid color.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fixed&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The page no longer depends on the Windows registry. If &lt;code&gt;.js&lt;/code&gt; is mapped to &lt;code&gt;text/plain&lt;/code&gt; there, the buttons and tabs stopped working after 1.3 (pressing Find just cleared the link field). Scripts are now served with an explicit type.&lt;/p&gt;

&lt;h2&gt;
  
  
  Download
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Zip: &lt;a href="https://github.com/OlegChe77/universal-downloader/releases/latest/download/universal-downloader.zip" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/universal-downloader/releases/latest/download/universal-downloader.zip&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source and release notes: &lt;a href="https://github.com/OlegChe77/universal-downloader" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/universal-downloader&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you already have the app, it will offer to update itself.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>opensource</category>
      <category>microsoft</category>
    </item>
    <item>
      <title>I built a one-click installer for local LLMs on Windows: it picks a model for your hardware and sets up Ollama</title>
      <dc:creator>Oleg Che</dc:creator>
      <pubDate>Tue, 03 Nov 2026 07:27:10 +0000</pubDate>
      <link>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-one-click-installer-for-local-llms-on-windows-it-picks-a-model-for-your-hardware-and-p6f</link>
      <guid>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-one-click-installer-for-local-llms-on-windows-it-picks-a-model-for-your-hardware-and-p6f</guid>
      <description>&lt;p&gt;Running an LLM locally is not hard, but the first time is a small quest: install Ollama, figure out which of a hundred models fits your GPU, get the tag right, wait for gigabytes to download, find a UI. I kept getting asked to set this up for friends, so I built &lt;strong&gt;Local AI&lt;/strong&gt;: a free, open-source (MIT) Windows app that looks at your hardware, picks a model, installs Ollama and the model, and opens a chat.&lt;/p&gt;

&lt;p&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%2Fyumwe9wfxolcsp1mvyyt.png" 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%2Fyumwe9wfxolcsp1mvyyt.png" alt="Local AI: chat with a local model" width="799" height="571"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One &lt;code&gt;LocalAI.exe&lt;/code&gt; (about 42 MB), no Python or anything else to install first.&lt;/li&gt;
&lt;li&gt;Detects the GPU, VRAM, RAM and free disk space, and &lt;strong&gt;recommends a model&lt;/strong&gt; from a catalogue of 34 (Qwen3, Gemma 3/3n, Llama 3.1/3.2, Mistral, Phi-4, DeepSeek-R1, Qwen2.5-Coder and -VL, LLaVA, gpt-oss).&lt;/li&gt;
&lt;li&gt;Downloads and installs Ollama without administrator rights, then pulls the model with progress.&lt;/li&gt;
&lt;li&gt;Chat with streaming replies, a "think" mode, attachments (text files, and images for vision models), and an "about this model" panel.&lt;/li&gt;
&lt;li&gt;Choose folders for Ollama and models, move models to another drive, update everything, and remove it all without a trace.&lt;/li&gt;
&lt;li&gt;English and Russian UI, two themes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Conversations never leave the PC: the chat talks to Ollama on &lt;code&gt;127.0.0.1&lt;/code&gt;. The network is only used for downloads and update checks.&lt;/p&gt;

&lt;p&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%2Fcj2fs8vh5tlkzyoemjiu.png" 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%2Fcj2fs8vh5tlkzyoemjiu.png" alt="Welcome screen: hardware and recommended model" width="799" height="571"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How it is built
&lt;/h2&gt;

&lt;p&gt;It is Python plus &lt;a href="https://pywebview.flowrl.com/" rel="noopener noreferrer"&gt;pywebview&lt;/a&gt; (WebView2). &lt;code&gt;main.py&lt;/code&gt; starts a local HTTP server on &lt;code&gt;127.0.0.1&lt;/code&gt; and opens the window; the UI is plain HTML/CSS/JS with no build step. API requests are protected by a per-session token header and a &lt;code&gt;Host&lt;/code&gt; check, so a web page in your browser cannot call the local server.&lt;/p&gt;

&lt;p&gt;Some parts were more fun than I expected:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hardware detection without WMI.&lt;/strong&gt; WMI is broken on my machine and probably on some of yours, so the GPU comes from &lt;code&gt;nvidia-smi&lt;/code&gt; or the display-class registry key, and RAM from &lt;code&gt;GlobalMemoryStatusEx&lt;/code&gt; via &lt;code&gt;ctypes&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model choice.&lt;/strong&gt; Each catalogue entry has a size and a rough memory estimate (file size x 1.2 + 0.6 GB). If it fits in VRAM it is a GPU model, if it fits in 70% of RAM it runs mixed or on CPU, otherwise it is hidden.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resumable download&lt;/strong&gt; of the 1.6 GB Ollama installer with &lt;code&gt;Range&lt;/code&gt; requests, plus a signature check before running it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No stray console windows:&lt;/strong&gt; &lt;code&gt;ollama serve&lt;/code&gt; must be started with &lt;code&gt;CREATE_NO_WINDOW&lt;/code&gt; and without &lt;code&gt;DETACHED_PROCESS&lt;/code&gt;, otherwise every child process opens its own black console.&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%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fakld0h3gf67l5xh38c8k.png" 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%2Fakld0h3gf67l5xh38c8k.png" alt="Catalogue: only models that fit this PC" width="799" height="571"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits and download
&lt;/h2&gt;

&lt;p&gt;Windows 10/11 only. Without a GPU it runs on the CPU, slower and with a smaller model. The app is not code-signed, so SmartScreen may ask you to confirm ("More info" → "Run anyway"), and some antivirus tools dislike PyInstaller executables; the source is open if you prefer to build it yourself.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Download (about 43 MB):&lt;/strong&gt; &lt;a href="https://github.com/OlegChe77/local-ai/releases/latest/download/LocalAI.zip" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/local-ai/releases/latest/download/LocalAI.zip&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source (MIT):&lt;/strong&gt; &lt;a href="https://github.com/OlegChe77/local-ai" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/local-ai&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'd love to hear what is missing or broken. Issues and comments are welcome.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>python</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I wanted my notes to be plain files, so I built a small Windows notes app (no Electron)</title>
      <dc:creator>Oleg Che</dc:creator>
      <pubDate>Sat, 31 Oct 2026 04:21:39 +0000</pubDate>
      <link>https://dev.to/oleg_che_e5f5713b4bf33876/i-wanted-my-notes-to-be-plain-files-so-i-built-a-small-windows-notes-app-no-electron-2l9h</link>
      <guid>https://dev.to/oleg_che_e5f5713b4bf33876/i-wanted-my-notes-to-be-plain-files-so-i-built-a-small-windows-notes-app-no-electron-2l9h</guid>
      <description>&lt;p&gt;Most note apps keep your notes in their own database, or in the cloud behind an account, or they ship a whole web browser inside. I wanted something simpler: plain &lt;code&gt;.md&lt;/code&gt; files in a normal folder, links between notes, search, and text that already looks formatted while you type.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Leaflet&lt;/strong&gt;: a free, open-source (MIT) notes app for Windows, written in C# with Avalonia. No WebView, no Electron.&lt;/p&gt;

&lt;p&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%2Fxbm5rygap53eg9f4tasm.png" 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%2Fxbm5rygap53eg9f4tasm.png" alt="Leaflet, Graphite theme" width="799" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Open any folder and every &lt;code&gt;.md&lt;/code&gt; file in it (and in subfolders) becomes a note. Nothing is hidden in a database and nothing goes to the cloud, so you can keep the folder in Git, in a synced folder, or on a USB stick. If you rename or move a note, the &lt;code&gt;[[links]]&lt;/code&gt; in all the other notes are fixed automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Links and backlinks:&lt;/strong&gt; &lt;code&gt;[[Note]]&lt;/code&gt;, &lt;code&gt;[[Note#Section]]&lt;/code&gt;, &lt;code&gt;[[Note|label]]&lt;/code&gt;, with suggestions as you type &lt;code&gt;[[&lt;/code&gt;. The side panel shows which notes link to the current one, its outline and tags.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live preview in the editor itself:&lt;/strong&gt; the line with the cursor shows raw Markdown, every other line is formatted. Tables, lists, checkbox tasks, footnotes, code, quotes, images, and one note can be embedded in another with &lt;code&gt;![[Note]]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search and replace&lt;/strong&gt; across all notes, &lt;code&gt;#tags&lt;/code&gt; like &lt;code&gt;#project/site&lt;/code&gt;, and a command palette on Ctrl+P.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Images:&lt;/strong&gt; paste or drag them in, they are copied to an &lt;code&gt;assets&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety for your data:&lt;/strong&gt; autosave, crash drafts, version history with restore, and protection if a file is changed outside the app while you have unsaved edits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export&lt;/strong&gt; one note or all of them to HTML and PDF, in the colours of the theme you picked.&lt;/li&gt;
&lt;li&gt;Three themes (Graphite, Terminal, Light), English and Russian interface, remappable shortcuts.&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%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7n2gv1nh7v8evt49md0n.png" 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%2F7n2gv1nh7v8evt49md0n.png" alt="Leaflet, Light theme" width="799" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&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%2F39cy0sy1gyozer3fdq1q.png" 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%2F39cy0sy1gyozer3fdq1q.png" alt="Leaflet, Terminal theme" width="799" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Avalonia and not Electron
&lt;/h2&gt;

&lt;p&gt;A WebView or Electron app would have given me a Markdown renderer in an evening. It would also have given me a second heavy process and a slower start. Avalonia draws through Skia in a single native process, so Leaflet starts in about a second and uses around 130 MB on a note with 5,000 lines (my measurements, on one machine). PDF export uses SkiaSharp too, so there is no browser anywhere in the app.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;There is nothing to install: unzip, run &lt;code&gt;Leaflet.exe&lt;/code&gt;, pick a folder (Windows 10/11, .NET is included, about 50 MB). It is not code-signed, so SmartScreen may ask you to confirm: "More info" → "Run anyway".&lt;/p&gt;

&lt;p&gt;What it does not have: plugins, sync, mobile apps. It is a "folder of files" notes app, and anything else you can build on top with Git or a cloud folder.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Download:&lt;/strong&gt; &lt;a href="https://github.com/OlegChe77/leaflet/releases/latest/download/Leaflet.zip" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/leaflet/releases/latest/download/Leaflet.zip&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source (MIT):&lt;/strong&gt; &lt;a href="https://github.com/OlegChe77/leaflet" rel="noopener noreferrer"&gt;https://github.com/OlegChe77/leaflet&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'd love to hear what is missing or broken. Issues and comments are welcome.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>markdown</category>
      <category>productivity</category>
    </item>
    <item>
      <title>I built a free YouTube/SoundCloud downloader for Windows that runs entirely on your PC</title>
      <dc:creator>Oleg Che</dc:creator>
      <pubDate>Thu, 29 Oct 2026 14:51:41 +0000</pubDate>
      <link>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-free-youtubesoundcloud-downloader-for-windows-that-runs-entirely-on-your-pc-4dd7</link>
      <guid>https://dev.to/oleg_che_e5f5713b4bf33876/i-built-a-free-youtubesoundcloud-downloader-for-windows-that-runs-entirely-on-your-pc-4dd7</guid>
      <description>&lt;p&gt;Every "download a YouTube video" website looks the same: ads, pop-ups, and a big green button that takes you somewhere you did not want to go. And if you need a different site (SoundCloud, Vimeo, TikTok...), you need a different downloader.&lt;/p&gt;

&lt;p&gt;I wanted one place where I could drop &lt;em&gt;any&lt;/em&gt; link and get a normal file. So I built &lt;strong&gt;Universal Downloader&lt;/strong&gt;, a free, open-source Windows app on top of &lt;a href="https://github.com/yt-dlp/yt-dlp" rel="noopener noreferrer"&gt;yt-dlp&lt;/a&gt;.&lt;/p&gt;

&lt;p&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%2Fbbw4ntjukafulyj5xtjn.png" 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%2Fbbw4ntjukafulyj5xtjn.png" alt="Pasting a link and picking a quality" width="800" height="680"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Paste a link, get a file.&lt;/strong&gt; YouTube, SoundCloud, Vimeo, TikTok, Instagram and 1000+ other sites that yt-dlp supports. MP4 from 144p to 4K, MP3 with cover art and tags, or M4A without re-encoding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Playlists and queues.&lt;/strong&gt; Paste a playlist link to take the whole thing, or paste several links (one per line) and they download one after another.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Music by name.&lt;/strong&gt; The Music tab searches YouTube, SoundCloud and Rutube at once. You get one list with covers, can listen in a built-in player, tick a few songs and download them with one button.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio tracks and subtitles.&lt;/strong&gt; Pick a language, embed subtitles or save a separate &lt;code&gt;.srt&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A browser extension&lt;/strong&gt; (Chrome, Edge, Opera, Firefox) or a bookmarklet for everything else: open a video, click, and the app picks up the link.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works behind a proxy.&lt;/strong&gt; If a site does not open directly, the app can go through your VPN app's local proxy (v2rayN, Clash, Hiddify...).&lt;/li&gt;
&lt;li&gt;Light and dark theme, Russian and English interface, and it keeps itself and yt-dlp up to date.&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%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff1o7q9xrs470mlqbd8ga.png" 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%2Ff1o7q9xrs470mlqbd8ga.png" alt="Searching music by name" width="800" height="891"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  No ads, no accounts, no servers
&lt;/h2&gt;

&lt;p&gt;Everything happens on your computer. The UI is just a local web page, served by a tiny Flask server that listens on &lt;code&gt;127.0.0.1&lt;/code&gt; only. There is nothing to sign up for and no third-party server in the middle.&lt;/p&gt;

&lt;p&gt;You do not need to install Python either. On first start a small script downloads a private copy of Python 3.12, yt-dlp, ffmpeg and Deno into the app folder and verifies every download with SHA-256. Nothing is installed system-wide, and the bundled uninstall script (&lt;code&gt;Удалить.bat&lt;/code&gt;) removes it all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Download &lt;code&gt;universal-downloader.zip&lt;/code&gt; from the &lt;a href="https://github.com/OlegChe77/universal-downloader/releases/latest/download/universal-downloader.zip" rel="noopener noreferrer"&gt;latest release&lt;/a&gt; (Windows 10/11, about 350 MB after the first-run setup).&lt;/li&gt;
&lt;li&gt;Unpack it and double-click &lt;code&gt;Запуск.bat&lt;/code&gt; ("Start").&lt;/li&gt;
&lt;li&gt;A tray icon appears and the app opens in your browser.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Source code and docs: &lt;strong&gt;&lt;a href="https://github.com/OlegChe77/universal-downloader" rel="noopener noreferrer"&gt;github.com/OlegChe77/universal-downloader&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would love to hear
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Sites or links that fail for you (the error message has a "Details" button with the raw yt-dlp output, which is handy for an issue).&lt;/li&gt;
&lt;li&gt;What is confusing on first start.&lt;/li&gt;
&lt;li&gt;Missing options you would actually use.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is a wrapper for personal use, so please download only what you have the right to, and follow the terms of the sites you use.&lt;/p&gt;

&lt;p&gt;If you try it, tell me how it went in the comments or open an issue on GitHub.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>python</category>
      <category>microsoft</category>
    </item>
  </channel>
</rss>
