A lightweight Discord wrapper made in Tauri

Overview

Discord-Tauri

Discord-Tauri is a work in progress lightweight wrapper for Discord.


List of features

  • Wrapping of Discord
  • Expandability with Tauri plugins
  • Window Bar
  • Fast AF Loading
  • Desktop Tray
  • Rich Presence Support
  • Notifications
  • Window Resizing
  • File Dropping
  • Push To Talk
  • Windows Options
  • Works on Linux

Contributing

Tauri Dependencies

First, you will need the dependencies needed for Tauri. If you are on Windows, make sure to install the Microsoft Visual Studio C++ Build Tools and WebView2.

You can see the process depending on your operating system here!

Prerequisites

Clone the repository

git clone https://github.com/elJoa/discord-tauri.git

Install the project dependencies

yarn install

At this point, you can edit the code!

Run discord-tauri

yarn tauri dev

Build a .exe

The .exe file will be in /src-tauri/target/release

yarn tauri build

Code style?

Not yet; you can follow the existing code, though.


FAQ

What is discord-tauri?

It's a Discord wrapper that uses the lightweight library Tauri. Hopefully, it will allow developers to create plugins or themes. In the current state of development, though, we are still replicating the original Discord client behavior.

So it will be like BetterDiscord?

Yes! In fact, this project was highly inspired by BetterDiscord.

Comments
  • Handled compliation errors, updated depenencies and quality of life Improvements

    Handled compliation errors, updated depenencies and quality of life Improvements

    The project doesn't seem to be maintained anymore. Therefore, I decided to revive it and make it functional. Additional Support and revisions will be added soon (or not all depends of this pr gets merged)

    Changelog:

    1. Discord Tauri's window size is more accurate now.
    2. Updated Tauri
    3. Fixed issues related to compilation and launching
    4. Added window decoration back (will probably add another pr with the usage of window shadows)

    Please review the changes and merge the changes as soon as possible.

    Improvement 
    opened by p0ryae 6
  • Same thing but for Discourse?

    Same thing but for Discourse?

    We’d like to make a proof of concept of a Tauri-powered @Discourse app.

    Might you be interested in working on this for us as a paid gig? Sorry to use your issues for this, but I couldn’t find any other contact info. You can reach me privately via the email on my profile.

    opened by erlend-sh 1
  • Release version 0.3.0

    Release version 0.3.0

    This PR:

    • Bumps the version to 0.3.0
    • Adds benchmarks to the README
    • Adds discord-tauri's purpose to the README
    • Adds a warning about Linux to the README
    • Modifies the allowlist for Tauri's API so it's more closed
    • Changes the window name to Discord Tauri
    opened by RealDrPuc 0
  • Major refactor, added notifications, see desc.

    Major refactor, added notifications, see desc.

    This PR:

    • Implements https://github.com/DiscordTauri/DtApi
    • Now we use on_page_load instead of created
    • Fixes an issue where the window would not start maximized
    • Adds notification support
    • Changes some plugin names
    • Closes #5

    This was pretty fun to make, hope it's a step in the right direction!

    Improvement 
    opened by RealDrPuc 0
  • Various commits

    Various commits

    This PR:

    • Updates tauri-build
    • Makes the splashscreen a Tauri plugin
    • Patches the mouse flicker until Wry releases the patch
    • Makes the release 56% smaller (6210KB -> 2700KB)
    Improvement 
    opened by RealDrPuc 0
  • Update to Tauri 1.0.0-beta.5 [fix: #11, #7]

    Update to Tauri 1.0.0-beta.5 [fix: #11, #7]

    This PR:

    • Updates Tauri to 1.0.0-beta.5
    • Changes how we center / maximize the windows
    • Removes the SetupWindows plugin
    • Adds "resizability" to the main window Fix #11 Fix #7
    opened by RealDrPuc 0
  • Decompressing asar ?

    Decompressing asar ?

    All the data on the normal Discord is stored in the app.asar file that can be decompressed using the command asar e app.asar out

    It could also be possible to use the OpenAsar implementation of it which is ridiculously small however I don't know how it really works.

    Generally speaking we can't just extract the thing because everything is in Javascript and uses the Electron API but it's just an idea, and maybe something could be done with that, it would avoid having to fetch all the assets and others from the website since everything would be bundled inside the binary.

    opened by chopin2712 1
  • Additional optimisations for the binary

    Additional optimisations for the binary

    I did a few more optimisations on the binary size by adding the following to the Cargo.toml file :

    [profile.release]
    strip = true
    opt-level = "z"
    lto = true
    codegen-units = 1
    panic = "abort"
    

    Then I ran this to reduce the binary even more :

    upx --best --lzma src-tauri/target/release/tauricord
    

    All of this left me with a final binary that is just 656K.

    (the optimisations come from here)

    PS: It is worth noting that upx might make the initial load time of the app a bit slower because I think it has to decompress the binary in the RAM. Also I just noticed that this project is a bit more complex than I thought, so my project actually doesn't have all the things in the main.rs file and I'm on Linux too.

    opened by chopin2712 5
  • No option to open links in default browser instead of webview

    No option to open links in default browser instead of webview

    I get that it's webview so it's a bit more annoying to work around this, but there really should be an option to open links in your default browser instead of webview

    opened by brian6932 1
Releases(v0.3)
Owner
null
A rust(serenity) based discord bot for the hacksquad discord server

A Discord Bot for Hacksquad How to Deploy? Requirements Docker Docker Compose Steps To Run Copy the docker-compose.yml and .env.example files to your

HackSquad 5 Jan 4, 2023
A fast & light weight Discord Client made with love using the Rust programming language.

LemonCord A fast & light-weight Discord Client written in Rust using the wry crate. Features Fast, light-weight, easy to use. 100% Open sourced. No su

Lemon Rose 5 Jan 30, 2023
🌋 A very lightweight wrapper around the Vulkan Memory Allocator 🦀

?? vk-mem-alloc-rs A very lightweight wrapper around the Vulkan Memory Allocator ?? [dependencies] vk-mem-alloc = "0.1.1" Simple Vulkan Memory Allocat

Project KML 13 Nov 8, 2022
A simple bot for discord.

Rusky Um simples bot para o discord! ?? Executando ⚠️ Antes de tudo você precisa do Rust Instalado você pode instalar clicando aqui Preparando Primeir

Rusky 3 Aug 12, 2022
A Discord bot for lichess and Rosen related things

liro Liro is a Discord bot that follows in the footsteps of Lichess-discord-bot, without necessarily aiming to replace it. The main pain point that th

Sebastian Lauwers 5 Feb 16, 2022
Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (❁´◡`❁)

Sophy Bot Hi I'm Sophy, a discord bot in devlopment, soon I'll be available to help everyone (❁´◡`❁) Contribution Do you like me and want to help me?

Far Dragi 0 May 30, 2022
A webhook-based Discord slash command library

Slashook A webhook-based Discord slash command library. This is a WIP project. Please note breaking changes can occur within minor releases until vers

Tonkku 11 Oct 18, 2022
Push BYCEPS ticket sale stats to Discord (as channel name)

Push BYCEPS Ticket Sale Stats to Discord A tool to fetch ticket sale stats for a specific LAN party from a BYCEPS installation and show that as the na

BYCEPS 1 Dec 28, 2021
A Discord bot for sending GeoGuessr challenge links that uses the GeoGuessr API written in rust.

GeoGuessr-bot-rs This is a simple implementation of a discord bot that send GeoGuessr-challenge links on demand. Features: Slash-commands Lightning-fa

Luukas Pörtfors 6 Nov 18, 2022
🦴🤖 // A Discord bot about collecting all the Borpa

?? ?? Borpa Bot Borpa Bot is a Discord bot about collecting all the Borpa possible. If you dont know what a Borpa is you can find it here Crate Descri

mellowmarshe 1 Dec 19, 2021
twilight-interactions is a set of macros and utilities to work with Discord Interactions using twilight.

Twilight interactions twilight-interactions is a set of macros and utilities to work with Discord Interactions using twilight. Note: This crate is not

null 24 Dec 26, 2022
A scriptable discord bot (WIP)

Status This project is currently a VERY EARLY WORK IN PROGRESS. Contact me on discord for more details: Jonas747#0001 (105487308693757952) BotLoader (

null 26 Dec 21, 2022
🦜 A hassle-free, highly performant, host it yourself Discord music bot built with Serenity in Rust. Powered by youtube-dl and Genius.

?? A hassle-free, highly performant and fast evolving Discord music bot built with Serenity in Rust. Deployment Usage Just create a bot account, copy

Miguel Mano 82 Dec 14, 2022
The best discord bot to annoy @a3mat

A3mat v pomoyke The best discord bot to annoy @a3mat Usage: This command moves pinged users n times: move <number> [users...] This command moves ping

null 1 Dec 31, 2021
A Discord bot to send updates on queries in tori.fi

torimies-rs How the bot works? The bot works by making requests to the undocumented (and very bad) tori.fi api endpoint. The users can add and remove

Luukas Pörtfors 19 Dec 29, 2022
A Discord bot for control and decentralization of threads management

Threadripper-bot A Discord bot for control and decentralization of threads management About Threadripper aims to serve some extra utilities to take be

S0ra 15 Dec 27, 2022
A small in-house bot of the TTC Discord Server

Welcome to The Terminal cafe Support Bot Repository Hello, hope you are having a nice day. This is the official repository for The Terminal Cafe Suppo

null 5 Jul 4, 2022
A Discord bot to send updates on queries in tori.fi

torimies-rs How the bot works? The bot works by making requests to the undocumented (and very bad) tori.fi api endpoint. The users can add and remove

Testausserveri ry 19 Dec 29, 2022
A discord bot that safely executes whatever rust you throw at it. Remote code execution as a service

RustBot Bot is still under development and not ready for production use RustBot is a discord bot that executes whatever rust code you throw at it. In

Conner Bradley 7 Jan 3, 2022