WordPress.org

Ready to get started?Download WordPress

Plugin Directory

GitSwag

Integrate various Github API-driven shortcodes into your pages.

Administration

Because the public github API is rate limited, this plugin will download and keep a cached version of the .json files and readme markdown from API calls locally, and will need to be deleted in the admin panel when a change needs to be reflected. You can select a file and submit to delete them.

Composer Updating

This plugin includes http://getcomposer.org and an autoloader to implement the http://parsedown.org/ library.

To save a bit of space, composer.phar isn't included with this plugin.

Parsedown is [https://github.com/erusev/parsedown/blob/master/LICENSE.txt](MIT licensed)

Shortcode

Display the profile of a single user [gitswag_user_view github_username="username"]

Display a list of repos for a user [gitswag_repo_list github_username="username"]

View data for a repository [gitswag_repo_view github_username="username" github_repo="reponame"]

Preview a file [gitswag_file_view github_username="username" github_repo="reponame" path="path/to/" filename="file.txt"]

List gists by a user [gitswag_gist_list github_username="username"]

Preview a gist [gitswag_gist_view gist_id="id"]

display the readme for a repo [gitswag_readme github_username="username" github_repo="reponame"]

Requires: 3.2 or higher
Compatible up to: 3.8.3
Last Updated: 2014-6-13
Downloads: 158

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.