Github Embed

Mô tả

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
  • User profiles
  • Project milestone summaries
  • Project 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!

The main development is all going on on GitHub.

Treeware

You’re free to use this package for free, but if it makes it to your production environment please buy the world a tree.

Ảnh màn hình

  • GitHub Repository
  • GitHub user profile
  • Project milestone summaries
  • Project contributors

Cài đặt

  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

Hỏi đáp

Can I change the layout?

Not yet, we’re hoping to add templating – all contributions welcome!

Đánh giá

7 Tháng Một, 2023 1 reply
Doesn't seem to work sadly. Trying to add my public repos to a page and they are not showing up like in the screenshots. I don't think I am doing anything wrong, but perhaps a bit of better documentation and screenshots on how to actually add stuff would resolve the confusion if it is actually working.
Đọc tất cả 13 đánh giá

Người đóng góp & Lập trình viên

“Github Embed” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Github Embed” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Github Embed” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

2.1.0

  • Wrap recent commits in a tag, expanded by default. Props ZjzMisaka on GitHub
  • Wrap contributor details in a tag, expanded by default.

2.0.2

  • Fix issue where GitHub serves incorrectly sized images for non-avatar users

2.0.1

  • Suggest Treeware donations

2.0

  • Support for authenticating using personal access tokens

1.9

  • Remove unused code – thanks to https://github.com/pjaudiomv

1.8

  • New: All responses are now templated thanks to https://github.com/Zebouski

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

  • Split API calls into separate class
  • Implement milestone summaries
  • Implement contributor lists

1.1

  • Default CSS and more styling

1.0

  • First release