LibreTranslate ^0.1.0-beta.8
You can use LibreTranslate to translate text in Raycast Translate feature.
Solutions
We provide two solutions:
- api: Use the official LibreTranslate API service for translation.
- reserve: Use the inverted LibreTranslate service for translation.
WARNING
Reserve solution is an inverted implementation. Please use with caution.
Usage
- Set
Translate.default
tolibretranslate
in your configuration file. - Set
Translate.LibreTranslate.type
toapi
orreserve
in your configuration file. - If you choose
api
, you need to setTranslate.LibreTranslate.api_key
to your LibreTranslate API key.
Configuration
base_url
: The base URL for LibreTranslate API. Optionaltype
: The type of LibreTranslate service. Type - Solutions Optionalapi_key
: The API key for LibreTranslate API. Optional (Only for reserve solution)
Example
toml
[Translate.LibreTranslate]
base_url = "https://libretranslate.com"
type = "reserve"
api_key = ""