{"id":9380,"date":"2019-08-04T19:07:12","date_gmt":"2019-08-04T23:07:12","guid":{"rendered":"https:\/\/profitpress.local\/?post_type=sfwd-topic&p=9380"},"modified":"2021-01-23T23:54:09","modified_gmt":"2021-01-24T04:54:09","slug":"how-to-embed-github-contributions-chart-calendar","status":"publish","type":"post","link":"https:\/\/profitpress.local\/how-to-embed-github-contributions-chart-calendar\/","title":{"rendered":"How to Embed GitHub Contributions Chart\/Calendar"},"content":{"rendered":"\n
Wouldn’t it be great to embed your GitHub contribution chart\/calendar into any web page? First you need a web page where you can embed HTML. If you need help with setting up a website, we’ve provide more complete instructions here<\/a>.<\/p>\n\n\n\n If you already have a web page ready, then embed your contributions chart by using the below HTML image code, just replace username with your GitHub username (e.g. from https:\/\/github.com\/username)<\/em> .<\/p>\n\n\n\n Here’s an example of what it’ll look like:<\/em><\/p>\n\n\n\n If you want to use a custom color for the chart use the below code with your HEX color.<\/p>\n\n\n\n Here’s an example of what it’ll look like:<\/em><\/p>\n\n\n\n That’s it, you’re done! Here’s a look at example charts using the code:<\/p>\n\n\n\n How can we make this how-to guide better? What wasn’t clear? Please let us know in the comments!<\/p>\n","protected":false},"excerpt":{"rendered":" Wouldn’t it be great to embed your GitHub contribution chart\/calendar into any web page? Well you can, and it’s very easy!<\/p>\n","protected":false},"author":1,"featured_media":9384,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[2645],"tags":[],"_links":{"self":[{"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/posts\/9380"}],"collection":[{"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/comments?post=9380"}],"version-history":[{"count":1,"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/posts\/9380\/revisions"}],"predecessor-version":[{"id":11968,"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/posts\/9380\/revisions\/11968"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/media\/9384"}],"wp:attachment":[{"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/media?parent=9380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/categories?post=9380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/profitpress.local\/wp-json\/wp\/v2\/tags?post=9380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Well you can, and it’s very easy!<\/em><\/strong><\/p>\n\n\n\nHow to embed GitHub contributions on a website<\/h2>\n\n\n\n
<img src=\"http:\/\/ghchart.rshah.org\/username\" alt=\"Name Your GitHub chart\"><\/code><\/pre>\n\n\n\n
<\/figure><\/div>\n\n\n\n
<img src=\"http:\/\/ghchart.rshah.org\/HEXCOLORCODE\/username\" alt=\"Name Your GitHub chart\" \/><\/code><\/pre>\n\n\n\n
<\/figure><\/div>\n\n\n\n
\n\n\n\nResources<\/h2>\n\n\n\n
\n\n\n\nHow Can We Make This Better?<\/h2>\n\n\n\n