diff --git a/README.md b/README.md index 206781d..c83d6bf 100644 --- a/README.md +++ b/README.md @@ -1 +1,42 @@ -# deepl-api \ No newline at end of file + +# 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 + diff --git a/me.missuo.deeplx.plist b/me.missuo.deeplx.plist new file mode 100644 index 0000000..055115f --- /dev/null +++ b/me.missuo.deeplx.plist @@ -0,0 +1,20 @@ + + + + + Label + me.missuo.deeplx + KeepAlive + + ProgramArguments + + /usr/local/bin/deeplx + + RunAtLoad + + OnDemand + + LaunchOnlyOnce + + +