Skip to content

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.

ServiceEnvironment variableDefault
All external servicesCHEVERETO_ENABLE_EXTERNAL_SERVICES1
AkismetCHEVERETO_ENABLE_SERVICE_AKISMET1
StopForumSpamCHEVERETO_ENABLE_SERVICE_STOPFORUMSPAM1
CAPTCHACHEVERETO_ENABLE_CAPTCHA1
Project ArachnidCHEVERETO_ENABLE_SERVICE_PROJECTARACHNID1

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.

ValueEffect
DisqusUse the built-in Disqus embed
JavaScript/HTMLUse 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.

TypeExample
Stringyourwebsite

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.

TypeValue
StringDisqus 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.

TypeValue
StringDisqus 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:

PlaceholderReplaced 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
TypeValue
StringHTML

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.

TypeValue
StringHTML

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.

ValueEffect
EnabledEnable Akismet
DisabledDisable 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.

TypeValue
StringAkismet 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.

ValueEffect
EnabledEnable StopForumSpam
DisabledDisable StopForumSpam (default)

CAPTCHA ​

Toggles the use of CAPTCHA on forms like login, signup and contact. See Where CAPTCHA is used for the full list.

ValueEffect
EnabledEnable CAPTCHA
DisabledDisable 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.

ValueEffect
reCAPTCHA V2Use Google reCAPTCHA v2
reCAPTCHA V3Use Google reCAPTCHA v3
hCaptchaUse hCaptcha (default)
Cloudflare TurnstileUse 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.

TypeValue
StringCAPTCHA 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.

TypeValue
StringCAPTCHA 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.

ValueEffect
0Always show CAPTCHA
nShow 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.

ValueEffect
EnabledAlways show CAPTCHA on the contact page (default)
DisabledShow 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.

ValueEffect
EnabledEnable Project Arachnid
DisabledDisable 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.

TypeValue
StringProject Arachnid API username

Arachnid API password ​

*Applies only if Project Arachnid is Enabled.

Determines the Project Arachnid Shield API password.

TypeValue
StringProject 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.

TypeExample
Stringyourwebsite

Released under the Apache-2.0 License.