A WordPress plugin that allows you to embed GitHub repository cards in your posts and pages using the block editor (Gutenberg).
- 🎯 Easy to use block editor integration
- 📊 Display repository information:
- Repository name and description
- Star count and fork count
- Primary language
- Author avatar
- 💻 Modern visual effects:
- Animated gradient border
- Breathing light effect
- Smooth hover transitions
- 💻 Clean and modern design
- 🌓 Dark mode support
- 📱 Fully responsive
- 🔑 GitHub API authentication support
- Increase API rate limit from 60 to 5000 requests per hour
- Secure token storage
- Download the plugin
- Upload to your WordPress site's
/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- In the block editor, click the '+' button to add a new block
- Search for "GitHub" or "Repository"
- Select the "GitHub Repository Card" block
- Enter the GitHub username and repository name
- The card will be automatically rendered in your post/page
- Go to GitHub Personal Access Tokens
- Click "Generate new token"
- Give your token a name (e.g., "WordPress Repo Card")
- Select only the
public_repo
permission - Copy the generated token
- In WordPress admin, go to Settings > GitHub Repository Card
- Paste your token and save changes
This will increase your API rate limit from 60 to 5000 requests per hour.
- Node.js and npm
- WordPress development environment
git clone https://github.com/sucooer/wp-github-repo-card.git
cd wp-github-repo-card
npm install
npm run build
This project is licensed under the GPL v2 or later - see the LICENSE file for details.