GitSwag
Integrate various Github API-driven shortcodes into your pages.
Consider an alternative
GitSwag shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 12 years ago, and scores 21/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- No update in 12 years
- Only tested up to WordPress 3.7 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where GitSwag stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| Github | >100 |
About GitSwag
From the official readme Β· v1.2Description
GitSwag displays data from a Github account using Github’s public API. In order to avoid
rate-limiting, it caches the JSON from the API locally, and refers to that whenever
available. You can display a user profile, list of repositories, header for a single
repository, preview files or gists.
Administration
In “GitSwag” under the settings tab, enter your github username, select the
“update cache” checkbox and submit to change your username. Files under that
username can be deleted by checking the box next to the file and submitting.
Any changes you make to your github repo won’t be reflected immediately by
the plugin, you’ll have to manually delete the cache first.
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”]
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.
Installation
- Upload
plugin-name.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add some shortcodes.
Changelog
Fixed header issue.
1.2 added output buffering and changed echoes to returns, fixing possible rendering issues. updated css.
1.1 bugfix
1.0 works
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best GitSwag alternatives
All Github plugins βFAQ
GitSwag: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is GitSwag free?
Yes. GitSwag is free to download and use from the official WordPress.org plugin directory.
Is GitSwag safe to use in 2026?
GitSwag shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 12 years ago, and scores 21/100 on our health check.
How many websites use GitSwag?
GitSwag is active on <10 WordPress websites and has been downloaded 1,372 times since it launched in December 2013. It was downloaded 28 times in the last 30 days.
Does GitSwag work with WordPress 7.1?
GitSwag is officially tested up to WordPress 3.7.41, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was GitSwag last updated?
The latest version, 1.2, was released on June 13, 2014 (12 years ago).
Who makes GitSwag?
GitSwag is developed and maintained by kennethrapp.
What are the best alternatives to GitSwag?
The most popular alternatives to GitSwag are Github Embed (900+ installs), WP Plugin Info Card (400+ installs) and Pastacode (400+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



