

























Cusdis is a privacy-first, open-source, and lightweight (~5kb gzipped) comment system. You can think of it as a self-hosted alternative to Disqus that does not track you or your users. It also comes with a dashboard for moderating comments, email notifications, and webhook support for staying up-to-date with new comments on your blog or website.
At Railway, we provide a free one-click deploy for Cusdis using a PostgreSQL database which we automagically provision for you.
To deploy your Cusdis instance on Railway, simply click the button above (source code), enter the prompted environment variables and hit deploy. The required PostgreSQL database will be automagically provisioned and the required database migrations will be run for you.
Default environment variables (do not change these):
${{ RAILWAY_STATIC_URL }} using our template variables. What this been is that it'll be set to the URL for your deployment.pgsql.${{ DATABASE_URL }}.3000 as 3000 is the default port for Cusdis.Additional required environment variables:
💡 Pro-tip: You can hit CMD+K on the dashboard and use our secret generator.
Once you've added all the variables and hit the deploy button, a PostgreSQL database will be automagically provisioned for you and you should be able to use your Cusdis instance!

Once your Cusdis instance is live, you can create projects for your websites and add commenting functionality to them!
And with that, you should have all the information you need to deploy your own Cusdis instance on Railway! You should be able to create new projects and add the comments widget to your websites.
If you have any suggestions for more open-source self-hosted solutions you'd like to see guides for, let us know on Discord. Or even better, submit a pull request to our starters repository on Github!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。