Skip to content

Lightweight native Discord client for Windows, Linux and macOS, written in Rust. No Electron, no browser engine.

12.2 KB
Raw Blame

Third-party notices

Serein

Parts of RustCord are adapted from Serein (commit a0e72cc), used under its MIT license (Serein is MIT OR Apache-2.0):

RustCord file Adapted from
crates/discord/src/fingerprint.rs crates/client-core/src/fingerprint.rs
crates/discord/src/settings_proto.rs crates/discord-protocol/src/guild_folders.rs, activity_sharing.rs
apps/rustcord/src/login_view.rs crates/platform/src/lib.rs (LoginView)
apps/rustcord/src/login-handoff.js crates/platform/src/login-handoff.js
crates/voice/ (voice calls, Go Live) crates/discord-voice/, crates/client-core/src/screen.rs, crates/platform/src/audio.rs, apps/desktop/src/voice.rs; file-by-file list, changes and the licences of its dependencies (davey, openmls, hpke-rs under MPL-2.0, libopus, cpal, OpenH264, windows-capture…) in crates/voice/NOTICE.md

Design measurements for the profile card, upload tiles and dividers also follow Serein's UI.

MIT License

Copyright (c) 2026 Serein contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Emoji images are Twemoji (CC-BY 4.0), loaded from jsDelivr.

emojibase

apps/rustcord/src/emoji_data.rs (the emoji picker's list: Unicode's emoji in order, by category, with the JoyPixels shortcode names Discord uses) is generated from emojibase-data 17.0.0 (MIT, Copyright (c) 2017-2019 Miles Johnson).

emoji-data

apps/rustcord/src/shortcodes.rs (emoji shortcode names) is generated from iamcal/emoji-data:

The MIT License (MIT)

Copyright (c) 2013 Cal Henderson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

nnnoiseless (RNNoise)

Voice & Video's "Voice Isolation" (noise suppression in crates/voice/src/settings.rs) uses nnnoiseless 0.5.2, a Rust port of Xiph's RNNoise, including its trained model:

Copyright (c) 2020, Joe Neeman
Copyright (c) 2017, Mozilla
Copyright (c) 2007-2017, Jean-Marc Valin
Copyright (c) 2005-2017, Xiph.Org Foundation
Copyright (c) 2003-2004, Mark Borgerding

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

- Neither the name of the Xiph.Org Foundation nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Its FFT dependencies (easyfft, rustfft, realfft and their helpers) are MIT OR Apache-2.0 or MIT; see crates/voice/NOTICE.md.

sonora (WebRTC echo cancellation)

Voice & Video's "Echo Cancellation" (crates/voice/src/echo.rs) is WebRTC's AEC3, through sonora 0.3.0, a pure-Rust port of WebRTC's audio processing module (the crates sonora, sonora-aec3, sonora-agc2, sonora-ns, sonora-common-audio, sonora-fft and sonora-simd):

Copyright (c) 2011, The WebRTC Project Authors. All rights reserved.
Copyright (c) 2016, Arun Raghavan and contributors. All rights reserved.
Copyright (c) 2026, dignifiedquire. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

  * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.

  * Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in
    the documentation and/or other materials provided with the
    distribution.

  * Neither the name of Google nor the names of its contributors may
    be used to endorse or promote products derived from this software
    without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Its other dependencies are listed in crates/voice/NOTICE.md.

OpenH264

Go Live (screen sharing, crates/voice) decodes watched streams, and encodes when no hardware encoder is available, with Cisco's OpenH264, compiled from source by the openh264 0.9.8 crate (BSD-2-Clause, Ralf Biedert):

Copyright (c) 2013, Cisco Systems
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The copyright licence does not cover H.264 patents. Cisco pays the MPEG LA royalties only for its own prebuilt OpenH264 binaries; a build from source, as here, carries no such licence. Screen capture uses windows-capture 2.0.1 (MIT); the hardware encoder is Windows' own Media Foundation.

Simple Icons

The platform logos directly in apps/rustcord/assets/connections/ (the .svg files shown beside profile connections and in "Member Since") are from Simple Icons 13.21.0, released under CC0 1.0. (Its add/ and tile/ folders are covered under "Discord's artwork and fonts" below.) The logos themselves remain trademarks of their owners; RustCord only uses them to say which service an account is on, as Discord does.

egui_glow and epaint

crates/vendor/egui_glow and crates/vendor/epaint are egui_glow and epaint 0.29.1 (MIT OR Apache-2.0, Copyright (c) 2018-2021 Emil Ernerfeldt; their licence texts are in both folders), changed so text looks as it does in Chrome:

  • egui_glow (src/painter.rs, src/shader/fragment.glsl): the font atlas's coverage gamma (0.45 in the atlas, 0.40 applied in the shader), LCD subpixel text through dual-source blending (GLSL 3.30), and a mipmap bias for downscaled images.
  • epaint (src/text, src/emoji.rs, src/text/hinted.rs): font sizes and glyph advances are not rounded to whole pixels, GPOS kerning, TrueType hinting (through skrifa), colour emoji glyphs, shaping for Arabic and other joining scripts (through rustybuzz) and right-to-left text (through unicode-bidi); it gained the skrifa, ttf-parser, rustybuzz and unicode-bidi dependencies for this. rustybuzz (a Rust port of HarfBuzz) and unicode-bidi are MIT licensed (unicode-bidi: MIT OR Apache-2.0) and come from crates.io.

Discord's artwork and fonts

RustCord reproduces Discord's interface, and these files are Discord's (or its licensors') own work. They are not covered by RustCord's licence and no licence to them is granted here:

  • apps/rustcord/fonts/discord-icons.ttf and fonts/discord-icons-src/discord_icons.json: Discord's interface icons (SVG paths read from its web client).
  • apps/rustcord/assets/add-server/, assets/boosts/, assets/server-tag/, and assets/connections/add/ and tile/: Discord's artwork and its platform icons (the logos are trademarks of their owners).
  • apps/rustcord/fonts/dns/: Discord's display-name fonts. Most are renamed builds of fonts under the SIL Open Font License 1.1 (their name tables credit the original designers); dns17-Pricedown.otf is a commercial Typodermic font.

RustCord's own logo (apps/rustcord/assets/rustcord.*, icon-256.png) is under RustCord's licence. Emoji images and Discord's notification sounds are not in the repository: they are loaded from jsDelivr and discord.com when needed.