<?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: nigdanil</title>
    <description>The latest articles on DEV Community by nigdanil (@nigdanil).</description>
    <link>https://dev.to/nigdanil</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3292389%2F327fc641-bed5-4261-969b-d3a51cc41710.png</url>
      <title>DEV Community: nigdanil</title>
      <link>https://dev.to/nigdanil</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nigdanil"/>
    <language>en</language>
    <item>
      <title>How I built DotPlus – a cross-platform QR &amp; barcode generator in Rust (with GUI, CLI, Docker, and PNG export)</title>
      <dc:creator>nigdanil</dc:creator>
      <pubDate>Fri, 04 Jul 2025 13:10:41 +0000</pubDate>
      <link>https://dev.to/nigdanil/how-i-built-dotplus-a-cross-platform-qr-barcode-generator-in-rust-with-gui-cli-docker-and-3meh</link>
      <guid>https://dev.to/nigdanil/how-i-built-dotplus-a-cross-platform-qr-barcode-generator-in-rust-with-gui-cli-docker-and-3meh</guid>
      <description>&lt;p&gt;Hello everyone 👋&lt;/p&gt;

&lt;p&gt;I'm Danil, and I'd love to share the story behind &lt;a href="https://nigdanil.github.io/dotplus" rel="noopener noreferrer"&gt;&lt;strong&gt;DotPlus&lt;/strong&gt;&lt;/a&gt; — a fully offline QR and barcode generator written in Rust. It combines both &lt;strong&gt;GUI and CLI&lt;/strong&gt;, supports &lt;strong&gt;PDF export&lt;/strong&gt;, &lt;strong&gt;Docker&lt;/strong&gt;, &lt;strong&gt;CSV batch generation&lt;/strong&gt;, and works seamlessly across &lt;strong&gt;Windows and Linux&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧩 What is DotPlus?
&lt;/h2&gt;

&lt;p&gt;DotPlus is a free tool for generating QR codes and barcodes (EAN-13, Code 39, etc.).&lt;br&gt;&lt;br&gt;
It supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ GUI (built with &lt;code&gt;egui&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;🛠️ CLI for automation / scripts&lt;/li&gt;
&lt;li&gt;📄 PDF &amp;amp; PNG export (with A4 layout)&lt;/li&gt;
&lt;li&gt;🐧 Linux + Windows binaries&lt;/li&gt;
&lt;li&gt;📦 Docker support for headless environments&lt;/li&gt;
&lt;li&gt;🖼️ Logo overlays, Cyrillic input, and CSV batch processing&lt;/li&gt;
&lt;li&gt;🔒 Fully offline — no internet, telemetry or accounts&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔧 Why Rust?
&lt;/h2&gt;

&lt;p&gt;Rust was a natural fit for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cross-platform compilation&lt;/li&gt;
&lt;li&gt;Performance with image generation&lt;/li&gt;
&lt;li&gt;A rich ecosystem (&lt;code&gt;qrcode&lt;/code&gt;, &lt;code&gt;barcoders&lt;/code&gt;, &lt;code&gt;imageproc&lt;/code&gt;, etc.)&lt;/li&gt;
&lt;li&gt;Safety — especially when handling files and assets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The GUI is built using &lt;a href="https://github.com/emilk/egui" rel="noopener noreferrer"&gt;&lt;code&gt;egui&lt;/code&gt;&lt;/a&gt;, and CLI uses native &lt;code&gt;std::env::args&lt;/code&gt;.&lt;/p&gt;




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

&lt;p&gt;The core logic (CSV → image generation → export) is shared between CLI and GUI. This helps keep things DRY and consistent.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GUI is built with &lt;code&gt;eframe&lt;/code&gt;, includes live preview and layout editor&lt;/li&gt;
&lt;li&gt;CLI supports flexible flags like:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  dotplus &lt;span class="nt"&gt;--mode&lt;/span&gt; qr &lt;span class="nt"&gt;--csv&lt;/span&gt; data.csv &lt;span class="nt"&gt;--logo&lt;/span&gt; logo.png &lt;span class="nt"&gt;--output&lt;/span&gt; out/ &lt;span class="nt"&gt;--qr-size&lt;/span&gt; 200
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
`&lt;/p&gt;




&lt;h2&gt;
  
  
  📦 Releasing on Windows, Linux, and Docker
&lt;/h2&gt;

&lt;p&gt;DotPlus uses GitHub Actions for CI and automatic packaging:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;.exe&lt;/code&gt;, &lt;code&gt;.deb&lt;/code&gt;, &lt;code&gt;.rpm&lt;/code&gt; binaries&lt;/li&gt;
&lt;li&gt;Docker images (for headless batch jobs)&lt;/li&gt;
&lt;li&gt;Flatpak/Snap coming soon&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Releases:&lt;br&gt;
👉 &lt;a href="https://github.com/nigdanil/dotplus/releases" rel="noopener noreferrer"&gt;https://github.com/nigdanil/dotplus/releases&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🌍 Use cases
&lt;/h2&gt;

&lt;p&gt;DotPlus is actively used for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ID cards and staff badges&lt;/li&gt;
&lt;li&gt;Library and archive cataloging&lt;/li&gt;
&lt;li&gt;Logistics, inventory, asset tracking&lt;/li&gt;
&lt;li&gt;Document labeling in healthcare and schools&lt;/li&gt;
&lt;li&gt;Government signage and event navigation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s free for both &lt;strong&gt;personal&lt;/strong&gt; and &lt;strong&gt;public sector&lt;/strong&gt; use (under a custom license).&lt;/p&gt;




&lt;h2&gt;
  
  
  📷 Demo and screenshots
&lt;/h2&gt;

&lt;p&gt;Visit the live site for videos, screenshots and how-tos:&lt;br&gt;
👉 &lt;a href="https://nigdanil.github.io/dotplus" rel="noopener noreferrer"&gt;https://nigdanil.github.io/dotplus&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.amazonaws.com%2Fuploads%2Farticles%2Ftl3k9e6s6ozmixzmpld8.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.amazonaws.com%2Fuploads%2Farticles%2Ftl3k9e6s6ozmixzmpld8.png" alt="screenshot" width="800" height="1131"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🙌 What’s next?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Translation &amp;amp; localization (multi-country support)&lt;/li&gt;
&lt;li&gt;Flatpak / Snap packaging&lt;/li&gt;
&lt;li&gt;Community templates (label layouts, QR formats)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💬 Feedback welcome
&lt;/h2&gt;

&lt;p&gt;If you’re into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CLI tools&lt;/li&gt;
&lt;li&gt;Offline utilities&lt;/li&gt;
&lt;li&gt;Rust GUI&lt;/li&gt;
&lt;li&gt;Batch automation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’d love to hear your thoughts, suggestions or ideas! PRs are welcome too 🙂&lt;/p&gt;

&lt;p&gt;🔗 GitHub: &lt;a href="https://github.com/nigdanil/dotplus" rel="noopener noreferrer"&gt;https://github.com/nigdanil/dotplus&lt;/a&gt;&lt;br&gt;
🌍 Live: &lt;a href="https://nigdanil.github.io/dotplus" rel="noopener noreferrer"&gt;https://nigdanil.github.io/dotplus&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Thanks for reading and happy hacking!&lt;/p&gt;

&lt;p&gt;— Danil (&lt;a class="mentioned-user" href="https://dev.to/nigdanil"&gt;@nigdanil&lt;/a&gt;)&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
