this functionality has already been available as part of github pages. Not really sure what you are adding here.
This is similar to what some big companies do to render a projects page. A copied Twitter's[1][2] a while back when it was simpler[3][4].
[1] https://twitter.github.io/
[2] https://github.com/twitter/twitter.github.io