External services
/dashboard/settings/external-services
Connect your website to third-party services for comments, analytics, spam protection, CAPTCHA and CSAM detection.
Pro feature
External services are available in Chevereto Pro.
Each service can be turned off for the whole installation with an environment variable. When a toggle is set to 0, the service stays disabled, whatever is set here.
| Service | Environment variable | Default |
|---|---|---|
| All external services | CHEVERETO_ENABLE_EXTERNAL_SERVICES | 1 |
| Akismet | CHEVERETO_ENABLE_SERVICE_AKISMET | 1 |
| StopForumSpam | CHEVERETO_ENABLE_SERVICE_STOPFORUMSPAM | 1 |
| CAPTCHA | CHEVERETO_ENABLE_CAPTCHA | 1 |
| Project Arachnid | CHEVERETO_ENABLE_SERVICE_PROJECTARACHNID | 1 |
Comments API
Determines the comment service used on the file view page. When the service returns any code, the file view shows a Comments tab. See Comments for how to set up each option.
| Value | Effect |
|---|---|
| Disqus | Use the built-in Disqus embed |
| JavaScript/HTML | Use the code from Comment code (default) |
Disqus shortname
*Applies only if Comments API is set to Disqus.
Determines your Disqus shortname, the shortname part of shortname.disqus.com.
| Type | Example |
|---|---|
| String | yourwebsite |
Disqus secret key
*Applies only if Comments API is set to Disqus.
Determines the secret key of your Disqus API application, used for single sign-on (SSO).
SSO lets users who are logged in to your website comment with their Chevereto account. It is used only when both the secret key and the public key are set. Leave both empty to use regular Disqus accounts.
| Type | Value |
|---|---|
| String | Disqus secret key |
Disqus public key
*Applies only if Comments API is set to Disqus.
Determines the public key of your Disqus API application, used for single sign-on together with the secret key.
| Type | Value |
|---|---|
| String | Disqus public key |
Comment code
*Applies only if Comments API is set to JavaScript/HTML.
Determines the HTML code of the comment service, added to the file view page. Paste the embed code your comment provider gives you. Leave it empty to hide the Comments tab.
You can use these placeholders, which are replaced with the values of the file being viewed:
| Placeholder | Replaced with |
|---|---|
{{ PAGE_URL }} | The file's short URL |
{{ PAGE_ID }} | A unique identifier, like image:abc12 |
{{ PAGE_TITLE }} | The file's title |
{{ LANGUAGE_CODE }} | The visitor's language code, like en |
| Type | Value |
|---|---|
| String | HTML |
Analytics code
Determines the analytics HTML code that tracks visits to your website. Paste the tracking code provided by services like Google Analytics, Matomo, Plausible, Heap, Yandex.Metrica or Mixpanel.
The code is added at the end of the page, before the closing </body> tag, on every page of your website.
| Type | Value |
|---|---|
| String | HTML |
WARNING
The analytics code loads for every visitor, regardless of the cookie notice. If you need visitors to opt in before tracking starts, use a consent management platform.
Akismet spam protection
Toggles the use of Akismet to block spam in user generated content. See Akismet for what is checked and how to get an API key.
| Value | Effect |
|---|---|
| Enabled | Enable Akismet |
| Disabled | Disable Akismet (default) |
Akismet API key
*Applies only if Akismet spam protection is Enabled.
Determines the Akismet API key. The key is verified with Akismet when you save: an invalid key shows Invalid key and the changes aren't saved.
| Type | Value |
|---|---|
| String | Akismet API key |
StopForumSpam spam protection
Toggles the use of StopForumSpam to block known spammers on user signup. It needs no API key. See StopForumSpam for what is checked.
| Value | Effect |
|---|---|
| Enabled | Enable StopForumSpam |
| Disabled | Disable StopForumSpam (default) |
CAPTCHA
Toggles the use of CAPTCHA on forms like login, signup and contact. See Where CAPTCHA is used for the full list.
| Value | Effect |
|---|---|
| Enabled | Enable CAPTCHA |
| Disabled | Disable CAPTCHA (default) |
CAPTCHA API
*Applies only if CAPTCHA is Enabled.
Determines the CAPTCHA provider. See CAPTCHA providers for how to get the keys for each provider.
| Value | Effect |
|---|---|
| reCAPTCHA V2 | Use Google reCAPTCHA v2 |
| reCAPTCHA V3 | Use Google reCAPTCHA v3 |
| hCaptcha | Use hCaptcha (default) |
| Cloudflare Turnstile | Use Cloudflare Turnstile |
CAPTCHA site key
*Applies only if CAPTCHA is Enabled.
Determines the public site key given by your CAPTCHA provider. Required when CAPTCHA is enabled.
| Type | Value |
|---|---|
| String | CAPTCHA site key |
CAPTCHA secret key
*Applies only if CAPTCHA is Enabled.
Determines the secret key given by your CAPTCHA provider. Required when CAPTCHA is enabled.
| Type | Value |
|---|---|
| String | CAPTCHA secret key |
WARNING
Site key and secret key must belong to the provider selected in CAPTCHA API. Keys from another provider, or from another reCAPTCHA version, make the CAPTCHA fail and can lock users out of login.
CAPTCHA threshold
*Applies only if CAPTCHA is Enabled.
Determines how many failed attempts a visitor can make in a day before CAPTCHA is shown. Failed attempts include wrong logins and rejected signups. Logged-in users aren't asked for CAPTCHA once they reach the threshold.
| Value | Effect |
|---|---|
| 0 | Always show CAPTCHA |
| n | Show CAPTCHA after n failed attempts in a day |
The default is 5.
Force CAPTCHA on contact page
*Applies only if CAPTCHA is Enabled.
Toggles always showing CAPTCHA on the contact page, whatever the CAPTCHA threshold.
| Value | Effect |
|---|---|
| Enabled | Always show CAPTCHA on the contact page (default) |
| Disabled | Show CAPTCHA on the contact page only past the threshold |
Project Arachnid
Toggles the use of Project Arachnid Shield to combat child sexual abuse material (CSAM). Uploaded images are checked against known CSAM before they are stored, and matches are rejected. Videos aren't checked. See Project Arachnid for how it works and how to get API access.
| Value | Effect |
|---|---|
| Enabled | Enable Project Arachnid |
| Disabled | Disable Project Arachnid (default) |
When you save with this option enabled, Chevereto sends a test request with the API credentials and shows the error returned if they don't work.
WARNING
While enabled, uploads fail if the Project Arachnid service can't be reached or returns an error.
Arachnid API username
*Applies only if Project Arachnid is Enabled.
Determines the Project Arachnid Shield API username.
| Type | Value |
|---|---|
| String | Project Arachnid API username |
Arachnid API password
*Applies only if Project Arachnid is Enabled.
Determines the Project Arachnid Shield API password.
| Type | Value |
|---|---|
| String | Project Arachnid API password |
X account
Determines your website's X (formerly Twitter) username, without the @.
It is added to the twitter:site meta tag of your pages and to the links for sharing on X, so shared posts credit your account.
| Type | Example |
|---|---|
| String | yourwebsite |
