All Projects → leovoel → Beautifuldiscord

leovoel / Beautifuldiscord

Licence: mit
Adds custom CSS support to Discord.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Beautifuldiscord

Easyrp
Give yourself a Custom Rich Presence in Discord.
Stars: ✭ 403 (-17.25%)
Mutual labels:  discord
Discordsrv
The Minecraft <-> Discord bridge plugin your mother warned you about. https://www.spigotmc.org/resources/discordsrv.18494/
Stars: ✭ 437 (-10.27%)
Mutual labels:  discord
D Zone
An ambient life simulation driven by user activity within a Discord server
Stars: ✭ 466 (-4.31%)
Mutual labels:  discord
Discordphp
An API to interact with the popular messaging app Discord
Stars: ✭ 409 (-16.02%)
Mutual labels:  discord
Discord Akairo
A bot framework for Discord.js.
Stars: ✭ 433 (-11.09%)
Mutual labels:  discord
Yagpdb
Yet another general purpose discord bot
Stars: ✭ 452 (-7.19%)
Mutual labels:  discord
Matrix Appservice Discord
A bridge between Matrix and Discord.
Stars: ✭ 383 (-21.36%)
Mutual labels:  discord
Gtkcord3
A Gtk3 Discord client in Golang
Stars: ✭ 484 (-0.62%)
Mutual labels:  discord
Commando
Official command framework for discord.js
Stars: ✭ 434 (-10.88%)
Mutual labels:  discord
Bot
The community bot for the Python Discord community
Stars: ✭ 460 (-5.54%)
Mutual labels:  discord
Lavalink
Standalone audio sending node based on Lavaplayer.
Stars: ✭ 420 (-13.76%)
Mutual labels:  discord
Shuffle
Shuffle: A general purpose security automation platform platform. We focus on accessibility for all.
Stars: ✭ 424 (-12.94%)
Mutual labels:  discord
Robodanny
A discord bot for servers that I like.
Stars: ✭ 459 (-5.75%)
Mutual labels:  discord
Messenger Ios Chat Swift Firestore
Messenger Clone - Real-time iOS Chat with Firebase Firestore written in Swift
Stars: ✭ 405 (-16.84%)
Mutual labels:  discord
Yeetgif
gif effects CLI. single binary, no dependencies. linux, osx, windows. #1 workplace productivity booster. #yeetgif #eggplant #golang
Stars: ✭ 467 (-4.11%)
Mutual labels:  discord
Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+814.17%)
Mutual labels:  discord
Discord Bot Client
A patched version of discord, with bot login support
Stars: ✭ 441 (-9.45%)
Mutual labels:  discord
Ffxivquicklauncher
Custom launcher for Final Fantasy XIV
Stars: ✭ 485 (-0.41%)
Mutual labels:  discord
Fredboat
A Discord music bot sharing 1 million servers with 20 million users
Stars: ✭ 471 (-3.29%)
Mutual labels:  discord
Sleepy Discord
C++ library for the Discord chat client
Stars: ✭ 459 (-5.75%)
Mutual labels:  discord

BeautifulDiscord

Simple Python script that adds CSS hot-reload to Discord.

demo gif

Motivation

I wanted custom CSS injection for Discord, with no JavaScript add-ons or anything. That's BeautifulDiscord.

If you want JS, you can either:

You could also fork this repo and add it, it's not that big of a stretch. I just didn't add it because it's not what I want to do here.

Usage

Just invoke the script when installed. If you don't pass the --css flag, the stylesheet will be placed wherever the Discord app resources are found, which is not a very convenient location.

NOTE: Discord has to be running for this to work in first place. The script works by scanning the active processes and looking for the Discord ones.

(yes, this also means you can fool the program into trying to apply this to some random program named Discord)

$ beautifuldiscord --css C:\mystuff\myown.css
0: Found DiscordPTB.exe
1: Found DiscordCanary.exe
Discord executable to use (number): 1

Done!

You may now edit your C:\mystuff\myown.css file,
which will be reloaded whenever it's saved.

Relaunching Discord now...
$

Pass the --revert flag to restore Discord to its initial state. You can also do this manually if your Discord install gets screwed up, by first locating where Discord stores its resources:

  • On Windows, it's C:\Users\<username>\AppData\Roaming\discord[ptb,canary]\<version>\modules\discord_desktop_core
  • On OSX, it's ~/Library/Application Support/discord[ptb,canary]/<version>/modules/discord_desktop_core
  • On Linux, it's ~/.config/discord[ptb,canary]/<version>/modules/discord_desktop_core

(<...> means it's required, [...] means it's optional)

In that folder, there should be four files, with core.asar and original_core.asar being the interesting ones. You should then remove the existing core.asar and rename original_core.asar to core.asar.

$ beautifuldiscord --revert
0: Found DiscordPTB.exe
1: Found DiscordCanary.exe
Discord executable to use (number): 1
Reverted changes, no more CSS hot-reload :(
$

You can also run it as a package - i.e. python3 -m beautifuldiscord - if somehow you cannot install it as a script that you can run from anywhere.

Installing

python3 -m pip install -U https://github.com/leovoel/BeautifulDiscord/archive/master.zip

Usage of a virtual environment is recommended, to not pollute your global package space.

Requirements

Normally, pip should install any required dependencies.

More GIFs

demo gif

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].