2024-02-20 07:18:04 +01:00
|
|
|
## dtranslatebot
|
|
|
|
Open Source Discord Translation Bot
|
|
|
|
|
|
|
|
- Translate incoming channel messages to a Webhook
|
2024-03-02 22:22:05 +01:00
|
|
|
- Support configuration through slash commands and JSON
|
2024-02-20 07:18:04 +01:00
|
|
|
- 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/)
|
|
|
|
|
2024-12-30 16:16:40 +01:00
|
|
|
#### Supported Translation Engines
|
|
|
|
- [LibreTranslate](https://libretranslate.com/) (Default)
|
|
|
|
- [Lingva Translate](https://lingva.ml/)
|
|
|
|
- [Mozhi](https://codeberg.org/aryak/mozhi)
|
|
|
|
- [DeepL](https://deepl.com/) (Experimental)
|
2024-02-20 07:18:04 +01:00
|
|
|
|
|
|
|
#### 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
|
2024-02-26 12:01:23 +01:00
|
|
|
`-DWITH_BOOST=TRUE`
|
2024-03-11 03:45:48 +01:00
|
|
|
`-DWITH_DPP_STATIC_BUNDLE=TRUE`
|
2024-02-26 12:01:23 +01:00
|
|
|
`-DWITH_SYSTEMD=TRUE`
|