Skip to content

[EXPERIMENTAL] DeepL Driver designed to do the fewer API Calls as possible. Compatible with string arrays inputs, string inputs, and Record<string, string> inputs. Backend & Frontend compatible.

License

gustaveWPM/DeepL-Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DeepL Driver

This custom DeepL Driver is designed to do fewer API Calls (it partitions your input to make each request as close as possible to the maximum number of characters per request allowed by DeepL).

Polymorphic input

Compatible with:

  • string inputs
    • 'This is a test'
  • string arrays inputs
    • ['This is a test', 'This is an another test']
  • Record<string, string> inputs
    • {key_a: 'This is a test', key_b: 'This is an another test'}

Use it anywhere!

Backend & Frontend compatible (even if it is discouraged to use DeepL API calls from a frontend), via a Cors.sh proxy if needed.

Good practices

Before ANY use of this driver in your Frontend, read carefully DeepL recommandations.

⚠️ The only relevant use case of this driver in Frontend is the realization of an alternative front in which the user must enter his API key.

Don't expose your API key in your frontend.


This GitHub repository is not part of the DeepL website or DeepL, SE.
Additionally, this GitHub repository is NOT endorsed by DeepL in any way.
DeepL is a trademark of DeepL, SE.

About

[EXPERIMENTAL] DeepL Driver designed to do the fewer API Calls as possible. Compatible with string arrays inputs, string inputs, and Record<string, string> inputs. Backend & Frontend compatible.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published