<?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: David - TechOpt.io</title>
    <description>The latest articles on DEV Community by David - TechOpt.io (@techoptio).</description>
    <link>https://dev.to/techoptio</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%2F4246697%2F869f5622-53a9-4c19-99c4-1ff74da20212.png</url>
      <title>DEV Community: David - TechOpt.io</title>
      <link>https://dev.to/techoptio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/techoptio"/>
    <language>en</language>
    <item>
      <title>Why I Don't Understand the Love for Brave Browser</title>
      <dc:creator>David - TechOpt.io</dc:creator>
      <pubDate>Sat, 05 Dec 2026 23:39:50 +0000</pubDate>
      <link>https://dev.to/techoptio/why-i-dont-understand-the-love-for-brave-browser-2jf9</link>
      <guid>https://dev.to/techoptio/why-i-dont-understand-the-love-for-brave-browser-2jf9</guid>
      <description>&lt;p&gt;I've never really understood the amount of love Brave gets, particularly among developers, technology enthusiasts and privacy-conscious users.&lt;/p&gt;

&lt;p&gt;I understand some of the appeal. It's open source, blocks ads and trackers out of the box, and offers the compatibility you'd expect from a Chromium-based browser.&lt;/p&gt;

&lt;p&gt;What I don't understand is why so many people are willing to overlook its history of questionable decisions when alternatives like &lt;a href="https://www.firefox.com/" rel="noopener noreferrer"&gt;Firefox&lt;/a&gt; and &lt;a href="https://librewolf.net/" rel="noopener noreferrer"&gt;LibreWolf&lt;/a&gt; already exist.&lt;/p&gt;

&lt;p&gt;To me, privacy is as much about trusting the company developing your software as it is about blocking trackers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Brave's History of Controversies
&lt;/h2&gt;

&lt;p&gt;Since its introduction in 2016, Brave has found itself involved in several controversies. Some were software vulnerabilities, while others were deliberate business and engineering decisions.&lt;/p&gt;

&lt;h3&gt;
  
  
  2016: Replacing Publishers' Advertisements
&lt;/h3&gt;

&lt;p&gt;Shortly after Brave launched, 17 newspaper companies sent the company a cease-and-desist letter over its proposed advertising model.&lt;/p&gt;

&lt;p&gt;Brave wanted to block certain existing advertisements and introduce its own advertising, distributing revenue between participating publishers, users, advertising partners and itself.&lt;/p&gt;

&lt;p&gt;In its &lt;a href="https://brave.com/blog/braves-response-to-the-naa-a-better-deal-for-publishers/" rel="noopener noreferrer"&gt;official response&lt;/a&gt;, Brave argued that this would provide a better deal for publishers while protecting users from invasive advertising.&lt;/p&gt;

&lt;p&gt;As someone who runs a website, I'm not particularly comfortable with a browser company positioning itself as an intermediary between publishers and their advertising revenue.&lt;/p&gt;

&lt;h3&gt;
  
  
  2018: Tipping Creators Without Their Consent
&lt;/h3&gt;

&lt;p&gt;Brave's cryptocurrency-based rewards system allows users to tip websites and content creators using its Basic Attention Token (BAT).&lt;/p&gt;

&lt;p&gt;In December 2018, YouTuber Tom Scott discovered that users could tip him despite him never registering for the program.&lt;/p&gt;

&lt;p&gt;The interface could give users the impression that they were financially supporting creators who hadn't actually agreed to participate.&lt;/p&gt;

&lt;p&gt;Brave subsequently &lt;a href="https://brave.com/blog/rewards-update/" rel="noopener noreferrer"&gt;published an apology&lt;/a&gt; and changed its interface to better distinguish registered creators from unverified ones.&lt;/p&gt;

&lt;p&gt;Supporting independent creators is a great idea. Getting their consent seems like a fairly obvious prerequisite, though.&lt;/p&gt;

&lt;h3&gt;
  
  
  2020: Automatically Inserting Affiliate Codes
&lt;/h3&gt;

&lt;p&gt;This is probably the controversy that bothers me the most.&lt;/p&gt;

&lt;p&gt;In June 2020, users discovered that Brave's address bar was automatically suggesting certain cryptocurrency exchange URLs with Brave's own affiliate codes attached.&lt;/p&gt;

&lt;p&gt;Typing &lt;code&gt;binance.us&lt;/code&gt;, for example, could result in the browser suggesting a URL containing Brave's referral code as the default completion.&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%2F6wxp061ud9vtymiyq7j4.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%2F6wxp061ud9vtymiyq7j4.png" alt="Brave browser address bar autocomplete suggesting a Binance URL containing an affiliate code" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Brave's address bar suggesting cryptocurrency exchange URLs containing its own affiliate codes. &lt;a href="https://brave.com/blog/referral-codes-in-suggested-sites/" rel="noopener noreferrer"&gt;Original image source&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Brave &lt;a href="https://brave.com/blog/referral-codes-in-suggested-sites/" rel="noopener noreferrer"&gt;issued what I consider a rather unconvincing apology&lt;/a&gt; and disabled the relevant autocomplete setting by default.&lt;/p&gt;

&lt;p&gt;I have absolutely nothing against properly disclosed affiliate links. I use them on my own website.&lt;/p&gt;

&lt;p&gt;But I don't think a browser should ever modify a destination I've explicitly entered for its own financial benefit without my permission.&lt;/p&gt;

&lt;p&gt;I genuinely don't understand why anyone thought this was acceptable in the first place.&lt;/p&gt;

&lt;h3&gt;
  
  
  2021: Tor DNS Leaks
&lt;/h3&gt;

&lt;p&gt;Brave includes private browsing windows that route traffic through the Tor network.&lt;/p&gt;

&lt;p&gt;In 2021, a vulnerability caused certain DNS requests from these windows to bypass Tor and reach the user's regular DNS provider.&lt;/p&gt;

&lt;p&gt;According to &lt;a href="https://github.com/brave/brave-browser/security/advisories/GHSA-mqjf-9x5g-2rv6" rel="noopener noreferrer"&gt;Brave's security advisory&lt;/a&gt;, the problem originated from its protection against CNAME-based tracking.&lt;/p&gt;

&lt;p&gt;To be fair, this was a software defect rather than a deliberate decision, and Brave patched it. Every major browser experiences security vulnerabilities.&lt;/p&gt;

&lt;p&gt;Still, it's a good reminder that integrating a privacy technology into an existing application doesn't necessarily provide the same guarantees as using a dedicated implementation.&lt;/p&gt;

&lt;p&gt;If anonymity is particularly important to you, use the official &lt;a href="https://www.torproject.org/" rel="noopener noreferrer"&gt;Tor Browser&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2023: Installing VPN Services Without Consent
&lt;/h3&gt;

&lt;p&gt;In 2023, users discovered that certain Windows installations of Brave were also installing system services associated with its commercial VPN product.&lt;/p&gt;

&lt;p&gt;This happened even when users hadn't purchased or enabled the VPN.&lt;/p&gt;

&lt;p&gt;The services weren't automatically establishing VPN connections, but they were being installed without users explicitly requesting them.&lt;/p&gt;

&lt;p&gt;Brave eventually &lt;a href="https://github.com/brave/brave-browser/issues/33726" rel="noopener noreferrer"&gt;addressed this in March 2024&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If I install a web browser, I expect it to install a web browser. If I decide I want a VPN, I'll install one.&lt;/p&gt;

&lt;p&gt;Isn't this exactly the sort of behaviour we normally criticize commercial software companies for?&lt;/p&gt;

&lt;h3&gt;
  
  
  2026: Copyright Lawsuits Over AI and Scraped Content
&lt;/h3&gt;

&lt;p&gt;In November 2026, The New York Times and several other newspaper publishers filed lawsuits against Brave Software.&lt;/p&gt;

&lt;p&gt;According to &lt;a href="https://www.reuters.com/legal/litigation/new-york-times-sues-maker-brave-web-browser-over-copyrights-2026-11-02/" rel="noopener noreferrer"&gt;Reuters&lt;/a&gt;, the allegations involve unauthorized copying of copyrighted content, distribution of content for AI-related purposes and circumvention of paywalls.&lt;/p&gt;

&lt;p&gt;These remain allegations, not established findings of wrongdoing.&lt;/p&gt;

&lt;p&gt;The relationship between search engines, copyright and AI is complicated, but as an independent web publisher, this is yet another controversy involving Brave's relationship with content creators that concerns me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does My Browser Need Cryptocurrency?
&lt;/h2&gt;

&lt;p&gt;Even if we put all those controversies aside, I've never particularly understood Brave's product direction.&lt;/p&gt;

&lt;p&gt;The standard Brave browser includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A cryptocurrency wallet&lt;/li&gt;
&lt;li&gt;A cryptocurrency-based rewards system&lt;/li&gt;
&lt;li&gt;A commercial VPN&lt;/li&gt;
&lt;li&gt;An AI assistant&lt;/li&gt;
&lt;li&gt;A video conferencing service&lt;/li&gt;
&lt;li&gt;A news aggregator&lt;/li&gt;
&lt;li&gt;Search engine integrations&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%2F2dvjxzid0zw49bn6curw.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%2F2dvjxzid0zw49bn6curw.png" alt="Brave browser settings showing cryptocurrency, VPN, rewards and AI features" width="800" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Brave incorporates numerous products and services beyond its core web browsing functionality.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I just want a web browser.&lt;/p&gt;

&lt;p&gt;Yes, many of these features are optional. Yes, you can disable or hide them.&lt;/p&gt;

&lt;p&gt;That doesn't mean I appreciate their inclusion in the first place.&lt;/p&gt;

&lt;p&gt;There's also something ironic about a browser that markets itself around blocking advertisements while operating its own advertising business.&lt;/p&gt;

&lt;p&gt;I recognize that Brave's advertising system takes a different approach to privacy than traditional advertising networks. I also recognize that developing a browser costs money.&lt;/p&gt;

&lt;p&gt;It's just not an ecosystem I'm particularly interested in participating in.&lt;/p&gt;

&lt;p&gt;Interestingly, Brave introduced &lt;a href="https://brave.com/origin/" rel="noopener noreferrer"&gt;Brave Origin&lt;/a&gt; in 2026, a minimalist edition that removes or disables many of these features.&lt;/p&gt;

&lt;p&gt;It costs $59.99 USD as a one-time purchase on most supported platforms, although it's free on Linux.&lt;/p&gt;

&lt;p&gt;I appreciate that the option exists, but I find it somewhat amusing that a more minimal web browser has become a premium product.&lt;/p&gt;

&lt;h2&gt;
  
  
  As Developers, We Should Care About Browser Engine Diversity
&lt;/h2&gt;

&lt;p&gt;This is one of my biggest reasons for preferring Firefox, independently of Brave's controversies.&lt;/p&gt;

&lt;p&gt;Consider the desktop browser landscape:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Browser&lt;/th&gt;
&lt;th&gt;Rendering engine&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Google Chrome&lt;/td&gt;
&lt;td&gt;Blink&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft Edge&lt;/td&gt;
&lt;td&gt;Blink&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Brave&lt;/td&gt;
&lt;td&gt;Blink&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opera&lt;/td&gt;
&lt;td&gt;Blink&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vivaldi&lt;/td&gt;
&lt;td&gt;Blink&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Firefox&lt;/td&gt;
&lt;td&gt;Gecko&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LibreWolf&lt;/td&gt;
&lt;td&gt;Gecko&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Safari&lt;/td&gt;
&lt;td&gt;WebKit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Having several browsers built around Chromium isn't the same thing as having several independent browser engines.&lt;/p&gt;

&lt;p&gt;These browsers can compete on privacy, performance, interfaces and features, but they still share much of their underlying implementation.&lt;/p&gt;

&lt;p&gt;As a developer, I think it's important that websites are built around interoperable web standards rather than the behaviour of a particular browser engine.&lt;/p&gt;

&lt;p&gt;The more the web consolidates around Chromium, the easier it becomes to overlook compatibility with other implementations.&lt;/p&gt;

&lt;p&gt;I don't want us to end up in another situation where websites are effectively designed for one browser.&lt;/p&gt;

&lt;p&gt;Using Firefox is one small way of supporting an independent alternative.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Firefox Is Still My Preferred Browser
&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%2F6tqhwtdof3t9z583kt4n.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%2F6tqhwtdof3t9z583kt4n.png" alt="Firefox privacy settings showing Enhanced Tracking Protection options" width="800" height="561"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Firefox strikes a good balance between privacy, customization and everyday usability.&lt;/p&gt;

&lt;p&gt;Some of the things I appreciate about it include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An independent rendering engine&lt;/li&gt;
&lt;li&gt;Configurable &lt;a href="https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop" rel="noopener noreferrer"&gt;Enhanced Tracking Protection&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Full &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/" rel="noopener noreferrer"&gt;uBlock Origin&lt;/a&gt; support&lt;/li&gt;
&lt;li&gt;Container tabs for isolating browsing sessions&lt;/li&gt;
&lt;li&gt;Extensive configuration options&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Firefox combined with uBlock Origin and a few privacy configuration changes makes for an excellent everyday browser.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mozilla Isn't Perfect Either
&lt;/h3&gt;

&lt;p&gt;I'd be hypocritical if I criticized Brave without acknowledging Mozilla's own questionable decisions.&lt;/p&gt;

&lt;p&gt;Mozilla has received criticism over telemetry, advertising initiatives, search engine agreements and its increasing interest in AI.&lt;/p&gt;

&lt;p&gt;The introduction of Firefox's terms of use in February 2025 also caused considerable backlash, prompting Mozilla to &lt;a href="https://blog.mozilla.org/en/firefox/update-on-terms-of-use/" rel="noopener noreferrer"&gt;revise and clarify the language&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Mozilla has since introduced &lt;a href="https://www.firefox.com/en-US/blog/ai-controls/" rel="noopener noreferrer"&gt;centralized AI controls&lt;/a&gt;, which allow users to disable AI enhancements.&lt;/p&gt;

&lt;p&gt;I don't agree with everything Mozilla does, either.&lt;/p&gt;

&lt;p&gt;Fortunately, there's an alternative for people who like Firefox but aren't particularly fond of Mozilla's product direction.&lt;/p&gt;

&lt;h2&gt;
  
  
  LibreWolf: What I Actually Want From a Privacy Browser
&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%2Fqtcl1vq89h5zydl0upyu.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%2Fqtcl1vq89h5zydl0upyu.png" alt="LibreWolf privacy-focused Firefox fork with uBlock Origin preinstalled" width="800" height="568"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://librewolf.net/" rel="noopener noreferrer"&gt;LibreWolf&lt;/a&gt; is a community-developed Firefox fork focused on privacy, security and user freedom.&lt;/p&gt;

&lt;p&gt;Its &lt;a href="https://librewolf.net/docs/features/" rel="noopener noreferrer"&gt;default configuration&lt;/a&gt; includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Disabled telemetry&lt;/li&gt;
&lt;li&gt;Preinstalled uBlock Origin&lt;/li&gt;
&lt;li&gt;Strict tracking protection&lt;/li&gt;
&lt;li&gt;Fingerprinting mitigations&lt;/li&gt;
&lt;li&gt;Privacy-oriented search engines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It essentially takes Firefox and applies many of the privacy-focused configuration changes you'd otherwise need to make yourself.&lt;/p&gt;

&lt;p&gt;No cryptocurrency ecosystem. No integrated commercial VPN subscription.&lt;/p&gt;

&lt;p&gt;Just a hardened web browser.&lt;/p&gt;

&lt;p&gt;There are tradeoffs, of course. Stricter privacy settings can break certain websites, DRM-protected media is disabled by default, and you should ensure your installation receives security updates promptly.&lt;/p&gt;

&lt;p&gt;For someone looking for a privacy-focused browser out of the box, though, I find this approach considerably more appealing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy Is Also About Trust
&lt;/h2&gt;

&lt;p&gt;I wouldn't necessarily describe Brave as a bad browser from a technical perspective.&lt;/p&gt;

&lt;p&gt;Its built-in ad blocking is excellent, its fingerprinting protections are impressive, and I appreciate the work its developers have done to reduce Chromium's reliance on Google services.&lt;/p&gt;

&lt;p&gt;What I struggle to understand is the almost unconditional enthusiasm some people have for it.&lt;/p&gt;

&lt;p&gt;Many of Brave's past decisions are exactly the kinds of decisions that would attract considerable criticism if Google, Microsoft or Mozilla made them.&lt;/p&gt;

&lt;p&gt;Marketing yourself as a privacy-focused company shouldn't exempt you from the same scrutiny.&lt;/p&gt;

&lt;p&gt;Personally, I'll stick with Firefox. If I want stricter privacy defaults and fewer commercial integrations, LibreWolf already exists.&lt;/p&gt;

&lt;p&gt;I just don't see a particularly compelling reason to switch to Brave.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What browser do you use as a developer? Does browser engine diversity influence your choice, or do privacy features and compatibility matter more to you?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>privacy</category>
      <category>firefox</category>
      <category>webdev</category>
      <category>discuss</category>
    </item>
    <item>
      <title>How I Start My Car with Alexa Using Home Assistant</title>
      <dc:creator>David - TechOpt.io</dc:creator>
      <pubDate>Fri, 27 Nov 2026 22:46:07 +0000</pubDate>
      <link>https://dev.to/techoptio/how-i-start-my-car-with-alexa-using-home-assistant-6fn</link>
      <guid>https://dev.to/techoptio/how-i-start-my-car-with-alexa-using-home-assistant-6fn</guid>
      <description>&lt;p&gt;One of my favourite things about Home Assistant is that it can integrate services that were never necessarily designed to work together.&lt;/p&gt;

&lt;p&gt;In this case, I wanted to connect my 2025 Mazda 3 to Alexa so I could use two simple voice commands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Alexa, start the car."&lt;/li&gt;
&lt;li&gt;"Alexa, stop the car."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My configuration doesn't require any custom Alexa routines, Home Assistant automations, scripts or additional hardware. All I needed was a vehicle integration with remote start support, my existing Alexa Smart Home skill and a couple of voice aliases.&lt;/p&gt;

&lt;p&gt;While I'm using a Mazda, the same approach can work with other manufacturers as long as their Home Assistant integrations support the necessary remote commands.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the integration works
&lt;/h2&gt;

&lt;p&gt;At a high level, the command follows this path:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Alexa
  -&amp;gt; Home Assistant (Smart Home skill)
  -&amp;gt; Vehicle integration (start/stop button)
  -&amp;gt; Manufacturer's connected services
  -&amp;gt; Car
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Home Assistant isn't adding remote start to the vehicle. It's providing another way to invoke a feature the vehicle already supports.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A running Home Assistant instance.&lt;/li&gt;
&lt;li&gt;Alexa already connected to Home Assistant via a Smart Home skill.&lt;/li&gt;
&lt;li&gt;A vehicle integration that supports remote engine start (and stop, if you want both commands).&lt;/li&gt;
&lt;li&gt;An active connected services subscription, if required by your manufacturer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I use the &lt;a href="https://www.home-assistant.io/integrations/alexa.smart_home/" rel="noopener noreferrer"&gt;manual Alexa Smart Home integration&lt;/a&gt;, which doesn't require Home Assistant Cloud. I'll assume that connection is already working for the rest of this guide.&lt;/p&gt;

&lt;p&gt;If you're still setting up your homelab, here's how I &lt;a href="https://www.techopt.io/smart-home/how-to-install-home-assistant-on-proxmox-step-by-step" rel="noopener noreferrer"&gt;installed Home Assistant on Proxmox&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Add your vehicle to Home Assistant
&lt;/h2&gt;

&lt;p&gt;Start by looking in the &lt;a href="https://www.home-assistant.io/integrations/" rel="noopener noreferrer"&gt;Home Assistant integrations directory&lt;/a&gt;, HACS or GitHub for your vehicle manufacturer or its connected services platform.&lt;/p&gt;

&lt;p&gt;Check which commands the integration actually supports. Access to telemetry such as fuel levels, mileage or battery charge doesn't necessarily mean it can start the engine.&lt;/p&gt;

&lt;h3&gt;
  
  
  My example: Mazda Connected Services
&lt;/h3&gt;

&lt;p&gt;My Mazda already has remote start through &lt;a href="https://www.mazda.ca/en/discover-mazda/innovation/my-mazda-app-connected-vehicle" rel="noopener noreferrer"&gt;Mazda Connected Services&lt;/a&gt;, the service behind the MyMazda app. To access that functionality from Home Assistant, I use the community-maintained &lt;a href="https://github.com/fano0001/home-assistant-mazda" rel="noopener noreferrer"&gt;Mazda Connected Services ng integration&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The project is based on the Mazda integration that used to be part of Home Assistant core.&lt;/p&gt;

&lt;p&gt;To set it up:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add the GitHub repository as a custom repository in HACS and install the integration. Alternatively, follow the project's manual installation instructions.&lt;/li&gt;
&lt;li&gt;Restart Home Assistant.&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;Settings &amp;gt; Devices &amp;amp; Services&lt;/strong&gt; and add the Mazda integration.&lt;/li&gt;
&lt;li&gt;Authenticate with your Mazda account using the instructions in the repository.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Authentication is a little different from most integrations because Mazda's OAuth flow returns a callback intended for the mobile app. The repository documents two options: using the OAuth Assist for HA browser extension with its Mazda provider profile, or retrieving the callback from your browser's developer console. Treat that callback as a credential and don't share it.&lt;/p&gt;

&lt;p&gt;After connecting my vehicle, the relevant entities are:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Function&lt;/th&gt;
&lt;th&gt;Home Assistant entity&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Start engine&lt;/td&gt;
&lt;td&gt;&lt;code&gt;button.2025_m3g_start_engine&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stop engine&lt;/td&gt;
&lt;td&gt;&lt;code&gt;button.2025_m3g_stop_engine&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&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%2Fuun769n1hzzotcy7zaiw.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%2Fuun769n1hzzotcy7zaiw.png" alt="Mazda 3 remote engine start and stop entities in Home Assistant" width="800" height="641"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Mazda integration exposes two independent engine control buttons.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you're using another manufacturer's integration, find the equivalent entities. The IDs will be different, but the Alexa setup is essentially the same.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Expose the remote start controls to Alexa
&lt;/h2&gt;

&lt;p&gt;How you do this depends on how you've configured the Alexa integration.&lt;/p&gt;

&lt;p&gt;If you manage exposure through the UI, open &lt;strong&gt;Settings &amp;gt; Voice assistants &amp;gt; Expose&lt;/strong&gt; and enable Alexa for the relevant engine controls.&lt;/p&gt;

&lt;p&gt;If you use the manual Smart Home skill with a non-empty YAML entity filter, that filter determines exposure instead. Make sure it includes the engine controls. My configuration only filters out certain entities, and neither engine button is excluded, so I didn't need to change anything in YAML.&lt;/p&gt;

&lt;p&gt;Home Assistant presents these buttons to Alexa as activatable scenes. This is why I don't need to create a routine for each command.&lt;/p&gt;

&lt;p&gt;If your vehicle integration provides an action instead of a button, another option is to wrap that action in a Home Assistant script and expose the script to Alexa.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Assign voice aliases
&lt;/h2&gt;

&lt;p&gt;I wanted to keep descriptive entity names in Home Assistant without having to say the entire vehicle name every time I use Alexa.&lt;/p&gt;

&lt;p&gt;Here's how I configured the start command:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;strong&gt;Settings &amp;gt; Devices &amp;amp; Services &amp;gt; Entities&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Open the &lt;strong&gt;Start engine&lt;/strong&gt; entity.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Voice assistants&lt;/strong&gt; in its settings.&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;start the car&lt;/code&gt; as an alias.&lt;/li&gt;
&lt;li&gt;Move that alias above the default name.&lt;/li&gt;
&lt;/ol&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%2Fab7aqyvf8jj2y5n7qyif.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%2Fab7aqyvf8jj2y5n7qyif.png" alt="Home Assistant voice alias configuration with start the car as the first alias" width="617" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Put the intended voice command first in the alias list.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Repeat the process for the stop entity, using &lt;code&gt;stop the car&lt;/code&gt; as the first alias.&lt;/p&gt;

&lt;p&gt;The order matters: unlike some other voice assistants, Alexa takes only the first alias from Home Assistant. See the &lt;a href="https://www.home-assistant.io/voice_control/aliases/" rel="noopener noreferrer"&gt;voice alias documentation&lt;/a&gt; for details.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Run Alexa device discovery
&lt;/h2&gt;

&lt;p&gt;After saving the aliases, ask Alexa to refresh its devices:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Alexa, discover devices.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Once Alexa has discovered the new names, the intended commands are:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Voice command&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Alexa, start the car&lt;/td&gt;
&lt;td&gt;Activates the engine start button&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Alexa, stop the car&lt;/td&gt;
&lt;td&gt;Activates the engine stop button&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You can also try the &lt;code&gt;turn on&lt;/code&gt; form if Alexa has trouble interpreting the name by itself.&lt;/p&gt;

&lt;p&gt;Note that the stop command activates a separate button. It isn't a request to turn off the start scene.&lt;/p&gt;

&lt;h2&gt;
  
  
  Troubleshooting and limitations
&lt;/h2&gt;

&lt;p&gt;If Alexa can't find the command, check the order of your aliases, the entity exposure settings or YAML filters, and run discovery again.&lt;/p&gt;

&lt;p&gt;If Alexa finds the command but the vehicle doesn't respond, try the corresponding button directly from Home Assistant when it's safe to do so. This isolates the vehicle integration from the Alexa side of the setup.&lt;/p&gt;

&lt;p&gt;A button press also isn't proof that the engine is running. My Mazda integration doesn't expose a dedicated engine-running sensor, so I can't use the button state as confirmation of a successful start.&lt;/p&gt;

&lt;p&gt;There are a couple of other caveats worth mentioning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MyMazda allows a given account to be signed in on only one device at a time. The integration's documentation suggests a secondary driver account for simultaneous use of the mobile app and Home Assistant.&lt;/li&gt;
&lt;li&gt;The integration uses unofficial access to Mazda Connected Services. If Mazda changes the MyMazda app or its backend to prevent third-party access, this setup could stop working at any time. The same risk applies to unofficial integrations for other manufacturers.&lt;/li&gt;
&lt;li&gt;My direct button setup has no extra PIN or confirmation. Consider limiting voice access or adding confirmation if other people can use your Alexa devices.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Never remotely start a combustion engine inside a garage, even with the door open.&lt;/strong&gt; Follow the manufacturer's safety instructions whenever you use remote start.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;I like that this setup is mostly about connecting existing functionality rather than building new automations or buying more hardware. The manufacturer already provides the remote controls, Home Assistant exposes them, and Alexa supplies the voice interface.&lt;/p&gt;

&lt;p&gt;The Mazda integration is the vehicle-specific part. Everything after that can be adapted to another car with compatible remote start controls.&lt;/p&gt;

&lt;p&gt;I've used a similar software-only approach elsewhere in my smart home, including &lt;a href="https://www.techopt.io/smart-home/home-assistant-lightning-alerts-without-extra-hardware" rel="noopener noreferrer"&gt;lightning alerts in Home Assistant&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.techopt.io/smart-home/how-i-start-my-car-with-alexa-using-home-assistant" rel="noopener noreferrer"&gt;TechOpt.io: How I Start My Car with Alexa Using Home Assistant&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>homeassistant</category>
      <category>smarthome</category>
      <category>iot</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Why macOS Is My Second Favourite OS as a Linux Developer</title>
      <dc:creator>David - TechOpt.io</dc:creator>
      <pubDate>Thu, 26 Nov 2026 23:00:43 +0000</pubDate>
      <link>https://dev.to/techoptio/why-macos-is-my-second-favourite-os-as-a-linux-developer-5bd4</link>
      <guid>https://dev.to/techoptio/why-macos-is-my-second-favourite-os-as-a-linux-developer-5bd4</guid>
      <description>&lt;p&gt;Linux is my favourite operating system. I run openSUSE with KDE Plasma on my desktop, and much of my homelab runs on Linux.&lt;/p&gt;

&lt;p&gt;However, I also genuinely enjoy using macOS.&lt;/p&gt;

&lt;p&gt;What's interesting is that many of the reasons I like macOS are the same reasons I like Linux. Others are things I wish Linux did a little better.&lt;/p&gt;

&lt;p&gt;As a software developer, Linux enthusiast and electronic music producer, here's why macOS is my second favourite operating system.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Familiar Unix Foundation
&lt;/h2&gt;

&lt;p&gt;Although macOS looks quite different from most Linux desktop environments, the two operating systems share a lot of concepts under the hood.&lt;/p&gt;

&lt;p&gt;macOS is built on Darwin, which incorporates the XNU kernel and draws from Mach and BSD technologies. While Linux uses an entirely different kernel, both operating systems follow many Unix conventions.&lt;/p&gt;

&lt;p&gt;As a Linux user, much of what I already know translates directly to macOS:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Filesystem hierarchy&lt;/li&gt;
&lt;li&gt;File ownership and permissions&lt;/li&gt;
&lt;li&gt;Users and groups&lt;/li&gt;
&lt;li&gt;Process management&lt;/li&gt;
&lt;li&gt;Shell scripting&lt;/li&gt;
&lt;li&gt;Pipes and standard streams&lt;/li&gt;
&lt;li&gt;Command-line utilities&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Of course, there are some notable differences:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Linux&lt;/th&gt;
&lt;th&gt;macOS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Kernel&lt;/td&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;td&gt;XNU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Home directories&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/home&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/Users&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Service management&lt;/td&gt;
&lt;td&gt;systemd on most major distros&lt;/td&gt;
&lt;td&gt;launchd&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Command-line utilities&lt;/td&gt;
&lt;td&gt;Typically GNU&lt;/td&gt;
&lt;td&gt;Primarily BSD-derived&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Default filesystem&lt;/td&gt;
&lt;td&gt;Varies by distro&lt;/td&gt;
&lt;td&gt;APFS&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;macOS isn't Linux, but the underlying similarities make switching between them relatively comfortable.&lt;/p&gt;

&lt;p&gt;The knowledge I've accumulated over years of using Linux doesn't suddenly become irrelevant when I open a MacBook.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Development Environment That Feels Like Home
&lt;/h2&gt;

&lt;p&gt;One of my favourite things about macOS is that I can open a terminal and immediately feel at home.&lt;/p&gt;

&lt;p&gt;I can SSH into my servers, write shell scripts, work with Git and use familiar tools such as &lt;code&gt;grep&lt;/code&gt;, &lt;code&gt;find&lt;/code&gt;, &lt;code&gt;curl&lt;/code&gt; and &lt;code&gt;chmod&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://brew.sh/" rel="noopener noreferrer"&gt;Homebrew&lt;/a&gt; also brings a familiar package management experience to macOS.&lt;/p&gt;

&lt;p&gt;Installing Node.js, for example, is as simple as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew install node
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also install graphical applications using Homebrew Casks:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew install --cask firefox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And update your installed packages and supported applications:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew update
brew upgrade
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Homebrew isn't quite the same as &lt;code&gt;zypper&lt;/code&gt; on openSUSE or &lt;code&gt;apt&lt;/code&gt; on Debian, since it doesn't manage the operating system itself. However, it makes managing third-party software considerably more convenient.&lt;/p&gt;

&lt;p&gt;I've also written about how I use Homebrew to &lt;a href="https://www.techopt.io/macos/keeping-apps-up-to-date-on-macos-with-homebrew" rel="noopener noreferrer"&gt;keep my macOS apps up to date&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On Windows, I'd typically want WSL to get a comparable Unix development environment. On macOS, much of that environment is already there natively.&lt;/p&gt;

&lt;p&gt;As someone who also develops mobile applications, having access to Xcode and the iOS simulator is another advantage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I Prefer macOS for Music Production
&lt;/h2&gt;

&lt;p&gt;Outside of software development, I also produce electronic music. This is one area where I prefer macOS over Linux.&lt;/p&gt;

&lt;p&gt;My DAW of choice is &lt;a href="https://www.reasonstudios.com/" rel="noopener noreferrer"&gt;Reason&lt;/a&gt;, which unfortunately doesn't have a native Linux version. macOS also has a much broader selection of commercial audio plugins available.&lt;/p&gt;

&lt;p&gt;But software availability isn't the only reason.&lt;/p&gt;

&lt;p&gt;Historically, setting up a professional audio environment on Linux could involve figuring out how several different technologies interacted:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ALSA&lt;/li&gt;
&lt;li&gt;PulseAudio&lt;/li&gt;
&lt;li&gt;JACK&lt;/li&gt;
&lt;li&gt;Audio routing&lt;/li&gt;
&lt;li&gt;Buffer sizes and latency configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;JACK is incredibly powerful, but getting everything working together hasn't always been the most straightforward experience.&lt;/p&gt;

&lt;p&gt;Thankfully, &lt;a href="https://pipewire.org/" rel="noopener noreferrer"&gt;PipeWire&lt;/a&gt; has significantly improved the situation. It provides a common multimedia infrastructure with compatibility for PulseAudio and JACK applications, while working with ALSA devices.&lt;/p&gt;

&lt;p&gt;Linux audio is in a much better place than it used to be.&lt;/p&gt;

&lt;p&gt;However, I appreciate the simplicity of Core Audio and Core MIDI on macOS. The built-in Audio MIDI Setup utility also makes configuring audio devices relatively straightforward.&lt;/p&gt;

&lt;p&gt;I don't think Linux's audio infrastructure is inherently inferior. In fact, Linux offers some excellent flexibility when it comes to audio routing.&lt;/p&gt;

&lt;p&gt;But when I sit down to produce music, I want to produce music, not configure my audio stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  I Actually Like the Apple Ecosystem
&lt;/h2&gt;

&lt;p&gt;It might sound contradictory coming from someone who loves Linux and open-source software, but I genuinely like the Apple ecosystem.&lt;/p&gt;

&lt;p&gt;I'm an iPhone user, and the integration between macOS and iOS is excellent.&lt;/p&gt;

&lt;p&gt;Some particularly useful &lt;a href="https://www.apple.com/macos/continuity/" rel="noopener noreferrer"&gt;Continuity features&lt;/a&gt; include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AirDrop for transferring files.&lt;/li&gt;
&lt;li&gt;Universal Clipboard for copying and pasting between devices.&lt;/li&gt;
&lt;li&gt;Receiving phone calls and messages on a Mac.&lt;/li&gt;
&lt;li&gt;Instant Hotspot for connecting to an iPhone.&lt;/li&gt;
&lt;li&gt;Continuity Camera for using an iPhone as a webcam.&lt;/li&gt;
&lt;li&gt;Handoff for continuing tasks across devices.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Individually, these might seem like relatively minor features. Together, they make for a very convenient experience.&lt;/p&gt;

&lt;p&gt;I don't need every device I own to be made by Apple to appreciate how well these features work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Apple Makes Excellent Laptop Hardware
&lt;/h2&gt;

&lt;p&gt;I'm a big fan of building my own desktop PCs. I like choosing my own components, being able to upgrade them and installing whichever operating system I want.&lt;/p&gt;

&lt;p&gt;However, my priorities are a bit different when it comes to laptops.&lt;/p&gt;

&lt;p&gt;I care more about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Battery life&lt;/li&gt;
&lt;li&gt;Portability&lt;/li&gt;
&lt;li&gt;Build quality&lt;/li&gt;
&lt;li&gt;Display quality&lt;/li&gt;
&lt;li&gt;Trackpad quality&lt;/li&gt;
&lt;li&gt;Thermal and acoustic performance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;MacBooks do a particularly good job in these areas.&lt;/p&gt;

&lt;p&gt;Apple Silicon has made them even more appealing, particularly when it comes to performance relative to power consumption.&lt;/p&gt;

&lt;p&gt;While I don't like their limited hardware upgradeability, I can appreciate the engineering that goes into tightly integrating the hardware and software.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Still Frustrates Me About macOS
&lt;/h2&gt;

&lt;p&gt;Of course, there are things I dislike about macOS.&lt;/p&gt;

&lt;p&gt;One of my biggest frustrations is how frequently its security mechanisms can get in the way.&lt;/p&gt;

&lt;p&gt;Between Gatekeeper and the various privacy permission prompts, sometimes installing or running software involves yet another trip to System Settings to approve something.&lt;/p&gt;

&lt;p&gt;There's also &lt;a href="https://support.apple.com/en-us/102149" rel="noopener noreferrer"&gt;System Integrity Protection (SIP)&lt;/a&gt;, which restricts modifications to protected parts of the operating system, even when running as root.&lt;/p&gt;

&lt;p&gt;I understand why these security mechanisms exist. However, coming from Linux, where I'm accustomed to having extensive control over my operating system, they can get annoying.&lt;/p&gt;

&lt;p&gt;I also miss the level of customization available with KDE Plasma.&lt;/p&gt;

&lt;p&gt;macOS is polished, but Apple has a fairly specific idea of how you should use your computer. Linux generally lets you decide that for yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Linux Is Still My Favourite OS
&lt;/h2&gt;

&lt;p&gt;Despite everything I like about macOS, Linux remains my favourite operating system.&lt;/p&gt;

&lt;p&gt;I appreciate its:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open-source nature.&lt;/li&gt;
&lt;li&gt;Hardware independence.&lt;/li&gt;
&lt;li&gt;Native package management.&lt;/li&gt;
&lt;li&gt;Customizability.&lt;/li&gt;
&lt;li&gt;Transparency.&lt;/li&gt;
&lt;li&gt;Freedom to modify the operating system.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I like being able to decide how my computer works, rather than having those decisions made for me.&lt;/p&gt;

&lt;p&gt;However, I don't think being a Linux enthusiast means you have to dislike macOS.&lt;/p&gt;

&lt;p&gt;For me, macOS combines a familiar Unix environment with excellent laptop hardware, convenient iPhone integration and a relatively frictionless music production experience.&lt;/p&gt;

&lt;p&gt;Linux and macOS excel at different things, and I'm happy to have both in my workflow.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.techopt.io/macos/macos-for-linux-users-why-its-my-second-favourite-os" rel="noopener noreferrer"&gt;TechOpt.io: macOS for Linux Users: Why It's My Second Favourite OS&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's your preferred operating system as a developer? Do you use different operating systems for different tasks?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>macos</category>
      <category>programming</category>
      <category>discuss</category>
    </item>
    <item>
      <title>I Don't Write Code Anymore: How I Develop With AI Agents</title>
      <dc:creator>David - TechOpt.io</dc:creator>
      <pubDate>Sat, 21 Nov 2026 01:29:28 +0000</pubDate>
      <link>https://dev.to/techoptio/i-dont-write-code-anymore-how-i-develop-with-ai-agents-5535</link>
      <guid>https://dev.to/techoptio/i-dont-write-code-anymore-how-i-develop-with-ai-agents-5535</guid>
      <description>&lt;p&gt;A couple of years ago, I was writing thousands of lines of code a year. Today, I don't really write code anymore.&lt;/p&gt;

&lt;p&gt;That sounds more dramatic than it is. I still work on software every day, and I still need to understand what the code does. But whether I'm implementing a large feature, changing one line, investigating a bug, or configuring infrastructure, my first move is usually to ask an AI agent.&lt;/p&gt;

&lt;p&gt;This happened gradually. First came autocomplete and helpful code snippets. Then agents became reliable enough to work on complete functions and features. Throughout 2026, the improvement has been extraordinary. I've gone from using AI as a coding assistant to building almost my entire workflow around it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The biggest change isn't just that I type less. It's that I can work at speeds that weren't possible when every implementation depended on me.&lt;/strong&gt; I can have multiple agents progressing on different features and projects while I review plans, answer questions, and decide what ships.&lt;/p&gt;

&lt;p&gt;Here's what that workflow looks like in practice, what it costs, and why I still think knowing how to program matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  I describe the outcome, not the code to write
&lt;/h2&gt;

&lt;p&gt;I used to approach a task by opening the relevant files, figuring out the implementation, making the edit, and running the tests. Now I start by describing the result I want.&lt;/p&gt;

&lt;p&gt;That might be a screenshot with a requested UI change, a feature description, or simply, "Why is this page slow?" I don't need to tell the agent which function to edit before it's had a chance to inspect the project.&lt;/p&gt;

&lt;p&gt;I still decide whether an implementation makes sense. That responsibility hasn't disappeared. In fact, the ability to generate code so quickly makes it easier to create a &lt;em&gt;lot&lt;/em&gt; of the wrong code if I haven't thought through the problem first.&lt;/p&gt;

&lt;p&gt;That's why one habit has become especially important to me: &lt;strong&gt;plan before building&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Plan Mode is the foundation of my workflow
&lt;/h2&gt;

&lt;p&gt;I use &lt;a href="https://cursor.com/docs/agent/plan-mode" rel="noopener noreferrer"&gt;Cursor's Plan Mode&lt;/a&gt; for anything larger than a straightforward tweak. My first request describes the desired outcome and asks the agent to investigate the repository and propose an implementation plan. It doesn't authorize the implementation yet.&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%2Fdogvqfrs2mb79qz4ewwx.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%2Fdogvqfrs2mb79qz4ewwx.png" alt="Cursor Plan Mode displaying a structured AI implementation plan with development tasks" width="800" height="595"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I use Plan Mode to find problems with an approach before the agent starts writing code.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The initial plan usually needs some corrections. Perhaps the agent missed an existing abstraction, misunderstood how something already works, or proposed an unnecessary change. I reply with short corrections and let it update the plan.&lt;/p&gt;

&lt;p&gt;Once I'm satisfied, I ask it to implement the approved plan. The plan itself is saved as Markdown, with the approach and individual tasks spelled out, so I don't have to repeat everything in another prompt.&lt;/p&gt;

&lt;p&gt;I've accumulated nearly &lt;strong&gt;2,000 saved plans&lt;/strong&gt;. That isn't a count of completed features or conversations; it just illustrates how routinely I work this way.&lt;/p&gt;

&lt;p&gt;For a one-line fix, I usually skip Plan Mode. I still let the agent make the edit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Large features become smaller issues and PRs
&lt;/h3&gt;

&lt;p&gt;I rarely give an agent a huge, vaguely defined feature and tell it to build everything at once.&lt;/p&gt;

&lt;p&gt;Instead, I tend to follow this process:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Work through the overall design with an agent.&lt;/li&gt;
&lt;li&gt;Break the feature into smaller, relatively independent issues.&lt;/li&gt;
&lt;li&gt;Create or refine an implementation plan for each issue.&lt;/li&gt;
&lt;li&gt;Let agents implement those issues separately.&lt;/li&gt;
&lt;li&gt;Review and merge focused pull requests, rather than one enormous diff.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This gives each agent a manageable scope. It's also much easier for me to review, test, and catch mistakes in a smaller PR.&lt;/p&gt;

&lt;h3&gt;
  
  
  Rules and skills save repeated instructions
&lt;/h3&gt;

&lt;p&gt;My agents also work with persistent Markdown rules and reusable skills. Some are general preferences, and others are specific to a repository.&lt;/p&gt;

&lt;p&gt;For example, the agent working on my WordPress site already knows that starting a local Docker stack isn't enough when the task needs actual website content. It knows how to prepare a usable environment, which files should own theme changes, and what the normal deployment process looks like.&lt;/p&gt;

&lt;p&gt;I don't paste those instructions into every conversation. The relevant rules and skills are already there.&lt;/p&gt;

&lt;p&gt;Cursor happens to be my daily client, but none of these ideas depend on Cursor specifically. I could use the same approach with &lt;a href="https://code.claude.com/docs/en/overview" rel="noopener noreferrer"&gt;Claude Code&lt;/a&gt;, &lt;a href="https://openai.com/codex/" rel="noopener noreferrer"&gt;Codex&lt;/a&gt;, or another capable coding agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Parallel agents are where the speed gains really add up
&lt;/h2&gt;

&lt;p&gt;It's useful when one agent can implement something faster than I can. It's far more interesting when &lt;strong&gt;several agents can work on separate problems simultaneously&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I might have one agent investigating a bug, another implementing a feature, and another working on an entirely different project. Instead of completing each task sequentially, I move between agents to clarify requirements, inspect plans, and review results.&lt;/p&gt;

&lt;p&gt;Of course, parallel development creates its own coordination problems. If two agents edit the same files or share a mutable development environment, their changes and tests can interfere with each other.&lt;/p&gt;

&lt;h3&gt;
  
  
  Git worktrees and independent development servers
&lt;/h3&gt;

&lt;p&gt;I've become heavily dependent on &lt;a href="https://git-scm.com/docs/git-worktree" rel="noopener noreferrer"&gt;Git worktrees&lt;/a&gt;. Each worktree gives me another working directory tied to the same repository, so agents can develop different branches without constantly overwriting each other's local changes.&lt;/p&gt;

&lt;p&gt;For web development, I also run separate development server instances on different ports. That lets each agent use and test its own version of the application.&lt;/p&gt;

&lt;p&gt;This is particularly useful when several issues are being implemented at the same time. One agent can be running browser tests against its worktree while another is changing an unrelated feature elsewhere. Each can produce its own PR.&lt;/p&gt;

&lt;p&gt;It doesn't eliminate integration work. I still have to watch for conflicting changes and make sure independently implemented pieces fit together. But it removes a lot of unnecessary waiting.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cloud agents are another option
&lt;/h3&gt;

&lt;p&gt;I've also started experimenting with cloud agents. These can work in their own remote environments without tying up my local computer, even when it's turned off. They can implement tasks, run tests, and prepare PRs for later review.&lt;/p&gt;

&lt;p&gt;I'm still a heavy user of local worktrees and development servers, but remote agents make the idea of parallel development even more interesting heading into 2027.&lt;/p&gt;

&lt;h2&gt;
  
  
  I ask agents to investigate bugs before fixing them
&lt;/h2&gt;

&lt;p&gt;This approach applies to debugging, too.&lt;/p&gt;

&lt;p&gt;When something breaks, I often ask an agent to investigate the root cause and find reproduction steps &lt;strong&gt;without changing anything yet&lt;/strong&gt;. I want it to trace the relevant behavior, examine the code, and explain what it thinks happened.&lt;/p&gt;

&lt;p&gt;A question like "Why is this slow?" should remain an investigation. "Should we fix it?" should produce a recommendation, not an unsolicited implementation.&lt;/p&gt;

&lt;p&gt;Once I understand the problem, I can approve a fix or request a plan for a more complicated change.&lt;/p&gt;

&lt;p&gt;Sometimes I'll use a stronger model to investigate a difficult issue, then hand the approved implementation to a cheaper model. The expensive reasoning can be valuable without being necessary for every subsequent edit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agents need to test the actual app
&lt;/h2&gt;

&lt;p&gt;A successful build doesn't mean a feature works.&lt;/p&gt;

&lt;p&gt;For web changes, I use Cursor's &lt;a href="https://cursor.com/docs/agent/tools/browser" rel="noopener noreferrer"&gt;built-in browser tools&lt;/a&gt; to have the agent interact with the running site. It should click buttons, enter text, submit forms, follow flows across screens, and test empty or error states when relevant. For visual changes, I want desktop and mobile-sized layouts checked.&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%2Fel5zkjmlt12r2sjohpdc.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%2Fel5zkjmlt12r2sjohpdc.png" alt="Cursor browser MCP testing a web application through automated browser interactions" width="800" height="595"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Here, the agent is testing the search functionality on my blog through the browser, rather than just assuming the code works.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I can sign into a website myself and then let the agent continue working in that authenticated browser session. If a test fails, it can investigate, make a correction, and test again.&lt;/p&gt;

&lt;p&gt;For mobile development, I use &lt;a href="https://github.com/mobile-next/mobile-mcp" rel="noopener noreferrer"&gt;mobile-mcp&lt;/a&gt;. It lets agents interact with iOS simulators, Android emulators, and even my physical phone. They can navigate screens, tap controls, and type into the running app.&lt;/p&gt;

&lt;p&gt;The principle is the same everywhere: &lt;strong&gt;verify the experience, not just the source code&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  MCP turns the agent into more than a code editor
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://cursor.com/docs/mcp" rel="noopener noreferrer"&gt;Model Context Protocol (MCP)&lt;/a&gt; has been another big part of my workflow. Rather than constantly copying details between an IDE and external dashboards, I can give agents access to tools that interact with those services.&lt;/p&gt;

&lt;p&gt;For example, I use integrations for Stripe and Firebase when working on features that involve those platforms. For WordPress, I use an MCP adapter connected to my site, allowing the agent to discover and use the operations exposed by the server.&lt;/p&gt;

&lt;p&gt;Having access to a tool isn't blanket authorization for the agent to do anything it wants. The task still determines what I want investigated or changed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Homelabbing has become much faster
&lt;/h3&gt;

&lt;p&gt;I've given my agents SSH and browser-based access to my Proxmox infrastructure. Instead of manually performing every installation and configuration step, I can describe the end state, review a plan, and let an agent do much of the work.&lt;/p&gt;

&lt;p&gt;I've recently used this approach to spin up self-hosted applications such as &lt;a href="https://docs.paperless-ngx.com/" rel="noopener noreferrer"&gt;Paperless-ngx&lt;/a&gt; and &lt;a href="https://warracker.com/" rel="noopener noreferrer"&gt;Warracker&lt;/a&gt; in new LXC containers.&lt;/p&gt;

&lt;p&gt;Even here, &lt;strong&gt;I start in Plan Mode&lt;/strong&gt;. Before changing infrastructure, the agent proposes the container setup and deployment approach. I review that, make corrections where necessary, and only then let it proceed over SSH and in the browser.&lt;/p&gt;

&lt;p&gt;It's made expanding my homelab dramatically easier. I already use Proxmox for other services, including &lt;a href="https://www.techopt.io/servers-networking/my-icloud-photos-alternative-setting-up-immich-on-proxmox" rel="noopener noreferrer"&gt;my Immich photo backup setup&lt;/a&gt;, and starting another self-hosted app no longer feels like a project in itself.&lt;/p&gt;

&lt;p&gt;I also use agents to brainstorm and implement ideas for Home Assistant, from new automations to improvements to existing ones. I've written about &lt;a href="https://www.techopt.io/smart-home/creating-a-low-battery-notification-in-home-assistant" rel="noopener noreferrer"&gt;Home Assistant low-battery notifications&lt;/a&gt;, for example. AI makes it much easier to move from "What else could I automate?" to an actual implementation plan.&lt;/p&gt;

&lt;h3&gt;
  
  
  AWS administration through the browser
&lt;/h3&gt;

&lt;p&gt;I use the browser tools for the AWS infrastructure behind TechOpt, too. For instance, I can ask an agent to examine CloudFront configuration in the AWS console and review how it's used in the codebase to identify potential cost savings.&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%2Fmj4xu5me36vboap4xoxg.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%2Fmj4xu5me36vboap4xoxg.png" alt="Cursor AI agent using browser MCP to audit AWS CloudFront distributions and identify cost-saving opportunities" width="800" height="595"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;An agent inspecting my AWS CloudFront distributions and investigating ways to reduce costs.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That doesn't mean the agent automatically gets to apply every suggestion. I still decide which changes make sense. But it's useful to have code, infrastructure, and service management available from the same workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  The uncomfortable part: AI development is getting expensive
&lt;/h2&gt;

&lt;p&gt;As impressed as I am by the tools, the costs have become increasingly frustrating.&lt;/p&gt;

&lt;p&gt;I previously had genuinely unlimited usage in Cursor. That changed, along with the way Auto usage is priced. I'm still on the &lt;strong&gt;legacy Ultra plan at $200 USD per month&lt;/strong&gt;, with included allowances for Cursor models and third-party models such as Claude Opus.&lt;/p&gt;

&lt;p&gt;The newer &lt;strong&gt;X Subscription Ultra&lt;/strong&gt; is a different offering despite its $200 USD monthly price. As described in &lt;a href="https://cursor.com/docs/account/pricing/legacy-cursor-plans" rel="noopener noreferrer"&gt;Cursor's legacy plan comparison&lt;/a&gt;, it has included Cursor/Grok usage but doesn't include a separate third-party model allowance. Models such as Opus are billed separately at API prices from the first request.&lt;/p&gt;

&lt;p&gt;I've exhausted my legacy Ultra plan's included usage several times. At a monthly price approaching &lt;strong&gt;$300 CAD&lt;/strong&gt;, that's not a particularly enjoyable experience.&lt;/p&gt;

&lt;p&gt;These plan details are a snapshot of the offerings described when I wrote this in November 2026. They may change, but the underlying issue remains: running coding agents constantly can get expensive, especially when several of them are working in parallel.&lt;/p&gt;

&lt;h3&gt;
  
  
  I choose models based on the task
&lt;/h3&gt;

&lt;p&gt;My main cost-saving habit is simple: don't use the most expensive model when a cheaper one can do the job.&lt;/p&gt;

&lt;p&gt;I estimate that &lt;strong&gt;Grok handles more than 90% of my tasks&lt;/strong&gt;. I used to rely on Composer as my default, but Grok has become capable enough for most day-to-day implementations.&lt;/p&gt;

&lt;p&gt;For complicated plans, demanding changes, or tough bugs, I'll switch to Claude Opus. Sometimes Opus helps build the plan, and Grok implements it once I've approved the approach.&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%2F38fhjy4d7sgmj7mh32j3.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%2F38fhjy4d7sgmj7mh32j3.png" alt="Cursor coding model settings showing Grok with Fast mode disabled and High reasoning effort" width="503" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;My usual Grok settings: Fast disabled, reasoning effort set to High.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;One important distinction: &lt;strong&gt;Fast and reasoning effort are separate controls&lt;/strong&gt;. I leave Grok's Fast speed tier off because it costs more, while keeping effort at High. Reducing effort to Medium or Low can reduce reasoning-token consumption, but I generally prefer the results I get with High.&lt;/p&gt;

&lt;p&gt;I'm not trying to minimize the price of every request. If a stronger model solves a problem correctly the first time, it may cost less overall than several failed attempts with a cheaper one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code review is becoming the main engineering activity
&lt;/h2&gt;

&lt;p&gt;With agents producing so much implementation code, I now spend more time reviewing plans and diffs than writing functions.&lt;/p&gt;

&lt;p&gt;Breaking large features into smaller issues helps a lot. I can review a focused PR rather than trying to understand a massive change that touches half the application. I look for unexpected edits, missed edge cases, unnecessary complexity, and implementations that technically work but solve the wrong problem.&lt;/p&gt;

&lt;p&gt;And now even code review is becoming agent-driven.&lt;/p&gt;

&lt;p&gt;I can have one agent implement something and another review it for bugs or problems with the original plan. The implementing agent addresses that feedback, then the reviewer looks again. Iterative review loops can catch issues before I inspect the final diff myself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I still make the final call.&lt;/strong&gt; An agent being happy with another agent's code doesn't automatically mean it's safe or correct. Questions aren't permission to implement, and implementation isn't permission to commit or deploy. I use explicit rules and skills for those boundaries, including what the agent needs to verify before shipping.&lt;/p&gt;

&lt;p&gt;The bottleneck has shifted from how quickly I can type to how effectively I can direct, review, and integrate the work.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does this mean for developers just learning to code?
&lt;/h2&gt;

&lt;p&gt;I've been programming for &lt;strong&gt;more than 15 years&lt;/strong&gt;. I learned to build systems and debug problems long before agents could do these things for me.&lt;/p&gt;

&lt;p&gt;That experience is a big reason this workflow is effective. When an agent proposes an architecture, rewrites a query, or changes a complex component, I can usually tell whether the approach makes sense. I'm not just approving an impressive-looking diff.&lt;/p&gt;

&lt;p&gt;I do wonder what this means for someone learning programming in school today. If an agent can complete an assignment, how do you build the instincts to spot a bad implementation or question a flawed assumption? What happens when the agent is wrong and you don't yet have the experience to recognize it?&lt;/p&gt;

&lt;p&gt;On the other hand, these tools can be incredible teachers. A student can ask for explanations, compare alternatives, trace bugs, and get immediate feedback. Maybe people will learn differently rather than less.&lt;/p&gt;

&lt;p&gt;I don't have a definitive answer. But I suspect &lt;strong&gt;learning to evaluate AI-generated code will become as important as learning to prompt an agent to write it&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking toward 2027
&lt;/h2&gt;

&lt;p&gt;The improvement in coding agents throughout 2026 has been remarkable. More of the tasks I once reserved for premium models are now within reach of cheaper ones, and I don't expect the models or development clients I use today to remain my defaults forever.&lt;/p&gt;

&lt;p&gt;What excites me most is the speed. I can take an idea to working software incredibly quickly, work on multiple projects at once, and spend more of my time on decisions rather than mechanical implementation.&lt;/p&gt;

&lt;p&gt;I'm not saying everyone should stop writing code by hand. I'm describing where my own work has ended up, and why I find it exciting.&lt;/p&gt;

&lt;p&gt;I write less code than ever. I'm building at a pace I wouldn't have imagined a few years ago. And I don't feel like I'm doing any less engineering.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.techopt.io/programming/ai-first-development-why-i-dont-write-code-anymore" rel="noopener noreferrer"&gt;TechOpt.io&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>devops</category>
    </item>
    <item>
      <title>How I Host an openSUSE RPM Repository Using Gitea</title>
      <dc:creator>David - TechOpt.io</dc:creator>
      <pubDate>Tue, 17 Nov 2026 02:06:18 +0000</pubDate>
      <link>https://dev.to/techoptio/how-i-host-an-opensuse-rpm-repository-using-gitea-4bp7</link>
      <guid>https://dev.to/techoptio/how-i-host-an-opensuse-rpm-repository-using-gitea-4bp7</guid>
      <description>&lt;p&gt;I use both openSUSE Leap and Tumbleweed, and I wanted one place to manage RPM packages that aren't available through my usual repositories. Downloading the same RPM manually on every machine gets old, especially when the application updates frequently.&lt;/p&gt;

&lt;p&gt;Since I already host Gitea, I decided to use its built-in RPM package registry rather than run another repository server.&lt;/p&gt;

&lt;p&gt;The result is a &lt;strong&gt;single RPM repository that works with &lt;code&gt;zypper&lt;/code&gt; on both Leap and Tumbleweed&lt;/strong&gt;. I currently use it for Cursor, with an hourly job that checks for new upstream builds, signs and publishes them through Gitea, and removes old versions.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Gitea can serve an &lt;code&gt;rpm-md&lt;/code&gt; repository directly. Upload RPMs to a package group, sign them through Gitea, import the signing key on openSUSE, and add the repository to &lt;code&gt;zypper&lt;/code&gt;. My updater checks Cursor's latest RPM once per hour and keeps the two most recent builds.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why Gitea Works as an RPM Repository
&lt;/h2&gt;

&lt;p&gt;Gitea 1.20+ supports RPM package hosting, including the repository metadata that &lt;code&gt;zypper&lt;/code&gt;, &lt;code&gt;dnf&lt;/code&gt;, and &lt;code&gt;yum&lt;/code&gt; understand. Gitea 1.23+ also supports signing RPMs during upload.&lt;/p&gt;

&lt;p&gt;That means I don't need a separate web server full of RPMs or a job that runs &lt;code&gt;createrepo_c&lt;/code&gt;. When I publish a package, Gitea updates the repository's &lt;code&gt;repodata&lt;/code&gt; for me.&lt;/p&gt;

&lt;p&gt;Here's the example configuration I'll use throughout this article:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Gitea server&lt;/td&gt;
&lt;td&gt;&lt;code&gt;https://git.example.com&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Package owner&lt;/td&gt;
&lt;td&gt;&lt;code&gt;packages&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RPM group&lt;/td&gt;
&lt;td&gt;&lt;code&gt;opensuse&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Architecture&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x86_64&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Example package&lt;/td&gt;
&lt;td&gt;&lt;code&gt;cursor&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repository URL&lt;/td&gt;
&lt;td&gt;&lt;code&gt;https://git.example.com/api/packages/packages/rpm/opensuse&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The word &lt;code&gt;packages&lt;/code&gt; appears twice in that URL: once in the API route and once as the package owner's name. All domains, account names, and credentials in this guide are placeholders.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This is a mirror of upstream RPMs, not a package build system.&lt;/strong&gt; I don't rebuild Cursor from source or maintain an openSUSE Build Service project. The upstream RPM simply needs to be compatible with my machines.&lt;/p&gt;

&lt;p&gt;For example, the Cursor RPM I tested in September 2026 had an &lt;code&gt;.el8&lt;/code&gt; suffix, but installed successfully on Leap 15.6 and Tumbleweed. That's not a guarantee for every Fedora-targeted RPM: check its dependencies before mirroring another package.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Prepare Gitea for Large RPM Uploads
&lt;/h2&gt;

&lt;p&gt;First, make sure the Gitea package registry is enabled and you're running a version that supports the signing features you want.&lt;/p&gt;

&lt;p&gt;Cursor's RPM was around 290 MB when I set this up, so I also had to account for the upload limit on my reverse proxy. For nginx, for example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="n"&gt;client_max_body_size&lt;/span&gt; &lt;span class="mi"&gt;512m&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An HTTP &lt;code&gt;413 Request Entity Too Large&lt;/code&gt; response usually means the proxy isn't accepting the entire file.&lt;/p&gt;

&lt;p&gt;Create a Gitea personal access token for the publisher with these scopes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;read:package&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;write:package&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keep that token on the publishing machine. Clients don't need publishing permissions, and if your package owner is private, they should use a &lt;strong&gt;separate read-only token&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Upload an RPM and Have Gitea Sign It
&lt;/h2&gt;

&lt;p&gt;Gitea accepts RPM uploads using HTTP &lt;code&gt;PUT&lt;/code&gt;. With an RPM downloaded to the current directory, I can publish it using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl --user USER:TOKEN --upload-file cursor.rpm \
  &lt;span class="s2"&gt;"https://git.example.com/api/packages/packages/rpm/opensuse/upload?sign=true"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important detail is &lt;code&gt;sign=true&lt;/code&gt;. The upstream Cursor RPM I used was unsigned, and the repository configuration expects signed packages with &lt;code&gt;gpgcheck=1&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You can also enable signing by default in Gitea's &lt;code&gt;app.ini&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="k"&gt;[packages]&lt;/span&gt;
&lt;span class="na"&gt;DEFAULT_RPM_SIGN_ENABLED&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A successful upload returns &lt;code&gt;201 Created&lt;/code&gt; and regenerates the repository metadata. A &lt;code&gt;409 Conflict&lt;/code&gt; means that exact package version is already present; my publisher leaves it alone rather than deleting and uploading it again.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Import Gitea's Signing Key on openSUSE
&lt;/h2&gt;

&lt;p&gt;Before installing anything, I import the public key associated with the Gitea package owner.&lt;/p&gt;

&lt;p&gt;For this example, the key is published at:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://git.example.com/api/packages/packages/rpm/repository.key
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Gitea serves this key in a format that I first convert to ASCII armor using GnuPG. In a root shell (&lt;code&gt;sudo -i&lt;/code&gt;), run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsS -o repository.key \
  &lt;span class="s2"&gt;"https://git.example.com/api/packages/packages/rpm/repository.key"&lt;/span&gt;

gpg --batch --import repository.key
mkdir -p /etc/pki/rpm-gpg
gpg --batch --export --armor &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /etc/pki/rpm-gpg/gitea-packages-opensuse.asc
rpm --import /etc/pki/rpm-gpg/gitea-packages-opensuse.asc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On a machine with other GnuPG public keys already imported, export only the intended Gitea key rather than exporting every key from your keyring. Verify the key's fingerprint through a trusted channel before importing it.&lt;/p&gt;

&lt;p&gt;Each Gitea package owner has its own signing key. If you change owners, you'll need the corresponding key on the clients.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Connect zypper to the Repository
&lt;/h2&gt;

&lt;p&gt;I configure Leap and Tumbleweed the same way. One small adjustment has also saved me trouble with large RPM downloads: I set &lt;code&gt;TMPDIR&lt;/code&gt; to &lt;code&gt;/var/tmp&lt;/code&gt; before using &lt;code&gt;zypper&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;TMPDIR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/var/tmp
mkdir -p &lt;span class="s2"&gt;"$TMPDIR"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On systems where &lt;code&gt;/tmp&lt;/code&gt; is a separate &lt;code&gt;tmpfs&lt;/code&gt;, using &lt;code&gt;/var/tmp&lt;/code&gt; avoids a cross-filesystem rename problem when moving a downloaded RPM into place. Keep the same shell open for the installation commands below.&lt;/p&gt;

&lt;h3&gt;
  
  
  My setup: a private Gitea package owner
&lt;/h3&gt;

&lt;p&gt;My package owner is private, so anonymous repository refreshes won't work. I store a &lt;strong&gt;read-only&lt;/strong&gt; Gitea token in zypper's credentials directory instead of putting it in the repository URL.&lt;/p&gt;

&lt;p&gt;Run the following as root:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;install -d -m 700 /etc/zypp/credentials.d
&lt;span class="nb"&gt;umask&lt;/span&gt; 077

cat &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; /etc/zypp/credentials.d/gitea-packages-opensuse &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF_CREDS'&lt;/span&gt;
&lt;span class="nv"&gt;username&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;USER&lt;/span&gt;
&lt;span class="nv"&gt;password&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;READ_TOKEN
EOF_CREDS

chmod 600 /etc/zypp/credentials.d/gitea-packages-opensuse
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then create &lt;code&gt;/etc/zypp/repos.d/gitea-packages-opensuse.repo&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="k"&gt;[gitea-packages-opensuse]&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;packages&lt;/span&gt; &lt;span class="n"&gt;openSUSE&lt;/span&gt;
&lt;span class="na"&gt;baseurl&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//git.example.com/api/packages/packages/rpm/opensuse?credentials=gitea-packages-opensuse&lt;/span&gt;
&lt;span class="na"&gt;enabled&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;autorefresh&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;gpgcheck&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;gpgkey&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;///etc/pki/rpm-gpg/gitea-packages-opensuse.asc&lt;/span&gt;
&lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;rpm&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;md&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;?credentials=gitea-packages-opensuse&lt;/code&gt; part tells libzypp to read the credentials from the file with that name. It doesn't expose the token in the &lt;code&gt;.repo&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;Now refresh and install:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zypper --non-interactive --gpg-auto-import-keys refresh gitea-packages-opensuse
zypper --non-interactive install --allow-vendor-change cursor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The vendor-change flag is useful if a machine already has Cursor installed from a different source. Future updates are straightforward:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zypper refresh
zypper update cursor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  If the package owner is public
&lt;/h3&gt;

&lt;p&gt;Public repositories are easier because clients don't need a credentials file. After importing the owner's signing key, add Gitea's generated repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;zypper addrepo https://git.example.com/api/packages/packages/rpm/opensuse.repo
zypper refresh
zypper install cursor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep &lt;code&gt;TMPDIR=/var/tmp&lt;/code&gt; set for the install. If the generated &lt;code&gt;.repo&lt;/code&gt; references the raw signing key, edit its &lt;code&gt;gpgkey&lt;/code&gt; to point to the local armored &lt;code&gt;.asc&lt;/code&gt; file shown above.&lt;/p&gt;

&lt;p&gt;That's it: both openSUSE distributions can install packages from the same group with normal &lt;code&gt;zypper&lt;/code&gt; commands.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Keep Cursor Updated Automatically
&lt;/h2&gt;

&lt;p&gt;Uploading an RPM by hand is fine initially, but I don't want to check for new Cursor releases every day. My publishing job runs once an hour and watches this URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api2.cursor.sh/updates/download/golden/linux-x64-rpm/cursor/latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It redirects to the current RPM download. I inspect the redirect with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSI \
  &lt;span class="s2"&gt;"https://api2.cursor.sh/updates/download/golden/linux-x64-rpm/cursor/latest"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The destination contains a &lt;code&gt;production/&amp;lt;commit&amp;gt;/&lt;/code&gt; segment. My publisher stores that commit in a state file and compares it on the next run. If the commit hasn't changed, it skips downloading another large RPM.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use the URL ending in &lt;code&gt;/cursor/latest&lt;/code&gt;.&lt;/strong&gt; A URL ending in a particular release line (for example, &lt;code&gt;/cursor/3.22&lt;/code&gt;) could stop following newer minor versions. The version and commit values from September 2026 were just snapshots, not current release numbers.&lt;/p&gt;

&lt;p&gt;When the commit changes, my job:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Downloads the upstream RPM.&lt;/li&gt;
&lt;li&gt;Reads its name, version, release, and architecture using &lt;code&gt;rpm -qp --nosignature&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Uploads it to the &lt;code&gt;opensuse&lt;/code&gt; group with &lt;code&gt;sign=true&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Saves the new commit identifier after successful publication.&lt;/li&gt;
&lt;li&gt;Lists package versions in Gitea and deletes all but the newest two.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For example, you can inspect package metadata with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rpm -qp --nosignature \
  --queryformat &lt;span class="s1"&gt;'%{NAME}\n%{VERSION}-%{RELEASE}\n%{ARCH}\n'&lt;/span&gt; \
  cursor.rpm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Gitea exposes package versions at an endpoint like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GET /api/v1/packages/packages/rpm/cursor?limit=50
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;My publisher sorts versions by &lt;code&gt;created_at&lt;/code&gt; and keeps the newest two. To delete an older version, it calls the registry's delete endpoint:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl --user USER:TOKEN -X DELETE \
  &lt;span class="s2"&gt;"https://git.example.com/api/packages/packages/rpm/opensuse/package/cursor/VERSION-RELEASE/x86_64"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The two-version limit gives me one previous build without accumulating gigabytes of old RPMs. The publishing script itself is a private local project, but these are the steps it performs.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Schedule the Publisher With systemd
&lt;/h2&gt;

&lt;p&gt;I run the publisher from an always-on Linux machine using a systemd &lt;strong&gt;user&lt;/strong&gt; timer. This avoids setting up Gitea Actions or another CI runner just to mirror one package.&lt;/p&gt;

&lt;p&gt;My private environment file, &lt;code&gt;~/.config/opensuse-rpm/env&lt;/code&gt;, contains placeholders like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GITEA_URL=https://git.example.com
GITEA_OWNER=packages
GITEA_USER=USER
GITEA_TOKEN=TOKEN
GITEA_GROUP=opensuse
KEEP=2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Make sure the real file is readable only by its owner (&lt;code&gt;chmod 600&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;The service at &lt;code&gt;~/.config/systemd/user/opensuse-rpm-sync.service&lt;/code&gt; is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="k"&gt;[Unit]&lt;/span&gt;
&lt;span class="na"&gt;Description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nc"&gt;Publish&lt;/span&gt; &lt;span class="n"&gt;vendor&lt;/span&gt; &lt;span class="nc"&gt;RPMs&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="nc"&gt;Gitea&lt;/span&gt; &lt;span class="n"&gt;openSUSE&lt;/span&gt; &lt;span class="n"&gt;repository&lt;/span&gt;
&lt;span class="na"&gt;Wants&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;network&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;online&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;
&lt;span class="na"&gt;After&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;network&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;online&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;

&lt;span class="k"&gt;[Service]&lt;/span&gt;
&lt;span class="na"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;oneshot&lt;/span&gt;
&lt;span class="na"&gt;EnvironmentFile&lt;/span&gt;&lt;span class="o"&gt;=%&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opensuse&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;rpm&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;
&lt;span class="na"&gt;ExecStart&lt;/span&gt;&lt;span class="o"&gt;=%&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;sync&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;opensuse&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;rpm&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt;
&lt;span class="na"&gt;Nice&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;ExecStart&lt;/code&gt; is an example path; point it to your own script implementing the workflow above.&lt;/p&gt;

&lt;p&gt;The timer at &lt;code&gt;~/.config/systemd/user/opensuse-rpm-sync.timer&lt;/code&gt; is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="k"&gt;[Unit]&lt;/span&gt;
&lt;span class="na"&gt;Description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nc"&gt;Hourly&lt;/span&gt; &lt;span class="n"&gt;openSUSE&lt;/span&gt; &lt;span class="no"&gt;RPM&lt;/span&gt; &lt;span class="n"&gt;sync&lt;/span&gt;

&lt;span class="k"&gt;[Timer]&lt;/span&gt;
&lt;span class="na"&gt;OnCalendar&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;hourly&lt;/span&gt;
&lt;span class="na"&gt;Persistent&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="na"&gt;RandomizedDelaySec&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5min&lt;/span&gt;

&lt;span class="k"&gt;[Install]&lt;/span&gt;
&lt;span class="na"&gt;WantedBy&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;timers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To enable it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl --user daemon-reload
systemctl --user &lt;span class="nb"&gt;enable&lt;/span&gt; --now opensuse-rpm-sync.timer
loginctl enable-linger &lt;span class="s2"&gt;"$USER"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Lingering lets the user timer continue running when I'm not logged in. &lt;code&gt;Persistent=true&lt;/code&gt; also catches up on missed scheduled runs when the machine comes back online.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adding More RPMs Later
&lt;/h2&gt;

&lt;p&gt;The nice part is that I can add other vendor RPMs without adding another repository to every openSUSE installation.&lt;/p&gt;

&lt;p&gt;Each package gets its own source definition and state file, but uploads go to the same &lt;code&gt;opensuse&lt;/code&gt; group. For example, another package could use a direct URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;NAME=example
KIND=url
URL=https://example.com/example-latest.x86_64.rpm
KEEP=2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;My publisher supports redirect-based sources, direct URLs (checking HTTP metadata or SHA256), and local RPM files (checking SHA256). Keeping state separately for each package ensures one update doesn't interfere with another.&lt;/p&gt;

&lt;p&gt;Once an additional RPM is published, clients just run &lt;code&gt;zypper refresh&lt;/code&gt; and install the package by name. Adding the repository does &lt;strong&gt;not&lt;/strong&gt; automatically install every RPM in it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Few Things to Watch Out For
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HTTP 413 on upload:&lt;/strong&gt; Increase the request body limit on the reverse proxy in front of Gitea.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signature verification errors:&lt;/strong&gt; Confirm the RPM was signed, then check that the client imported the correct owner's key. Don't disable &lt;code&gt;gpgcheck&lt;/code&gt; to hide the problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Private repository won't refresh:&lt;/strong&gt; Check the read token, the &lt;code&gt;/etc/zypp/credentials.d&lt;/code&gt; file permissions, and the &lt;code&gt;?credentials=&lt;/code&gt; filename.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A download fails during a rename:&lt;/strong&gt; Try using &lt;code&gt;TMPDIR=/var/tmp&lt;/code&gt; in the same shell as &lt;code&gt;zypper&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Updates aren't detected:&lt;/strong&gt; Check the &lt;code&gt;/cursor/latest&lt;/code&gt; redirect and the systemd service logs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One final Cursor-specific detail: on systems with &lt;code&gt;dnf&lt;/code&gt; installed, the Cursor RPM may create &lt;code&gt;/etc/yum.repos.d/cursor.repo&lt;/code&gt;. I remove that extra repository file so it doesn't become a second source for Cursor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;rm -f /etc/yum.repos.d/cursor.repo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Would I Use Gitea for RPM Hosting Again?
&lt;/h2&gt;

&lt;p&gt;Yes. For my setup, Gitea already handles package storage, signing, and repository metadata, while &lt;code&gt;zypper&lt;/code&gt; handles the client-side installation and updates. I don't need to maintain another repository service just to make a few third-party RPMs available on Leap and Tumbleweed.&lt;/p&gt;

&lt;p&gt;There is still a small custom publishing job to maintain, and I need to verify that upstream RPMs remain compatible with openSUSE. But once the registry and clients are configured, it's a convenient way to manage the packages across my machines.&lt;/p&gt;

&lt;p&gt;If you're also maintaining Leap systems, I wrote a separate guide on &lt;a href="https://www.techopt.io/linux/upgrade-opensuse-leap-to-16-0-from-15-6" rel="noopener noreferrer"&gt;upgrading openSUSE Leap 15.6 to 16.0&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.techopt.io/linux/host-an-opensuse-rpm-repository-with-gitea-and-zypper" rel="noopener noreferrer"&gt;TechOpt.io: Host an openSUSE RPM Repository With Gitea and zypper&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>devops</category>
      <category>opensource</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How I Set Up Immich on Proxmox for iPhone Photo Backups</title>
      <dc:creator>David - TechOpt.io</dc:creator>
      <pubDate>Mon, 16 Nov 2026 01:12:14 +0000</pubDate>
      <link>https://dev.to/techoptio/how-i-set-up-immich-on-proxmox-for-iphone-photo-backups-3h6o</link>
      <guid>https://dev.to/techoptio/how-i-set-up-immich-on-proxmox-for-iphone-photo-backups-3h6o</guid>
      <description>&lt;p&gt;I wanted to stop paying for extra iCloud storage, but I wasn't willing to give up automatic photo backups from my iPhone. Since I already run a Proxmox homelab and have a NAS, I decided to host &lt;a href="https://immich.app/" rel="noopener noreferrer"&gt;Immich&lt;/a&gt; myself.&lt;/p&gt;

&lt;p&gt;Immich gives me a photo timeline, search, albums, a map, and an iPhone app that sends photos and videos to storage I control. Here's how I deployed it with Debian, Docker Compose, and NFS, along with a few things I'd do differently if I were starting from scratch.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; I run Immich in a Debian 13 LXC container on Proxmox, store photos on my NAS, and keep PostgreSQL on local storage. It works well for my iPhone backups, but if you're new to this setup, I'd recommend a Debian VM instead of Docker inside LXC.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why I Chose Immich Instead of iCloud Photos
&lt;/h2&gt;

&lt;p&gt;The biggest selling point wasn't just getting away from a monthly subscription. I already have a server running 24/7, so it made sense to use that hardware for my photo library, too.&lt;/p&gt;

&lt;p&gt;Immich has the features I actually use: an organized photo timeline, automatic mobile uploads, albums, location-based browsing, and search. I can open the same library from my phone or a browser without manually copying files between devices.&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%2Fspb1679clmkhy12rgzxz.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%2Fspb1679clmkhy12rgzxz.png" alt="Immich desktop photo library showing the timeline and photos in a web browser" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Immich's web interface feels familiar if you've used iCloud Photos or Google Photos.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;There is an important distinction, though: &lt;strong&gt;Immich is not a drop-in replacement for Apple's two-way photo syncing.&lt;/strong&gt; Its mobile app backs up selected photos and videos to your server, but it doesn't replace the native iOS Photos library or every iCloud integration.&lt;/p&gt;

&lt;p&gt;Also, iOS limits how often third-party apps can upload in the background. I enable Background App Refresh and open Immich periodically, especially after taking lots of photos.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Proxmox and Immich Configuration
&lt;/h2&gt;

&lt;p&gt;Here's what I'm running in my homelab:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Configuration&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Hypervisor&lt;/td&gt;
&lt;td&gt;Proxmox&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Guest OS&lt;/td&gt;
&lt;td&gt;Debian 13 LXC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CPU and RAM&lt;/td&gt;
&lt;td&gt;4 cores, 8 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Root disk&lt;/td&gt;
&lt;td&gt;64 GB, ZFS-backed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;td&gt;Docker Compose in &lt;code&gt;/opt/immich&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Photo storage&lt;/td&gt;
&lt;td&gt;NAS over NFS, mounted at &lt;code&gt;/mnt/photos&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;PostgreSQL on local disk at &lt;code&gt;/opt/immich/postgres&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Remote access&lt;/td&gt;
&lt;td&gt;HTTPS through HAProxy on OPNsense&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&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%2Fco7csomrqdzsimzio3n6.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%2Fco7csomrqdzsimzio3n6.png" alt="Proxmox LXC container configuration for my Immich server with four CPU cores and eight gigabytes of RAM" width="508" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My LXC container is privileged, and Docker inside LXC can require additional Proxmox configuration. &lt;strong&gt;Immich recommends a full VM for this use case.&lt;/strong&gt; If I were setting this up for someone who wanted the fewest surprises, I'd create a Debian VM instead.&lt;/p&gt;

&lt;p&gt;For a deeper comparison, I wrote about &lt;a href="https://www.techopt.io/servers-networking/lxc-containers-vs-virtual-machines-in-proxmox" rel="noopener noreferrer"&gt;LXC containers versus virtual machines in Proxmox&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Immich on Proxmox
&lt;/h2&gt;

&lt;p&gt;The following is the simplified process I followed. It assumes you already have a network-connected Debian guest and shell access.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Install Docker and Compose
&lt;/h3&gt;

&lt;p&gt;Give the Debian guest enough memory and CPU for Immich. My allocation is 4 cores and 8 GB RAM, in line with the &lt;a href="https://docs.immich.app/install/requirements/" rel="noopener noreferrer"&gt;recommended requirements&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Install Docker Engine and the Compose plugin following &lt;a href="https://docs.docker.com/engine/install/debian/" rel="noopener noreferrer"&gt;Docker's official Debian instructions&lt;/a&gt;. Use the modern &lt;code&gt;docker compose&lt;/code&gt; command, not the older &lt;code&gt;docker-compose&lt;/code&gt; executable.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Configure your photo storage
&lt;/h3&gt;

&lt;p&gt;I keep my actual photos and videos on the NAS, separate from the guest's root filesystem. You can use a local disk instead, but make sure there's enough room for your originals, thumbnails, and transcoded videos.&lt;/p&gt;

&lt;p&gt;For an NFS share, an illustrative mount inside a Debian VM looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo apt update
sudo apt install nfs-common
sudo mkdir -p /mnt/photos
sudo mount -t nfs 10.0.0.100:/srv/photos /mnt/photos
findmnt /mnt/photos
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace the example IP address and export path with your NAS settings. To mount it again after a reboot, add an entry to &lt;code&gt;/etc/fstab&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;10.0.0.100:/srv/photos /mnt/photos nfs defaults,_netdev 0 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check that the NAS is mounted and writable before starting Immich.&lt;/strong&gt; Otherwise, the same local directory can exist without the NAS attached, and uploads may end up on the wrong disk.&lt;/p&gt;

&lt;p&gt;If you choose LXC, NFS mounting has extra permission and container considerations; a host-mounted share passed into the container may be more practical.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Download Immich's official Compose files
&lt;/h3&gt;

&lt;p&gt;I keep the deployment under &lt;code&gt;/opt/immich&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo mkdir -p /opt/immich
&lt;span class="nb"&gt;cd&lt;/span&gt; /opt/immich
sudo wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
sudo wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then edit &lt;code&gt;/opt/immich/.env&lt;/code&gt; to reflect your storage paths and database credentials:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;UPLOAD_LOCATION=/mnt/photos
DB_DATA_LOCATION=./postgres
IMMICH_VERSION=v3
DB_PASSWORD=REPLACE_WITH_A_RANDOM_ALPHANUMERIC_PASSWORD
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;v3&lt;/code&gt; value reflects the current major-version tag used in the official example when I wrote this. Check &lt;a href="https://docs.immich.app/install/docker-compose/" rel="noopener noreferrer"&gt;Immich's Docker Compose guide&lt;/a&gt; for the latest installation details before deploying.&lt;/p&gt;

&lt;p&gt;The key separation is &lt;code&gt;UPLOAD_LOCATION&lt;/code&gt; for the photo library and &lt;code&gt;DB_DATA_LOCATION&lt;/code&gt; for PostgreSQL. &lt;strong&gt;Keep the database on local storage, not an NFS share.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Start the services
&lt;/h3&gt;

&lt;p&gt;From the deployment directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo docker compose up -d
sudo docker compose ps
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the containers are running, open the web interface:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://YOUR_DEBIAN_GUEST_IP:2283
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create the initial account, upload a test photo, and confirm that the file is being stored where you expect.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Add secure remote access
&lt;/h3&gt;

&lt;p&gt;I use HAProxy on my OPNsense firewall to terminate HTTPS and forward requests to Immich on port &lt;code&gt;2283&lt;/code&gt;. That gives my iPhone a consistent HTTPS address whether I'm at home or away.&lt;/p&gt;

&lt;p&gt;You can also use a VPN or another properly configured HTTPS reverse proxy. Follow &lt;a href="https://docs.immich.app/administration/reverse-proxy/" rel="noopener noreferrer"&gt;Immich's reverse proxy documentation&lt;/a&gt; for request headers and upload-size considerations. Don't expose Immich's plain HTTP endpoint directly to the public internet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting Up Automatic iPhone Backups
&lt;/h2&gt;

&lt;p&gt;Once the server was working, the iOS app was the easy part:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install the Immich app and sign in using your server's HTTPS URL.&lt;/li&gt;
&lt;li&gt;Allow it to access your photos and choose the albums you want to back up.&lt;/li&gt;
&lt;li&gt;Open the backup screen, select your albums, and enable backup.&lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;Background App Refresh&lt;/strong&gt; for Immich in iOS Settings.&lt;/li&gt;
&lt;li&gt;Check your library on the web interface to make sure the uploads really arrived.&lt;/li&gt;
&lt;/ol&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%2Fdjk6d7cup44p2tn0lnwz.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%2Fdjk6d7cup44p2tn0lnwz.png" alt="Immich iPhone app showing the photo timeline used for automatic photo backup" width="472" height="1024"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I use the iPhone app for daily browsing and backups, not just as a one-time import tool.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For a large first migration, leave the app open long enough to work through your library. If you use &lt;strong&gt;Optimize iPhone Storage&lt;/strong&gt;, some originals may need to be fetched from iCloud before Immich can upload them.&lt;/p&gt;

&lt;p&gt;Don't downgrade iCloud storage until you've verified that your originals are on the server &lt;strong&gt;and&lt;/strong&gt; have independent backups.&lt;/p&gt;

&lt;p&gt;One feature I particularly like is the map view. If your photos contain GPS metadata, you can browse them by location instead of digging through dates and albums.&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%2Fzdxde7jp910kkvpoblen.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%2Fzdxde7jp910kkvpoblen.png" alt="Immich desktop map view showing photos grouped by GPS locations" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Backups Are the Part You Can't Skip
&lt;/h2&gt;

&lt;p&gt;Self-hosting means I'm responsible for protecting the library. In my setup, photo and video files live on the NAS, while the PostgreSQL database stays on the Debian guest's local disk.&lt;/p&gt;

&lt;p&gt;I have automatic database dumps and a separate scheduled database export, but &lt;strong&gt;a database dump does not contain the original photos and videos&lt;/strong&gt;. Both the media files and the database need to be backed up.&lt;/p&gt;

&lt;p&gt;And a second copy on the same NAS isn't enough protection if that NAS fails. Ideally, keep an independent copy somewhere else, preferably offsite. Immich's &lt;a href="https://docs.immich.app/administration/backup-and-restore/" rel="noopener noreferrer"&gt;backup and restore documentation&lt;/a&gt; is worth reading before you trust it with your only copy of a photo library.&lt;/p&gt;

&lt;p&gt;You'll also need to maintain the deployment. For example, choosing a major-version image tag doesn't mean already-running containers automatically update themselves. I still have to pull and deploy updates, then occasionally clean up unused Docker images without touching important volumes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Would I Recommend Immich?
&lt;/h2&gt;

&lt;p&gt;If you already have Proxmox, a NAS, or a small homelab, absolutely. Immich lets me keep the convenience of automatic iPhone photo backups without relying on another paid cloud storage tier, and I like having direct control over the files.&lt;/p&gt;

&lt;p&gt;Just remember what you're trading: Apple's seamless ecosystem integration for the responsibility of running, updating, and backing up your own server.&lt;/p&gt;

&lt;p&gt;For me, that's worth it. I spend far more time using the Immich app than thinking about the Docker containers behind it, which is exactly what I wanted.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.techopt.io/servers-networking/my-icloud-photos-alternative-setting-up-immich-on-proxmox" rel="noopener noreferrer"&gt;TechOpt.io: My iCloud Photos Alternative - Setting Up Immich on Proxmox&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>proxmox</category>
      <category>linux</category>
      <category>selfhosted</category>
      <category>docker</category>
    </item>
  </channel>
</rss>
