{"id":48521158,"url":"https://github.com/mel-edo/patchwire","last_synced_at":"2026-04-07T21:01:34.921Z","repository":{"id":348785206,"uuid":"1198856457","full_name":"mel-edo/patchwire","owner":"mel-edo","description":"Automatic multi-device audio routing for PipeWire","archived":false,"fork":false,"pushed_at":"2026-04-02T20:20:24.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T06:55:24.331Z","etag":null,"topics":["gtk","pipewire","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mel-edo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-01T20:32:30.000Z","updated_at":"2026-04-02T20:20:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mel-edo/patchwire","commit_stats":null,"previous_names":["mel-edo/patchwire"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mel-edo/patchwire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mel-edo%2Fpatchwire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mel-edo%2Fpatchwire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mel-edo%2Fpatchwire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mel-edo%2Fpatchwire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mel-edo","download_url":"https://codeload.github.com/mel-edo/patchwire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mel-edo%2Fpatchwire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gtk","pipewire","rust"],"created_at":"2026-04-07T21:01:07.198Z","updated_at":"2026-04-07T21:01:34.911Z","avatar_url":"https://github.com/mel-edo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Patchwire\n\n**Route audio to multiple outputs simultaneously on Linux.**\n\nPlay through your headphones and speakers at the same time. Patchwire watches the PipeWire graph and manages the links for you.\n\n[![AUR version](https://img.shields.io/aur/version/patchwire)](https://aur.archlinux.org/packages/patchwire)\n[![AUR version](https://img.shields.io/aur/version/patchwire-bin)](https://aur.archlinux.org/packages/patchwire-bin)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Rust](https://img.shields.io/badge/rust-orange.svg)](https://www.rust-lang.org/)\n\n---\n\n\u003cimg width=\"913\" height=\"618\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b1a00eb8-07a2-45c8-a159-ea8fd8189113\" /\u003e\n\n---\n\n## Overview\n\nEvery time you connect a Bluetooth device or want to route audio to multiple outputs, you'd normally have to manually wire ports in Helvum or qpwgraph. Patchwire does this automatically.\n\n- Toggle any sink on or off as a secondary output\n- Control volume per device\n- Change your default output device from the UI\n- State persists across reboots\n- Daemon starts automatically on first launch\n\n---\n\n## How it works\n\nPatchwire runs a background daemon that connects directly to PipeWire via `libpipewire`. It watches the graph for new devices and manages `pw::Link` objects between your default sink's monitor ports and the playback ports of any enabled secondary sinks.\n\nThe GTK4 UI talks to the daemon over D-Bus (`com.patchwire.Daemon`). The CLI does the same.\n\n---\n\n## Installation (for Arch based distros)\n\n### Via AUR\n```bash\nyay -S patchwire      # building from source\nyay -S patchwire-bin  # prebuilt binary\n```\n\n### Manual\nTo build from source, you will need the standard Rust toolchain and the GTK4 development libraries.\n\n**1. Install dependencies**\n\nInstall rust toolchain via [rustup](https://rustup.rs/)\n\n```bash\nsudo pacman -S --needed pipewire pipewire-audio wireplumber gtk4 libadwaita\n```\n\n**2. Clone and Build**\n\n```bash\ngit clone https://github.com/mel-edo/patchwire\ncd patchwire\nmake install\n```\n\n---\n\n## Usage\n\n### GUI\nLaunch Patchwire from your app menu. The daemon starts automatically.\n\n### CLI\nIf you installed the app via `make install` or the AUR, the daemon runs automatically in the background via systemd as a user service.\n\n\u003e If you are running the project manually without systemd, you will need to run `patchwire daemon` in a separate terminal first.\n\nYou can control it directly from your terminal:\n```bash\npatchwire list              # show all sinks\npatchwire toggle \u003csink\u003e     # toggle routing for a sink\npatchwire volume \u003csink\u003e 75  # set volume to 75%\npatchwire help              # show all commands\n```\n\nThe daemon runs as a systemd user service after `make install` and starts automatically on login.\n\n---\n\n## Building from source\n```bash\ncargo build --release\n```\n\nBinaries in `target/release/`.\n\n## Contributing\n\nContributions are welcome. Feel free to open an issue or a PR.\n\n## License\n\nGPL-3.0 - see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmel-edo%2Fpatchwire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmel-edo%2Fpatchwire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmel-edo%2Fpatchwire/lists"}