DEV Community

lencx
lencx

Posted on

Show GitHub Discussions on your GitHub profile/project readme

Show your latest blog posts from GitHub Discussions on your GitHub profile/project readme automatically using the RSS feed

GitHub Discussions RSS:https://github.com/lencx/rgd

Getting Started

Run workflow automatically:

  1. Generate RSS:
    https://github.com/lencx/z/blob/main/.github/workflows/deploy.yml#L21

    # step1
    npm install -g rgd
    
    # step2
    rgd --owner=lencx --repo=z --limit=10 --outdir=dist --token=${{ secrets.GH_TOKEN }} --site-title=浮之静 --site-link=https://z.nofwl.com --site-desc="浮之静 技术社区"
    
  2. Blog Post Workflow:
    https://github.com/lencx/lencx/blob/main/.github/workflows/blog-post-workflow.yml

Demo

https://github.com/lencx/lencx

Top comments (0)