Embed a GitHub Repository part 2.
A couple years ago I created a WordPress plugin to allow me to embed a GitHub repository widget in posts/pages using a shortcode. I wanted a quick way to display a summary about a project hosted on GitHub. You can read the original post here:
I’ve been working on porting my website’s frontend to React and I wanted the same widget on my new site.
Introducing React GitHub Widget
This new React GitHub Widget by default handles everything for you. You just pass it the repository path, it loads the data and displays it in a nice clean way. It’s almost exactly like the WordPress plugin, just implemented as a React component instead.
Check it out here: