SO-Close-Vote-Reviewers / socvr.org

Website code for https://socvr.org
https://socvr.org/
0 stars 2 forks source link

Fold in comments.socvr.org functionality #4

Closed gunr2171 closed 2 months ago

gunr2171 commented 2 months ago

We currently have a separate application hosted at https://comments.socvr.org/ for auto comments using the AutoReviewComments userscript. This is a .NET application, and needs to run on a VM. We want to get rid of the VM so we don't need to pay for it.

The idea here is to merge the comments into this repo, so they are hosted by the same GitHub Pages that the main site is. Yes, this will mean that the URL will change for people to put into their remote box of the userscript; that's an acceptable loss.

There are two "old" repos that will be archived when this process is complete: https://github.com/SO-Close-Vote-Reviewers/auto-comments (which holds the "content" of the comments), and https://github.com/SO-Close-Vote-Reviewers/auto-comments-server (which converts the content files to jsonp and hosts the jsonp files + some introductory html).

The idea:

  1. Move the markdown files from the auto-comments repo to this repo.
  2. Make some sort of program (script, whatevs) that will compile the markdown files into jsonp format (that the userscript can understand) in the dist folder. This program will be triggered by the GitHub Action.
  3. Add to the "tools" page explaining how the comments system works, what the urls are, and how to add it as a remote.
gunr2171 commented 2 months ago

Main functionality has been done in #5. Last thing to do is make a readme file in the comments folder explaining the format of the files and such.