mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-06 03:53:41 +02:00
No description
This commit introduces the ability for you to add messages locally to a chat. These messages are displayed only on the client and are not sent to the server. Key changes include: - Data Layer: - Added a new `LocalMessage` class inheriting from `AyuMessageBase` in `ayu/data/entities.h`. - Implemented functions in `ayu/data/messages_storage.cpp` and `.h` (`addLocalMessage`, `getLocalMessages`, `hasLocalMessages`) to manage the storage of these messages in the AyuGram SQLite database, including creating a new table for local messages. - UI and Display: - Modified `ayu/ui/message_history/history_item.cpp` to ensure `LocalMessage` objects are rendered in the chat history. - Added a visual distinction for local messages by prepending "[Local] " to their text content. - UI Flow: - Implemented a new dialog box (`AddLocalMessageBox` in `boxes/add_local_message_box.cpp` and `.h`) for composing local messages, allowing you to specify a sender name (defaults to the current user) and the message text. - Added a context menu option ("Add Local Message") to the message input field in `HistoryWidget` to launch this dialog. - Testing: - Defined a suite of manual test cases covering data storage, retrieval, UI display, and the creation flow via the new UI, ensuring the feature's correctness and usability. This feature enhances AyuGram by allowing you to annotate chats or add notes directly within the message flow, visible only to yourselves. |
||
---|---|---|
.cursor/rules | ||
.github | ||
cmake@50c3edca14 | ||
docs | ||
lib/xdg | ||
Telegram | ||
.clang-format | ||
.cursorignore | ||
.devcontainer.json | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
changelog.txt | ||
CMakeLists.txt | ||
LEGAL | ||
LICENSE | ||
README-RU.md | ||
README.md |
AyuGram
[ 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
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
You can download prebuilt macOS package from Releases tab.
Arch Linux
You can install ayugram-desktop
from AUR.
NixOS
See this repository for installation manual.
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!