staticman icon indicating copy to clipboard operation
staticman copied to clipboard

Ready to use Disqus like template

Open sirinath opened this issue 4 years ago • 6 comments

Is it possible to add ready to use templates for major static site generation software like Hugo, Jekyll, etc. to create a Disqus like threaded comments with voting.

sirinath avatar Jun 19 '20 15:06 sirinath

Having threaded comments would be amazing!

Gizmotronn avatar Jun 29 '20 11:06 Gizmotronn

Threaded comments are definitely possible with the current state of Staticman. This guide may prove useful though it references the public instance which no longer exists. The steps should be similar once you've got your own instance running.

alexwaibel avatar Jun 29 '20 16:06 alexwaibel

See also this implementation for the theme BeautifulHugo https://github.com/halogenica/beautifulhugo/pull/222

iootaa avatar Jul 06 '20 00:07 iootaa

@iootaa thanks for the pointer.

Some potential functionality we can have:

  • have up and down votes on comments and replies
  • star or rate comments and replies
  • collapse and expand comments and threads
  • add reaction using emoji icons to comments
  • display a discourse like summary of the comment thread at the top
  • display a colour-coded line to the left grouping reply threads by level
  • ability to sort thread by the user on:
    • time updating thread
    • votes
    • rating
    • reactions
  • toddle threaded and linearised format

sirinath avatar Jul 06 '20 06:07 sirinath

Some potential functionality we can have:

These are good features for a commenting system to have, however IMO many of these are outside the scope of Staticman. Staticman is merely the backend that provides the ability to submit comments as PRs or commits. Things like "collapse and expand comments" are the responsibility of the front end website and is not a problem that Staticman itself seeks to solve.

alexwaibel avatar Jul 06 '20 15:07 alexwaibel

@alexwaibel what I am looking for is some front end templates using Staticman where someone can just drop the code and get it to work without having to do a lot of programming. It can be in what @iootaa pointed out or even another project or maybe even as sample templates which are given in the site.

sirinath avatar Jul 06 '20 15:07 sirinath