Update README.md

This commit is contained in:
Vincent Young 2022-10-20 02:11:14 +08:00
parent 19d7177e8b
commit d320231752
2 changed files with 62 additions and 1 deletions

View File

@ -1 +1,42 @@
# deepl-api <!--
* @Author: Vincent Young
* @Date: 2022-10-18 07:32:29
* @LastEditors: Vincent Young
* @LastEditTime: 2022-10-20 02:10:43
* @FilePath: /deepl-api/README.md
* @Telegram: https://t.me/missuo
*
* Copyright © 2022 by Vincent, All Rights Reserved.
-->
# DeepLX
Permanently free DeepL API written in Go
## Run on Mac
1. Download the latest release of DeepLX.
```bash
sudo mv deeplx_darwin_amd64 /usr/local/bin/deeplx
```
2. Download the `me.missuo.deeplx.plist` to `/Users/vincent/Library/LaunchAgents`.
```bash
wget https://raw.githubusercontent.com/OwO-Network/DeepLX/main/me.missuo.deeplx.plist -O /Users/vincent/Library/LaunchAgents/me.missuo.deeplx.plist
```
3. Run following command.
```bash
launchctl load /Library/LaunchAgents/me.missuo.deeplx.plist
launchctl start /Library/LaunchAgents/me.missuo.deeplx.plist
```
## Setup on [Bob App](https://bobtranslate.com/)
1. Install [bob-plugin-deeplx](https://github.com/clubxdev/bob-plugin-deeplx) on Bob.
2. Setup the API.
![9a75c26ad6e8bd9b7582c](https://missuo.ru/file/9a75c26ad6e8bd9b7582c.png)
## Contributors
- [Leo Shen](https://github.com/sjlleo)
- [Vincent Young](https://github.com/missuo)
## License
MIT License

20
me.missuo.deeplx.plist Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>me.missuo.deeplx</string>
<key>KeepAlive</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/deeplx</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>OnDemand</key>
<false/>
<key>LaunchOnlyOnce</key>
<true/>
</dict>
</plist>