quartz/content/Projects/Obsidian/quartz-comments.md
2023-11-08 12:26:13 -06:00

1.4 KiB
Raw Blame History

title tags date
Remark42 Comments
cloud
difficulty-advanced
webdev
seedling
9-08-23

I recently added Remark42 for comments. It's still a work in progress, and I plan to update quite a few things about it in future.

Backend

I run the service from Docker on Projects/my-cloud, exposed at a subdirectory of this domain. Fun fact, the exact reason that I proxy through my cloud to the GH Pages hosting for this site is so that I can do stuff like this and throw related services on subdirectories.

I really enjoy how easy it is to bring-up my backend nowadays because everything is a docker container.

Frontend

I've created a Transformer Plugin for Quartz that adds the necessary scripts to the page, and put the comment element on the footer of the page.

Now works with SPA mode! Unfortunately, Im waiting on an update that fires an event I can listen for when the theme changes so that I can also tell it to reload on theme change. For now, refresh the page if it looks glitched.

At present, you can choose to leave an anonymous comment or link it to your GitHub account. Alternatively, you can use use email confirmation for notifications when someone replies to your comments!

Todo

  • Style the comment box to align with the styles on the site.