No description
Find a file
Neurotoxin001 2250fe75c4
fix: use custom serialization for settings
The error occurred when adding a new fields, for example showForwards, to the AyuGramSettings class. The NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT macro was used for serialization, which works correctly only when the number of parameters is up to 64. After extending the structure, the macro failed to expand and the compiler started generating messages about undefined identifiers like NLOHMANN_JSON_TO.

The fix was to replace the problematic macro with manual implementation of to_json and from_json functions. For each field, it is now explicitly specified how to serialize and deserialize it, which eliminates the limitation on the number of arguments. Additionally, auxiliary macros NLOHMANN_JSON_TO, NLOHMANN_JSON_FROM and NLOHMANN_JSON_FROM_WITH_DEFAULT have been declared in case they are absent in the header file used.

More info: https://json.nlohmann.me/api/macros/nlohmann_define_type_intrusive/#notes
2025-06-26 19:08:41 +03:00
.cursor/rules Fix Cursor rules files. 2025-05-07 14:50:01 +04:00
.github chore: remove workflows 2025-05-20 17:35:57 +03:00
cmake@50c3edca14 Use CMAKE_MSVC_DEBUG_INFORMATION_FORMAT in Windows action 2025-05-16 11:36:16 +04:00
docs Merge tag 'v5.11.1' into dev 2025-02-14 01:51:34 +03:00
lib/xdg Merge tag 'v5.13.1' into dev 2025-04-25 02:29:09 +03:00
Telegram fix: use custom serialization for settings 2025-06-26 19:08:41 +03:00
.clang-format chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
.cursorignore Add some Cursor rules / ignore paths. 2025-05-01 11:13:22 +04:00
.devcontainer.json Ensure clangd cache is out of build directory 2025-05-13 10:41:42 +04:00
.gitattributes Update lottie icons in voice chats. 2021-04-12 10:48:16 +04:00
.gitignore Merge tag 'v5.14.3' into dev 2025-05-18 22:30:24 +03:00
.gitmodules feat: wide messages 2024-11-23 12:34:26 +03:00
changelog.txt Version 5.14.3. 2025-05-18 20:32:39 +04:00
CMakeLists.txt Merge tag 'v5.14.3' into dev 2025-05-18 22:30:24 +03:00
LEGAL Update copyright year to 2025. 2025-01-02 10:48:21 +04:00
LICENSE Add single LEGAL file with license and copyright. 2018-01-03 13:04:34 +03:00
README-RU.md chore: update README 2025-06-26 18:57:24 +03:00
README.md chore: update README 2025-06-26 18:57:24 +03:00

AyuGram

AyuGram Logo AyuChan

[ English | Русский ]

Features

  • Full ghost mode (flexible)
  • Messages history
  • Anti-recall
  • Font customization
  • Streamer mode
  • Local Telegram Premium
  • Media preview & quick reaction on force click (macOS)
  • Enhanced appearance

And many more. Check out our Documentation.

Preferences screenshots

Downloads

Windows

Official

You can download prebuilt Windows binary from Releases tab or from the Telegram channel.

Winget

winget install RadolynLabs.AyuGramDesktop

Scoop

scoop bucket add extras
scoop install ayugram

Self-built

Follow official guide if you want to build by yourself.

macOS

Official

You can download prebuilt macOS package from Releases tab.

Homebrew

brew install --cask ayugram

Arch Linux

Install ayugram-desktop from AUR.

Prebuilt binaries

Install ayugram-desktop-bin from AUR.

Note: these binaries aren't officially maintained by us.

NixOS

See this repository for installation manual.

ALT Linux

Sisyphus

Any other Linux distro

Follow the official guide.

Remarks for Windows

Make sure you have these components installed with VS Build Tools:

  • C++ MFC latest (x86 & x64)
  • C++ ATL latest (x86 & x64)
  • latest Windows 11 SDK

Donation

Enjoy using AyuGram? Consider sending us a tip!

Here's available methods.

Credits

Telegram clients

Libraries used

Icons

Bots

  • TelegramDB for username lookup by ID (until closing free inline mode at 25 May 2025)
  • usinfobot for username lookup by ID