sorrycc / DeepLX

DeepL Free API (No TOKEN required)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeepL X

Permanently free DeepL API written in Golang

Description

  • deeplx in only run in port 1188, later versions will do the specified port.
  • deeplx is listening to 0.0.0.0:1188 by default.
  • deeplx is using DeepL Free API.
  • deeplx is unlimited to the number of requests.

Usage

Request Parameters

  • text: string
  • source_lang: string
  • target_lang: string

Response

{
  "code": 200,
  "data": "Hello world",
  "id": 8305092005
}

Run on Linux Server

bash <(curl -Ls https://cpp.li/deeplx)

Run on Mac

  1. Download the latest release of DeepL X.
sudo mv deeplx_darwin_amd64 /usr/local/bin/deeplx
sudo chmod +x /usr/local/bin/deeplx
  1. Download the me.missuo.deeplx.plist to ~/Library/LaunchAgents.
wget https://raw.githubusercontent.com/OwO-Network/DeepLX/main/me.missuo.deeplx.plist -O ~/Library/LaunchAgents/me.missuo.deeplx.plist
  1. Run following command.
launchctl load ~/Library/LaunchAgents/me.missuo.deeplx.plist
launchctl start ~/Library/LaunchAgents/me.missuo.deeplx.plist

Install from AUR

paru -S deeplx-bin

After installation, start the daemon with the following command.

systemctl daemon-reload
systemctl enable deeplx

Setup on Bob App

  1. Install bob-plugin-deeplx on Bob.

  2. Setup the API. c5c19dd89df6fae1a256d

Backup the Docker Image of zu1k

docker run -itd -p 1188:80 missuo/deeplx-bk

This docker image is not related to this project, as the original author deleted the image, it is only for backup.

Author

DeepL X © Vincent Young & Leo Shen, Released under the MIT License.

About

DeepL Free API (No TOKEN required)

License:MIT License


Languages

Language:Go 69.5%Language:Shell 30.5%