I Built AnswerTrace . GitHub Discussions Analytics for Your README
DEV Community

I Built AnswerTrace . GitHub Discussions Analytics for Your README

I noticed GitHub profiles show a lot about code contributions, but not much about contributions through GitHub Discussions. So I built AnswerTrace.

AnswerTrace analyzes public GitHub Discussions activity and turns it into a small SVG widget for your README. It currently shows:

  • Accepted Answers
  • Total Upvotes
  • Top Community
  • First Accepted Answer

It can also update automatically with GitHub Actions.

Usage

- name: Generate AnswerTrace widget
  uses: antonisloukis/answertrace@v1
  with:
    username: YOUR_GITHUB_USERNAME
    token: ${{ secrets.ANSWERTRACE_TOKEN }}
    output: assets/discussion-impact.svg
    accent: "#58A6FF"

Then add the generated SVG to your README:

<img src="./assets/discussion-impact.svg" alt="GitHub Discussions Impact" width="720" />

AnswerTrace is open source and available on GitHub Marketplace.

  • View AnswerTrace on GitHub Marketplace
  • View the source on GitHub

AnswerTrace is still early, and I'd like to keep improving it based on how people actually use GitHub Discussions. What other GitHub Discussions metrics would you find useful?

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.