You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
artem a6d79eb0c7 Merge branch 'releases' 6 years ago
css Embed GitHub logo rather than hotlink. 6 years ago
img/github-logos Add images 6 years ago
templates create releases informer 6 years ago
LICENSE.txt Clarify license 8 years ago
README.md Bump (v1.8) 6 years ago
banner-772x250.png Add banner for WP.org 12 years ago
deploy.sh Deploy redundancy 6 years ago
github-api.php Whitespace 6 years ago
github-embed.php create releases informer 6 years ago
readme.txt README fix 6 years ago
screenshot-1.png Add screenshot for wp.org 12 years ago
screenshot-2.png Another screenshot 12 years ago
screenshot-3.png Milestone summary screenshot 12 years ago
screenshot-4.png Documentation fixes 12 years ago
widget.php translate on english for pull request 6 years ago

README.md

Github Embed

Plugin that allows you to embed details from github just by pasting in the URL as you would any other embed source. Currently supports:

Repositories

https://github.com/leewillis77/wp-github-oembed Sample output for repository

User profiles

https://github.com/leewillis77/ Sample output for a user

Milestone summaries

https://github.com/leewillis77/wp-github-oembed/issues?milestone=1&state=open Sample output for a milestone

Repository contributors

https://github.com/leewillis77/wp-github-oembed/graphs/contributors Sample output for a list of contributors

Coming soon:

  • Gists...

The plugin provides very basic styling, but adds classes so you can style as you see fit. If anyone has some ideas for a better default stylesheet - pull requests welcome! lugin that allows you to embed details about a github user, or repo just by pasting in the repo URL as you would any other embed source.

Installation

  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Paste a Github repo, or user URL into a post, or page

Frequently Asked Questions

Can I change the layout?

Not yet, we're hoping to add templating - all contributions welcome!

Screenshots

Changelog

  • 1.8

  • 1.7

    • Include GitHub logo rather than hotlinking to (no-longer supported) repo for image
    • Add wp_github_oembed_logo_class filter
  • 1.6

    • Internal code cleanups
    • Remove unnecessary debug code
  • 1.5

    • Fixes for newer GitHub milestone URLs
  • 1.4

    • Fix PHP warning that could block contributor embeds.
    • Fix Contributor embeds to use correct API call
    • Pass correct initial value to credentials filters
  • 1.3

    • Expire the oEmbed cache daily
  • 1.2

    • Support for milestone summaries
    • Support for contributor lists
  • 1.1

    • Default CSS and more styling
  • 1.0

    • First release