Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: remove wild DeepL keys #54

Merged
merged 7 commits into from
Apr 13, 2024

Conversation

HernandoR
Copy link
Contributor

Wild deepL keys from github is immoral and potentially illegal.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello HernandoR, Thank you for your first PR contribution 🎉 HernandoR

@tisfeng
Copy link
Owner

tisfeng commented Apr 4, 2024

It's okay to remove the wild key, but it's not friendly for those users who can't use the official key.

Can you add a DeepL custom endpoint option so that users can use DeepL third-party services, such as DeepLX?

Refer tisfeng/Easydict#464 (comment)

src/translation/deepL.ts Outdated Show resolved Hide resolved
src/translation/deepL.ts Outdated Show resolved Hide resolved
@tisfeng
Copy link
Owner

tisfeng commented Apr 13, 2024

@HernandoR I have added Custom DeepL API URL, I have done all the work related to it, your commit code will cause conflict, please revert it.

package.json Outdated Show resolved Hide resolved
@tisfeng tisfeng force-pushed the feat-remove-wild-DeepL-keys branch from ecccab2 to e7024b7 Compare April 13, 2024 02:23
@tisfeng tisfeng merged commit 3d8cd8b into tisfeng:main Apr 13, 2024
5 checks passed
tisfeng added a commit that referenced this pull request Apr 13, 2024
* chore: remove wild DeepL support

* fix: show error toast when DeepL failed

* perf: remove all wild DeepL api keys

* perf: do not check DeepL API key valid

* feat: enable to use custom DeepL API URL

* docs: update README

---------

Co-authored-by: tisfeng <[email protected]>
@HernandoR
Copy link
Contributor Author

Seems good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants