<?xml version="1.0" encoding="UTF-8" ?>
<component type="desktop-application">
  <id>io.github.alyraffauf.Switchyard</id>

  <name>Switchyard</name>
  <summary>Rules-based browser launcher</summary>
  <metadata_license>CC0-1.0</metadata_license>
  <project_license>GPL-3.0-or-later</project_license>
  <content_rating type="oars-1.0" />

  <supports>
    <control>pointing</control>
    <control>keyboard</control>
    <control>touch</control>
  </supports>

  <developer id="io.github.alyraffauf">
    <name>Aly Raffauf</name>
  </developer>

  <provides>
    <binary>switchyard</binary>
    <mediatype>x-scheme-handler/http</mediatype>
    <mediatype>x-scheme-handler/https</mediatype>
    <mediatype>x-scheme-handler/switchyard</mediatype>
  </provides>

  <url type="homepage">https://switchyard.aly.codes/</url>
  <url type="bugtracker">https://github.com/alyraffauf/switchyard/issues</url>
  <url type="vcs-browser">https://github.com/alyraffauf/switchyard</url>
  <url type="donation">https://ko-fi.com/alyraffauf</url>

  <description>
    <p>
      Switchyard puts you in control of where links open and what they open. Work links go to Chrome, personal links to Firefox. You decide the rules.
    </p>
    <p>
      Create rules using simple domain, keyword, wildcard, or regex matching. Combine conditions for precise control. Strip tracking parameters or redirect to privacy-friendly alternatives before links even open. Set it once and forget it.
    </p>
  </description>

  <launchable
        type="desktop-id"
    >io.github.alyraffauf.Switchyard.desktop</launchable>

    <releases>
        <release version="0.14.0" date="2026-05-21">
    <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.14.0</url>
    <description translate="no">
        <p>This release comes with the following improvements:</p>
        <ul>
        <li>Added AdGuard tracking parameter removal.</li>
        <li>Improved margins for launcher.</li>
        </ul>
    </description>
    </release>
    <release version="0.13.0" date="2026-04-19">
    <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.13.0</url>
    <description translate="no">
        <p>This release comes with the following improvements:</p>
        <ul>
        <li>Updated runtime for GNOME 50.</li>
        </ul>
    </description>
    </release>
    <release version="0.12.0" date="2026-02-06">
    <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.12.0</url>
    <description translate="no">
        <p>This release comes with the following improvements:</p>
        <ul>
        <li>Added option to run in the background for faster startup.</li>
        </ul>
    </description>
    </release>
    <release version="0.11.4" date="2026-02-04">
    <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.11.4</url>
    <description translate="no">
        <p>This release comes with the following improvements:</p>
        <ul>
        <li>Improved launcher spacing consistency.</li>
        </ul>
    </description>
    </release>
    <release version="0.11.3" date="2026-01-28">
    <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.11.3</url>
    <description translate="no">
        <p>This release comes with the following improvements:</p>
        <ul>
        <li>Added proper escaping for URLs before launching browsers.</li>
        </ul>
    </description>
    </release>
    <release version="0.11.2" date="2026-01-27">
    <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.11.2</url>
    <description translate="no">
        <p>This release comes with the following improvements:</p>
        <ul>
        <li>Added wrapping to escape browser arguments.</li>
        </ul>
    </description>
    </release>
        <release version="0.11.1" date="2026-01-25">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.11.1</url>
        <description translate="no">
            <p>This release comes with the following improvements:</p>
            <ul>
            <li>Added handling for enter key when URL bar is focused.</li>
            <li
                    >Added workaround for Chromium-based browsers and Incognito links.</li>
            </ul>
        </description>
        </release>
        <release version="0.11.0" date="2026-01-24">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.11.0</url>
        <description translate="no">
            <p>This release comes with the following improvements:</p>
            <ul>
            <li
                    >Added link redirections, allowing users to automatically modify links before they open.</li>
            <li>Added inverse "...is not..." conditions.</li>
            <li
                    >Improved language to adhere to GNOME Human Interface Guidelines.</li>
            <li>Fixed minor bugs slowing down application startup.</li>
            </ul>
        </description>
        </release>
        <release version="0.10.1" date="2026-01-22">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.10.1</url>
        <description translate="no">
            <p>This release comes with the following improvements:</p>
            <ul>
            <li>Don't automatically hide browsers where NoDisplay=true.</li>
            <li>Fix duplicate 'Add Condition' button in rules editor.</li>
            </ul>
        </description>
        </release>
        <release version="0.10.0" date="2026-01-22">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.10.0</url>
        <description translate="no">
            <p>This release comes with the following improvements:</p>
            <ul>
            <li>Added switchyard:// custom URI scheme.</li>
            <li>Fixed crashes for hamburger menu in browser launcher.</li>
            </ul>
        </description>
        </release>
        <release version="0.9.2" date="2026-01-20">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.9.2</url>
        <description translate="no">
            <p>This release comes with the following improvements:</p>
            <ul>
            <li>Fixed UI bug when set as default browser.</li>
            <li>Optimized configuration loading at launch.</li>
            </ul>
        </description>
        </release>
        <release version="0.9.1" date="2026-01-17">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.9.1</url>
        <description translate="no">
            <p>This release comes with the following improvements:</p>
            <ul>
            <li>Fixed up metainfo.</li>
            </ul>
        </description>
        </release>
        <release version="0.9.0" date="2026-01-17">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.9.0</url>
        <description translate="no">
            <p>This release comes with the following improvements:</p>
            <ul>
            <li>Simplified conditions/rule editor.</li>
            <li>Added ability to import and export configuration files.</li>
            </ul>
        </description>
        </release>
      <release version="0.8.2" date="2026-01-17">
        <url
                type="details"
            >https://github.com/alyraffauf/switchyard/releases/tag/v0.8.2</url>
        <description translate="no">
          <p>This release comes with the following improvements:</p>
          <ul>
            <li>Allows import/export of the config file.</li>
            <li>Redesigned rule editor.</li>
          </ul>
        </description>
      </release>
</releases>

<branding>
  <color type="primary" scheme_preference="light">#4f895d</color>
  <color type="primary" scheme_preference="dark">#1a2c1e</color>
</branding>

  <screenshots>
    <screenshot type="default">
      <caption>Select a browser from the launcher.</caption>
      <image
            >https://raw.githubusercontent.com/alyraffauf/switchyard/master/data/screenshots/launcher.png</image>
    </screenshot>
    <screenshot>
      <caption>Bypass the launcher with simple rules.</caption>
      <image
            >https://raw.githubusercontent.com/alyraffauf/switchyard/master/data/screenshots/browser-rules.png</image>
    </screenshot>
    <screenshot>
      <caption>Define powerful conditions for each rule.</caption>
      <image
            >https://raw.githubusercontent.com/alyraffauf/switchyard/master/data/screenshots/edit-rules.png</image>
    </screenshot>
    <screenshot>
      <caption>Modify links before they open.</caption>
      <image
            >https://raw.githubusercontent.com/alyraffauf/switchyard/master/data/screenshots/link-redirections.png</image>
    </screenshot>
  </screenshots>
</component>
