Skip to main content

Deploy Remark42

Remark42 is a lightweight, self-hosted comment system designed as an alternative to Disqus. It supports multiple authentication providers, spam protection, and provides a clean, customizable interface. With Hostim.dev, you can deploy Remark42 with Docker and persistent storage in one click.

πŸ’¬ Self-host your comments. Privacy-first. Zero tracking.


Try it Yourself

Guest project runs for 1 hour. Log in to save and extend to 5 days.


Why Host Remark42 on Hostim.dev?​

  • 🐳 One-click Docker deployment – no manual setup required
  • πŸ’Ύ Persistent storage – keeps all comments and data safe
  • 🌍 Automatic HTTPS + domain – ready to integrate instantly
  • πŸ”’ OAuth ready – supports GitHub, Google, Facebook, and more
  • πŸ“Š Real-time logs and metrics – monitor performance at a glance

πŸŽ₯ Watch how easy it is to deploy any open source app on Hostim.dev – this example shows Umami, but the flow is identical for Remark42.


What's included​

ResourceDetails
Appghcr.io/umputun/remark42:latest image
Volume/srv/var (persistent data storage)
DomainFree *.hostim.dev subdomain
SSLLet's Encrypt (auto-enabled)
Port8080
ConfigPre-configured with anonymous auth

How to Deploy​

  1. Go to your Hostim.dev dashboard.
  2. Click Create Project β†’ Use a Template.
  3. Select the Remark42 template.
  4. Choose a resource plan (Dev, Prod, or Full).
  5. Hit Deploy.

Your project will be ready in seconds. From there, you'll need to configure it for your website.


Post-Deploy Notes​

1. Add Site ID Environment Variable​

  1. Go to your Envs tab
  2. Add a new variable: SITE=your-website-name (e.g., myblog)

For GitHub authentication, add these variables:

  • AUTH_GITHUB_CID - Your GitHub OAuth App Client ID
  • AUTH_GITHUB_CSEC - Your GitHub OAuth App Client Secret

3. Frontend Integration​

Add this code to your website where you want comments to appear:

<script>
var remark_config = {
host: "https://your-remark42-domain.hostim.dev", // Your Remark42 URL
site_id: "your-website-name", // Same as SITE env var
components: ["embed"],
theme: "light", // or 'dark'
};
</script>

<!-- Comments container -->
<div id="remark42"></div>

<!-- Initialization script -->
<script>
!(function (e, n) {
for (var o = 0; o < e.length; o++) {
var r = n.createElement("script"),
c = ".js",
d = n.head || n.body;
"noModule" in r ? ((r.type = "module"), (c = ".mjs")) : (r.async = !0),
(r.defer = !0),
(r.src = remark_config.host + "/web/" + e[o] + c),
d.appendChild(r);
}
})(remark_config.components || ["embed"], document);
</script>

4. Additional Features​

  • 🌐 Add a custom domain under Networking β†’ Domains
  • πŸ“Š View resource usage and logs under the App panel
  • πŸ”§ Configure email notifications by adding SMTP environment variables

Source + Docs​


Looking for something else? Browse all templates β†’


Try it now​

Deploy Remark42 Now – in less than 60 seconds