/Discord-Lite

A light weight discord client written in Python, with love.

Primary LanguageCSSGNU General Public License v3.0GPL-3.0

Logo by u/Hoodie-the-Wolf Discord-Lite

A Light-Weight Discord Client written in Python, with love.

Explanation

You may have possibly heard and used Discord once in your life, right?

It can be very resource-intensive, especially with other programs running in the background.

Hence, why Discord-Lite was made.

It uses less memory and loads GIFs faster compared to the Client version of Discord.
It also supports sending & recieving Images, Videos, and other files.

Clarifications

This isn't any over-the-top "client" of such.
This is simply a Discord Web Instance running in a "Custom Browser" to reduce memory usage and not feast on your RAM.

★ Feel free to leave a star on this repo if you liked it! ★

star

👀 Inspiration & Sources

This is basically a modified version of the Geeks For Geeks tutorial on "How to Make a Web Browser using PyQt5".
So, I decided to modify it into a web-based Discord Client since it runs Google instances so well.
I then used PyWebview, to improve on some features.

👋 Contributions

Any useful contribution are welcome.
Preference will be given to those who can solve the drawback issues or implement the To-Do List features in their PR.
Happy Coding, nonetheless! ^^

💢 Drawbacks

  • Anomolous spike in RAM usage, only 3 users have reported this issue so far.

📃 To-Do List

  • MacOS support
  • Linux support - We are very close to achieving this!
  • Support for Raspberry pi and other development boards!
  • Rich presence version

...and that's about it.

🛠️ Known issues

Blank white page, this happens because you do not have webview2 installed, you can easily solve this problem by installing webview2 from this link.

To know more about it, read the docs!

💾 Compatibility

Tested for Windows 10/11 with Python 3.7
Issues on other systems can be openly reported.

📎 Installation

  • Currently supported for Windows only, other OS support in development.
    You can download the Installer from this link.

After that, open Discord-Lite.exe from your desktop.
You should be able to use Discord just as you can with any other client. :D

🖥️ Building from source

To build from source, go to the src directory, and then execute the following command

pyinstaller --onefile -w --icon=icon.ico DiscordLite.py

After executing this command, 2 directories should appear dist and build, the executable is in the dist folder.
You might face some errors in installing pywebview, refer to this issue for more info.
The solution being:

pip install pythonnet==3.0.0a2
pip install clr-loader==0.1.7

Logo by u/anatom3000 Discord

Join our Discord server for further Updates & Announcements!

⚙️ What's new in v1.4?

  • You can now inspect element to add custom CSS/JS!

  • Right click-copy

  • The following are available for selected text:
    image

  • The following are available for selected image:
    image

  • Custom Discord "Skins" [WIP], basically changing the default Discord Colours to custom colours by inserting CSS.

  • And everything else that you can do in Edge.

Support the Project!

Donate some ETH to keep the project going! MATIC (Polygon) and ETH Address: 0x45A416E004f6b5aAC88EA93C1A6E4EAF4C1F043f