WordPress
WordPress

gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
11.6k
Stars
4.7k
Forks
337
Watchers
7.6k
Issues
gutenberg wordpress wordpress-plugin
Language
JavaScript
License
NOASSERTION
Branch
trunk

GitHub Repo Stats Card

A beauDisplays a GitHub repository stats card (stars, forks, watchers, issues, language, license, default branch, topics, created/updated dates, size) with a “View on GitHub” button.

The block is dynamically rendered on the frontend (server-side) and includes an editor preview that fetches data live.

Does this require a GitHub token?
No. It uses the public GitHub API. However, unauthenticated requests are rate-limited by GitHub.

How does caching work?
Frontend rendering uses WordPress transients. You can control cache duration (TTL) in the block settings.

Why might the editor preview show an error?
GitHub may rate-limit requests, the repo may not exist, or the server may block outbound requests. Try increasing cache TTL and/or verify the repo path.