dtranslatebot/README.md
Syping 823a60d64d user_interface: add get_translator() and get_translator_name() functions
- CMakeLists.txt: upgrade cmake_policy to version 4.3
- README.md: add missing WITH_GUI flag and recommend DeepL
2026-04-20 15:11:48 +02:00

33 lines
910 B
Markdown

## dtranslatebot
Open Source Discord Translation Bot
- Translate incoming channel messages to a Webhook
- Support configuration through slash commands and JSON
- Cross-Platform
#### Build Dependencies
- CMake 3.16 or newer
- Compiler with C++17 Support
- [D++: A C++ Discord API Library for Bots](https://dpp.dev/)
- [libcurl](https://curl.se/libcurl)
#### Supported Translation Engines
- [LibreTranslate](https://libretranslate.com/) (Default)
- [DeepL](https://deepl.com/) (Recommended)
- [Lingva Translate](https://lingva.ml/)
- [Mozhi](https://codeberg.org/aryak/mozhi)
#### Build dtranslatebot
```bash
git clone https://github.com/Syping/dtranslatebot
cmake -B dtranslatebot-build dtranslatebot
cmake --build dtranslatebot-build
sudo cmake --install dtranslatebot-build
```
##### Optional CMake flags
`-DWITH_BOOST=TRUE`
`-DWITH_DPP_STATIC_BUNDLE=TRUE`
`-DWITH_GUI=TRUE`
`-DWITH_SYSTEMD=TRUE`