If the above button does not work for you (due to "We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy." error), you can fork this repository and use your own URL like https://heroku.com/deploy?template=https://github.com/{your GitHub account here}/deepl-for-slack/tree/master
.
Slack users can run DeepL Translate API in a modal.
This works mostly the same as reacjilator.
To run this app, the following accounts are required.
If you already have all of them, setting up this app requires only 5 minutes.
Refer to the following resources for more details:
Use the App Manifest file to configure a new app!
Got to Settings > Install App in the left pane
Go to Settings > Basic Information in the left pane
SLACK_SIGNING_SECRET
: Settings > Basic Information > App Credentials > Signing Secret in the Slack app config pageSLACK_BOT_TOKEN
: Settings > Install App > Bot User OAuth Access Token in the Slack app config pageDEEPL_AUTH_KEY
: Authentication Key for DeepL API in the DeepL Pro account pageDEEPL_FREE_API_PLAN
: Set to "1" if you are using the DeepL API Free Plan (the default is "0" for Pro Plan)Go to Features > Event Subscriptions in the left pane
https://{your app's Heroku domain}/slack/events
Go to Features > Interactivity & Shortcuts in the left pane
https://{your app's Heroku domain}/slack/events
Go to your Slack workspace
Run /invite @deepl_translation
in a channel
Post a message saying In functional programming, a monad is a design pattern that allows structuring programs generically while automating away boilerplate code needed by the program logic. Monads achieve this by providing their own data type (a particular type for each type of monad), which represents a specific form of computation, along with one procedure to wrap values of any basic type within the monad (yielding a monadic value) and another to compose functions that output monadic values (called monadic functions).
Add a reaction :flag-jp:
to the message
Check a new message in its thread
Click ⚡ (Shortcuts) button
Click Open DeepL Tool
Enter a text and the language on the modal
The MIT License
If you are looking for more functionalities, take a look at the following awesome projects: