Embed a GitHub Repository part 2.

November 11, 2017 React JavaScript Open Source

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:

https://jason.stallin.gs/github-shortcode-released/

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

Automatically mute Hulu ads.Read More

Latest commit to the master branch on 2015-11-20
Download as zip

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:

https://github.com/octalmage/react-github-widget



Powered by Gatsby and WordPress.