{"id":13590403,"url":"https://github.com/maltejur/discord-screenaudio","last_synced_at":"2025-09-27T07:31:38.021Z","repository":{"id":45898745,"uuid":"511648424","full_name":"maltejur/discord-screenaudio","owner":"maltejur","description":"A custom discord client that supports streaming with audio on Linux.","archived":true,"fork":false,"pushed_at":"2024-05-09T17:58:56.000Z","size":2377,"stargazers_count":1098,"open_issues_count":119,"forks_count":34,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-14T12:07:37.453Z","etag":null,"topics":["audio","discord","linux","rohrkabel","screenshare"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maltejur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/BSD-3-Clause.txt","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}},"created_at":"2022-07-07T19:20:02.000Z","updated_at":"2025-01-14T00:54:26.000Z","dependencies_parsed_at":"2024-01-14T04:35:00.217Z","dependency_job_id":"92d49dd6-c243-4d28-8953-ab83d34f3eeb","html_url":"https://github.com/maltejur/discord-screenaudio","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltejur%2Fdiscord-screenaudio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltejur%2Fdiscord-screenaudio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltejur%2Fdiscord-screenaudio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maltejur%2Fdiscord-screenaudio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maltejur","download_url":"https://codeload.github.com/maltejur/discord-screenaudio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234410193,"owners_count":18828154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["audio","discord","linux","rohrkabel","screenshare"],"created_at":"2024-08-01T16:00:44.860Z","updated_at":"2025-09-27T07:31:36.642Z","avatar_url":"https://github.com/maltejur.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2022 Malte Jürgens and contributors\n\nSPDX-License-Identifier: GPL-3.0-or-later\n--\u003e\n\n\u003e [!WARNING]  \n\u003e **Deprecation Notice** \\\n\u003e This project isn't actively maintained anymore. Reasons are me not having\n\u003e enough time to work on it, some fundamental issues (like hardware acceleration\n\u003e problems caused by QtWebEngine), and the fact that there are now better\n\u003e alternatives which make me not want to duplicate efforts. I mainly recommend\n\u003e using and contributing to [Vesktop](https://github.com/Vencord/Vesktop) as an\n\u003e alternative Discord client with great audio screensharing support, but a list\n\u003e of other alternatives can be found [below](#alternatives). You can of course\n\u003e still continue to use discord-screenaudio if it works for you.\n\n# discord-screenaudio\n\nA custom discord client that supports streaming with audio on Linux, made\npossible by the\n[great work](https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux)\nof [@edisionnano](https://github.com/edisionnano) and the\n[Rohrkabel library](https://github.com/Soundux/rohrkabel) by\n[@Curve](https://github.com/Curve).\n\nUnlike a lot of other solutions, the audio here is directly fed into the\nscreenshare and not passed to the user microphone\n([see explanation](#how-does-this-work)).\n\n![Screenshot_20221211_185028](https://user-images.githubusercontent.com/48161361/206920213-58a8091a-d8f9-4bb7-ae3d-3f8581b84d24.png)\n\nThe purpose of this project is **not** to provide an alternative to the original\nDiscord client. Rather, it should be used in addition to the original client in\ncase you want to stream something, maybe used with a second account. For\nanything else, this client has way too many things that work less well than in\nthe original client.\n\nTechnically this could be against\n[Discord's TOS](https://discord.com/terms#software-in-discord%E2%80%99s-services),\nso be warned. Discord probably won't ban you for using this, but if they do I\ntold you and it's not my fault.\n\n## Known Issues\n\n- Only works with **PipeWire**\n- Can only share primary screen on X11 (no other screens or specific\n  applications) (see\n  [#1](https://github.com/maltejur/discord-screenaudio/issues/1))\n\n## Alternatives\n\nIf you have problems with this client, you can also try one of these\nalternatives which work in a similar way:\n\n- \u003ca href=\"https://github.com/Vencord/Vesktop\"\u003e\u003cimg\n  src=\"https://raw.githubusercontent.com/Vencord/Vesktop/main/static/icon.png\"\n  height=\"13px\"\u003e Vesktop\u003c/a\u003e - The Vencord desktop client, which, in addition to\n  allowing you to stream audio, also has propper plugin and theming support.\n- \u003ca href=\"https://github.com/IceDBorn/pipewire-screenaudio\"\u003e\u003cimg\n  src=\"https://raw.githubusercontent.com/IceDBorn/pipewire-screenaudio/main/extension/assets/icons/icon.svg\"\n  height=\"13px\"\u003e pipewire-screenaudio\u003c/a\u003e - Firefox extension which allows all\n  websites (including Discord) to stream audio.\n- \u003ca href=\"https://github.com/SpacingBat3/WebCord\"\u003e\u003cimg\n  src=\"https://raw.githubusercontent.com/SpacingBat3/WebCord/master/sources/assets/icons/app.png\"\n  height=\"13px\"\u003e WebCord\u003c/a\u003e - Another simple third-party Discord client, which\n  allows you to share the whole desktop audio through new Electron\n  functionality. \n- \u003ca href=\"https://support.google.com/chrome/a/answer/9025903\"\u003e\u003cimg\n  src=\"https://www.google.com/chrome/static/images/chrome-logo.svg\"\n  height=\"14px\"\u003e Google Chrome\u003c/a\u003e - Chrome has recently added support for\n  sharing another Chrome tab, including audio. This should also cover a lot of\n  usecases for sharing screen audio.\n- [Screenshare-with-audio-on-Discord-with-Linux](https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux)\n  Userscript and manual instructions on how to stream audio in Discord with\n  Chrome or Firefox.\n\n## Installation\n\nYou have multiple options:\n\n- Install the Flatpak (recommended):\n  `flatpak install de.shorsh.discord-screenaudio`\n- If you are on Arch, you can build and install\n  [`discord-screenaudio`](https://aur.archlinux.org/packages/discord-screenaudio)\n  from the AUR\n- If you are on openSUSE, you can use the\n  [Open Build Service package](https://software.opensuse.org//download.html?project=games%3Atools\u0026package=discord-screenaudio)\n  by [@VortexAcherontic](https://github.com/VortexAcherontic)\n- You can [build it yourself](#building-from-source)\n\n## Building from Source\n\n### Requirements\n\n- Basic building tools\n- An up-to-date system (I can't guarantee that it works on Debian or Ubuntu\n  20/21)\n- CMake\n- Qt5 and QtWebEngine\n- **PipeWire** (it currently doesn't work with PulseAudio)\n- Git\n- _Kf5Notifications (optional, for better notifications)_\n- _KXMLGui and KGlobalAccel (optional, for keybinds)_\n\nWith apt:\n`apt install -y build-essential cmake qtbase5-dev qtwebengine5-dev libkf5notifications-dev libkf5xmlgui-dev libkf5globalaccel-dev pkg-config libpipewire-0.3-dev git`\n\nWith dnf:\n`dnf install @development-tools cmake qt5-qtbase-devel qt5-qtwebengine-devel kf5-knotifications-devel kf5-kxmlgui-devel kf5-kglobalaccel-devel pkgconfig pipewire-devel git`\n\n### Building\n\nFirst, clone the repository:\n\n```bash\ngit clone https://github.com/maltejur/discord-screenaudio.git\ncd discord-screenaudio\n```\n\nThen, to build the program, run this in the source directory:\n\n```bash\ncmake -B build\ncmake --build build --config Release\n```\n\nAnd then to optionally install it, run:\n\n```bash\nsudo cmake --install build\n```\n\n## FAQ\n\n### How does this work?\n\nThis whole project is based on\n[this](https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux)\nrepository, which very nicely explains how to stream audio in the web version of\nDiscord. Basically: a virtual microphone is created which captures the\napplication audio, and this microphone is then fed to the Discord stream by\nintercepting a API call of Discord.\n\n### Drag and drop doesn't work in the Flatpak\n\nThis is due to sandboxing limitations of Flatpak. The main Discord Flatpak has\nthe same problem. If you still want to use drag and drop, you can disable most\nof Flatpak's sandboxing by installing\n[Flatseal](https://flathub.org/apps/details/com.github.tchx84.Flatseal) and\nallowing access to \"All system files\" under the \"Filesystem\" section.\n\n### Is there any way to add custom CSS / a theme?\n\nYes, you can add all your styles into\n`~/.config/discord-screenaudio/userstyles.css` (or\n`~/.var/app/de.shorsh.discord-screenaudio/config/discord-screenaudio/userstyles.css`\nif you are using the Flatpak). But please note that due to QtWebEngine\nlimitations concerning content security policies, you can't use any external\nfiles (like `@import` or `url()`).\n\n## License\n\nCopyright (C) 2022 Malte Jürgens\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaltejur%2Fdiscord-screenaudio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaltejur%2Fdiscord-screenaudio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaltejur%2Fdiscord-screenaudio/lists"}