C++ discord client oriented for performance
Go to file
2020-11-03 01:52:19 -05:00
components add SettingsManager::GetSettingBool 2020-11-03 01:52:19 -05:00
css add BOT/Webhook label to message headers 2020-10-05 22:46:44 -04:00
dialogs add set status for funsies 2020-11-01 02:53:37 -05:00
discord show non-lottie stickers statically 2020-11-02 17:36:10 -05:00
res render emojis 2020-10-24 19:42:06 -04:00
thirdparty convert to cmake, add ci 2020-09-09 17:03:19 -04:00
windows add set status for funsies 2020-11-01 02:53:37 -05:00
.clang-format connect and heartbeat 2020-08-17 02:40:03 -04:00
.gitignore add more css selectors 2020-09-09 18:32:45 -04:00
.gitmodules convert to cmake, add ci 2020-09-09 17:03:19 -04:00
.travis.yml separate branches deploy to separate folders 2020-10-29 19:15:58 -04:00
abaddon.cpp show news channels 2020-11-01 17:15:34 -05:00
abaddon.hpp add set status for funsies 2020-11-01 02:53:37 -05:00
appveyor.yml basic avatars 2020-09-10 18:28:42 -04:00
CMakeLists.txt use file(GLOB) in cmake 2020-11-01 00:33:57 -04:00
emojis.cpp render emojis 2020-10-24 19:42:06 -04:00
emojis.hpp render emojis 2020-10-24 19:42:06 -04:00
filecache.cpp fix cache writing to cwd 2020-10-27 02:29:02 -04:00
filecache.hpp fix cache writing to cwd 2020-10-27 02:29:02 -04:00
imgmanager.cpp use sigc in imgmanager to hopefully get rid of some lifetime errors 2020-10-04 15:31:39 -04:00
imgmanager.hpp use sigc in imgmanager to hopefully get rid of some lifetime errors 2020-10-04 15:31:39 -04:00
README.md separate branches deploy to separate folders 2020-10-29 19:15:58 -04:00
settings.cpp add SettingsManager::GetSettingBool 2020-11-03 01:52:19 -05:00
settings.hpp add SettingsManager::GetSettingBool 2020-11-03 01:52:19 -05:00
util.hpp slap a bunch of shit everywhere until the crashing stops 2020-10-05 21:37:07 -04:00

Building:

Windows:

  1. git clone https://github.com/lorpus/abaddon && cd abaddon
  2. vcpkg install gtkmm:x64-windows nlohmann-json:x64-windows ixwebsocket:x64-windows cpr:x64-windows zlib:x64-windows simpleini:x64-windows
  3. mkdir build && cd build
  4. cmake -G"Visual Studio 16 2019" -A x64 -DCMAKE_TOOLCHAIN_FILE=c:\path\to\vcpkg\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_TARGET_TRIPLET=x64-windows ..
  5. Build with Visual Studio

Mac:

  1. Install gtkmm3 zlib openssl and nlohmann-json from homebrew
  2. git clone --recurse-submodules -j8 https://github.com/lorpus/abaddon
  3. cd abaddon
  4. mkdir build
  5. cd build
  6. cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_PKGCONFIG=ON -DDISABLE_MBEDTLS=ON ../
  7. make

Downloads (from CI):

  • Windows: here
  • OSX: here (downloading css/ and res/ from here is still necessary)

Dependencies:

Styling

CSS selectors

.channel-list - Container of the channel list
.channel-row - All rows within the channel container
.channel-row-channel - Only rows containing a channel
.channel-row-category - Only rows containing a category
.channel-row-guild - Only rows containing a guild
.channel-row-label - All labels within the channel container

.messages - Container of user messages
.message-container - The container which holds a user's messages
.message-container-author - The author label for a message container
.message-container-timestamp - The timestamp label for a message container
.message-container-extra - Label containing BOT/Webhook
.message-text - The TextView of a user message

.embed - Container for a message embed
.embed-author - The author of an embed
.embed-title - The title of an embed
.embed-description - The description of an embed
.embed-field-title - The title of an embed field
.embed-field-value - The value of an embed field
.embed-footer - The footer of an embed

.members - Container of the member list
.members-row - All rows within the members container
.members-row-label - All labels in the members container
.members-row-member - Rows containing a member
.members-row-role - Rows containing a role