You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: Add support for comments powered by Discourse #738
For Home Assistant we use Discourse for commenting. Discourse is open source forum software. The way it works is similar to how Facebook commenting works: you load a piece of JavaScript[1] and it will allow people to comment (example).
Would a pull request be accepted that adds support for configuring Discourse comments for Docusaurus blog posts?
I would structure it similarly to how the existing Docusaurus FB comments feature is done (source).
[1]: Code looks like this:
DiscourseEmbed={discourseUrl: 'https://community.home-assistant.io/',discourseEmbedUrl: 'URL OF PAGE THAT IS BEING EMBEDDED'};(function(){vard=document.createElement('script');d.type='text/javascript';d.async=true;d.src=DiscourseEmbed.discourseUrl+'javascripts/embed.js';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(d);})();
People can host their own copy and set up user registration as they like. We have it set up with email verification as a requirement before posting and have not seen any spam.
Activity
JoelMarcey commentedon Jun 8, 2018
Hi @balloob Thanks for the feature request. We have add other issues discuss this too:
#667
#219
I would definitely be willing to review a PR. Does it prevent spam well?
balloob commentedon Jun 8, 2018
People can host their own copy and set up user registration as they like. We have it set up with email verification as a requirement before posting and have not seen any spam.
endiliey commentedon Aug 28, 2018
I will close this since we already have FB comment for v1. On v2 user can extends their own layout and write React component so this is up to the user