TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: I'm working on a open-source, self-hosted alternative to Disqus

436 点作者 djyde大约 4 年前

44 条评论

dariusj18大约 4 年前
Slightly OT but if I'm ever in need of a comprehensive list of alternatives to services, I'm just going to post that I'm building one. I just knew when I saw this post that the thread would be full of preexisting projects.
评论 #26883206 未加载
评论 #26885989 未加载
评论 #26883515 未加载
评论 #26889551 未加载
评论 #26884305 未加载
评论 #26884210 未加载
评论 #26889819 未加载
评论 #26885032 未加载
lawrencechen大约 4 年前
Neat! I checked out your source code, and if there&#x27;s one comment I have, it&#x27;s the way you query for comments. Currently, response times are around 300-400 ms for just 79 bytes of data. That&#x27;s likely because you recursively fetch nested comments from a serverless function, which potentially has to make multiple network request to talk to the database. Coincidentally, a past Disqus employee has a great write up on the faster solution (recursive CTE): <a href="https:&#x2F;&#x2F;cra.mr&#x2F;2010&#x2F;05&#x2F;30&#x2F;scaling-threaded-comments-on-django-at-disqus&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cra.mr&#x2F;2010&#x2F;05&#x2F;30&#x2F;scaling-threaded-comments-on-djang...</a><p>Regardless, great work! Choosing Svelte to hit that 4.7kb mark is super sweet!
评论 #26886847 未加载
评论 #26886983 未加载
mey大约 4 年前
Coral is poorly advertised outside it&#x27;s ecosystem, but should be considered. <a href="https:&#x2F;&#x2F;github.com&#x2F;coralproject&#x2F;talk" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;coralproject&#x2F;talk</a><p>See <a href="https:&#x2F;&#x2F;docs.coralproject.net&#x2F;coral&#x2F;v5&#x2F;integrating&#x2F;cms&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.coralproject.net&#x2F;coral&#x2F;v5&#x2F;integrating&#x2F;cms&#x2F;</a> to get an idea of it&#x27;s use.
评论 #26881440 未加载
评论 #26880715 未加载
rendx大约 4 年前
A somewhat related solution for comments is to piggyback on the Mastodon ecosystem, which I really like: <a href="https:&#x2F;&#x2F;carlschwan.eu&#x2F;2020&#x2F;12&#x2F;29&#x2F;adding-comments-to-your-static-blog-with-mastodon&#x2F;" rel="nofollow">https:&#x2F;&#x2F;carlschwan.eu&#x2F;2020&#x2F;12&#x2F;29&#x2F;adding-comments-to-your-sta...</a>
评论 #26883988 未加载
评论 #26880149 未加载
lbriner大约 4 年前
I wonder how many people who are using comments don&#x27;t need comments. I have seen so many places where comments are enabled but even good comments are not replied to, especially when the post is from 5 years ago.<p>Also, trying to ensure the correct quality of comments is time-consuming. If someone asks &quot;Why would I use C#?&quot;, it might seem low quality and won&#x27;t be published but what if someone asks &quot;You are using C# but Go would make a lot of this easier&quot;, it might warrant publishing and even a reply but how many people really want to start a long discussion with a stranger about the merits of different languages?
评论 #26888452 未加载
pentagrama大约 4 年前
I would suggest that always show on screen the label of the input, is not a good practice put the label inside the input and make it disappear when the person start typing.<p>Example: <a href="https:&#x2F;&#x2F;miro.medium.com&#x2F;max&#x2F;700&#x2F;1*tjzXjhViDt3ArR1zUkFiRw.png" rel="nofollow">https:&#x2F;&#x2F;miro.medium.com&#x2F;max&#x2F;700&#x2F;1*tjzXjhViDt3ArR1zUkFiRw.png</a><p>From: <a href="https:&#x2F;&#x2F;uxdesign.cc&#x2F;best-practices-for-form-design-ff5de6ca8e5f" rel="nofollow">https:&#x2F;&#x2F;uxdesign.cc&#x2F;best-practices-for-form-design-ff5de6ca8...</a><p>Hope can help.
评论 #26882103 未加载
Tepix大约 4 年前
When i click on &quot;try it now&quot;, then click the browser&#x27;s back button when seeing &quot;log in with github&quot; I and up at <a href="https:&#x2F;&#x2F;cusdis.com&#x2F;dashboard" rel="nofollow">https:&#x2F;&#x2F;cusdis.com&#x2F;dashboard</a> and get a 500 error page.
评论 #26886871 未加载
评论 #26885739 未加载
l3s2d大约 4 年前
How does this compare to Commento?<p><a href="https:&#x2F;&#x2F;commento.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;commento.io&#x2F;</a><p><a href="https:&#x2F;&#x2F;gitlab.com&#x2F;commento&#x2F;commento" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;commento&#x2F;commento</a>
评论 #26880789 未加载
评论 #26882457 未加载
评论 #26881171 未加载
评论 #26884014 未加载
yoaviram大约 4 年前
Nice project!<p>I&#x27;ve been using RemarkBox for the last couple of months and like it. It&#x27;s privacy respecting, hosted, pay what you want.<p><a href="https:&#x2F;&#x2F;www.remarkbox.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.remarkbox.com&#x2F;</a>
评论 #26881792 未加载
评论 #26879430 未加载
jedberg大约 4 年前
The main advantage to Disqus (and other hosted solutions) is that their spam protection applies across all comment sections. You&#x27;ll never get that with an open source solution.
评论 #26882944 未加载
评论 #26885169 未加载
评论 #26882267 未加载
评论 #26881732 未加载
评论 #26881589 未加载
aleksi大约 4 年前
Another similar project: <a href="https:&#x2F;&#x2F;remark42.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;remark42.com&#x2F;</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;umputun&#x2F;remark42" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;umputun&#x2F;remark42</a>
Jiejeing大约 4 年前
Other (older) projects trying to fill a similar need :<p>isso: <a href="https:&#x2F;&#x2F;github.com&#x2F;posativ&#x2F;isso" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;posativ&#x2F;isso</a><p>juvia: <a href="https:&#x2F;&#x2F;github.com&#x2F;phusion&#x2F;juvia" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;phusion&#x2F;juvia</a><p>But cusdis looks great so far!
评论 #26886514 未加载
taltman1大约 4 年前
I&#x27;m late to the game, but I&#x27;m surprised that no one has mentioned StaticMan yet:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;eduardoboucas&#x2F;staticman" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eduardoboucas&#x2F;staticman</a><p>Just uses Git(Hub|Lab) to triage and approve comments for your static sites, like Jekyll.
评论 #26885979 未加载
darekkay大约 4 年前
I&#x27;m maintaining a list of commenting systems [1]. It&#x27;s great to see more alternatives coming up every few months. I&#x27;ve just updated the list with 3 new projects from this thread.<p>[1] <a href="https:&#x2F;&#x2F;darekkay.com&#x2F;blog&#x2F;static-site-comments&#x2F;" rel="nofollow">https:&#x2F;&#x2F;darekkay.com&#x2F;blog&#x2F;static-site-comments&#x2F;</a>
pwdisswordfish8大约 4 年前
I worry about the echo chambers people are subjecting themselves to when something with applicability as general as a commenting widget requires a GitHub account to sign in. That&#x27;s narrowing it down to a subset of a subset of one&#x27;s audience.
评论 #26886073 未加载
m00dy大约 4 年前
Make it decentralised, it is the new black.
评论 #26879468 未加载
评论 #26879055 未加载
评论 #26878909 未加载
sytse大约 4 年前
Very cool! I would love to switch away but a Disqus import would be needed before we can do so.
评论 #26879513 未加载
tyingq大约 4 年前
The edit box doesn&#x27;t seem to indicate what sorts of markup, or <i>&quot;url looking thing is converted to link&quot;</i>, etc, is available. Might be good to have a little help box to explain what&#x27;s allowed&#x2F;supported, even if that&#x27;s just text.<p>Edit: I now see the &quot;support markdown&quot; commit. You might want a &quot;preview&quot; button so people can see what they have. At the moment I see only a &quot;Post Comment&quot; button.<p>Also, does it understand the concept of canonical urls so that pages that are the same one, but with different urls, share the same comments? I searched the repo for &quot;canonical&quot; and didn&#x27;t see anything.
elric大约 4 年前
Cuss &amp; diss Disqus. Loving the name.<p>Can I suggest you add something of an architecture diagram&#x2F;flowchart od the website? Just a little something that illustrates what the frontend talks to, where the data is stored, that sort of thing?
评论 #26879381 未加载
barbazoo大约 4 年前
Disqus -&gt; qusDis -&gt; cusDis -&gt; cusdis<p>I hope that&#x27;s not too close to the original name
MayeulC大约 4 年前
Is there a mail-based solution out there?<p>Kind of like a public mailbox that you send comments to, and articles get recompiled with the comments on a static blog.<p>Plus, it would be naturally threaded if your mailto: link includes a thread ID.
评论 #26882022 未加载
评论 #26891802 未加载
评论 #26888456 未加载
rapnie大约 4 年前
Great! Read here why it is needed: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26033052" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26033052</a><p>Disqus.. the dark commenting system.
评论 #26882767 未加载
aviditas大约 4 年前
I did some back end work and intense moderation for a large scale commenting&#x2F;discussion site. I would like to chat with you about the spam &#x2F;moderation &#x27;con&#x27; you have listed in the documentation. I have a hefty set of semipolished ideas in that space that I would be happy to give to someone who can actually use them. I couldn&#x27;t find a way to send you an email or message. If you are interested, feel free to reach out security at myusername .net.
评论 #26899329 未加载
hutch120大约 4 年前
I tried out Disqus about 3 years ago, and found the API horrible... see SOF thread here. Might be worth doing a React wrapper to make it easy to understand how to integrate with frontend. <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;48653016&#x2F;does-the-disqus-reset-javascript-function-have-any-error-handling&#x2F;49103683#49103683" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;48653016&#x2F;does-the-disqus...</a>
mfts0大约 4 年前
I&#x27;m a huge fan of the lightweight nature of Cusdis.<p>I made this walk-through video of the project inclusive the deployment to Vercel and Railway:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=XHr0oBIA2xA" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=XHr0oBIA2xA</a>
transfire大约 4 年前
Looking over the source code, it pains me to see how complicated web app development has become.
评论 #26886545 未加载
rajasimon大约 4 年前
I created a paid version here at <a href="https:&#x2F;&#x2F;blogstreak.com" rel="nofollow">https:&#x2F;&#x2F;blogstreak.com</a> but I don&#x27;t think it&#x27;s taking off. I am planning to add marketing blogs but let&#x27;s see in a month.
评论 #26886048 未加载
dt3ft大约 4 年前
The self-host documentation returns a 404: <a href="https:&#x2F;&#x2F;cusdis.com&#x2F;doc#&#x2F;self-host&#x2F;installation" rel="nofollow">https:&#x2F;&#x2F;cusdis.com&#x2F;doc#&#x2F;self-host&#x2F;installation</a>
评论 #26888993 未加载
6510大约 4 年前
imho the most important part of comment systems is the formula to appeal bans. False positives are going to happen and you cant just randomly remove people from communities out of convenience.
heofizzy大约 4 年前
I have been tinkering about the idea of building open source disqus alternative for few months now. I guess I missed the train already:D Do you have any plans to monetise this?
评论 #26881200 未加载
tanrax大约 4 年前
Glosa, with its Disqus importer, has been around for a long time. <a href="https:&#x2F;&#x2F;github.com&#x2F;glosa" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;glosa</a>
评论 #26886015 未加载
eatthatpie大约 4 年前
I love this project and I&#x27;d love it more if there was a discription on landing page about WHY it is privacy-friendly (as it seems to be one of the greatest benefits).
EvanKRob大约 4 年前
Integrate it with ghost. There aren’t many options for us building communities on Ghost for commenting. Cove.chat but the experience is less than premium IMO.
setum大约 4 年前
Cool! I would like to try this out in my blog, can this be integrated with statically generated pages using jekyll?
staticelf大约 4 年前
Nice project but you should probably change the name of the service IMO.
toomanyducks大约 4 年前
What&#x27;s the license? I didn&#x27;t see it on the repo.
评论 #26879561 未加载
评论 #26879321 未加载
zapt02大约 4 年前
Great use case for Svelte! How are you liking it so far?
评论 #26880141 未加载
ochronus大约 4 年前
Nice! Congrats, looks amazing
spamtarget大约 4 年前
self hosting + open source. kudos, good man
FoohanFoo大约 4 年前
Very interesting, I&#x27;ve been looking for this.
truth_大约 4 年前
How can I use it on the posts in my blog hosted at GitHub pages? I use Jekyll to build my blog.<p>Do you have a tutorial for that?
pgt大约 4 年前
Change the name.
评论 #26880811 未加载
Dort大约 4 年前
This looks interesting.<p>I browse the WWW without JavaScript and this bricks many comment systems. Are you planning to make a widget without reliance on JavaScript?
评论 #26880331 未加载
评论 #26880064 未加载
O_H_E大约 4 年前
Not to put you down, but I think you should differentiate yourself well from Discourse (<a href="https:&#x2F;&#x2F;github.com&#x2F;discourse&#x2F;discourse" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;discourse&#x2F;discourse</a>), as it is pretty popular with the open source communities.
评论 #26879142 未加载
评论 #26879111 未加载