Skip to content

TallDev/GitHubWidgets

Repository files navigation

GitHubWidgets

Easily embed GitHub stuff

Use:

  1. Download it (use from the web come soon)
  2. You need the Username from the Account which come in the frame
  3. Embed it like this (You must replace USERNAME to a real name):

Embed a Github User

<iframe src="EmbedGithubUserWidget.php?user=USERNAME&template=TEMPLATEFILE" id="iframe" width="400" height="600" style="border: none;">

You also can do it like this:

<iframe src="" id="iframe" width="400" height="600" style="border: none;">
document.getElementById('iframe').src = "EmbedGithubUserWidget.php?user=USERNAME&template=TEMPLATEFILE";

Embed a Github Organisation

<iframe src="EmbedGithubOrgWidget.php?org=ORGNAME&template=TEMPLATEFILE" id="iframe" width="400" height="600" style="border: none;">

You also can do it like this:

<iframe src="" id="iframe" width="400" height="600" style="border: none;">
document.getElementById('iframe').src = "EmbedGithubOrgWidget.php?org=ORGNAME&template=TEMPLATEFILE";

In the next days i will also implement it on my Web page and widgeds for Organization will come later.