Skip to content

codercops/codercops-discussions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

CoderCops Discussions

This repository serves as the backend for blog comments on www.codercops.com using GitHub Discussions.

Overview

Instead of using a traditional commenting system, this repository leverages GitHub Discussions to provide a robust, spam-resistant, and feature-rich commenting experience for blog posts. Each blog post on CoderCops corresponds to a discussion thread in this repository.

How It Works

  1. Blog Post Creation: When a new blog post is published on www.codercops.com, a corresponding discussion is created in this repository.

  2. Comments: Readers can comment on blog posts using their GitHub accounts. Comments are stored as discussion replies in this repository.

  3. Moderation: GitHub's built-in moderation tools help manage spam and inappropriate content.

  4. Features:

    • Markdown support for rich text formatting
    • Code syntax highlighting
    • Reactions (👍, ❤️, etc.)
    • Threading and nested replies
    • Edit history
    • @mentions and notifications

Benefits

  • No Database Required: All comments are stored in GitHub's infrastructure
  • Spam Protection: Requires GitHub authentication to comment
  • Developer-Friendly: Familiar interface for technical audiences
  • Version Control: Full history of all comments and edits
  • Free Hosting: No additional costs for comment infrastructure
  • Privacy: Respects user privacy through GitHub's policies

For Blog Readers

To leave a comment on a CoderCops blog post:

  1. Click the "Comment" or "Join Discussion" link on the blog post
  2. You'll be redirected to the corresponding GitHub Discussion
  3. Sign in with your GitHub account (or create one if needed)
  4. Share your thoughts, feedback, or questions!

For Contributors

This repository is primarily automated. Discussions are created and managed programmatically when blog posts are published.

If you notice any issues with the commenting system or have suggestions, please open an issue in this repository.

Technology

This commenting system typically uses tools like:

  • giscus or similar GitHub Discussions integration
  • GitHub GraphQL API for discussion management
  • GitHub Apps for authentication and authorization

License

Comments and discussions are subject to GitHub's Terms of Service.


Visit www.codercops.com to read the blog and join the discussions!

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors