This post is also available in 中文.
Why Install the GitHub App? Unlocking the Full Potential of GitHubCard
While using GitHubCard, you might have noticed our recommendation to install our GitHub App. You might wonder: "I've already logged in with my GitHub account, why do I need to install an App?"
This article will answer this question in detail, taking you through the mechanism behind the GitHub App, the huge advantages it brings, and how we ensure your data security.
Core Reason: Breaking Through API Rate Limits
This is the most direct and important reason.
GitHub has strict limits on API calls (Rate Limiting).
- Unverified requests: Only 60 times per hour.
- OAuth logged-in users: 5,000 times per hour.
Does 5,000 times sound like a lot? It's enough for personal browsing. But please remember, GitHubCard is a high-concurrency display platform. When your card is placed in the README of a popular project, or your blog post is read by a large number of people, every page load may trigger an API call (if the cache misses).
The advantage of the GitHub App is: It has an independent, higher API quota. More importantly, data fetched through the GitHub App can more efficiently utilize our server-side caching strategy, ensuring that your card still loads in seconds under high traffic, without displaying the embarrassing "API Rate Limit Exceeded".
More Benefits: Unlocking Advanced Features
In addition to solving the rate limiting problem, installing the GitHub App also unlocks a series of enhanced features:
1. Automatic Webhook Updates
This is one of the most powerful features of the GitHub App.
- Current Status: When you update your GitHub bio or star a new repository, the GitHubCard cache usually needs to wait for 1 hour or even longer to expire and refresh.
- After Installing App: GitHub will proactively send us Webhook notifications when data changes. We will instantly clear the old cache, allowing your card data to update in real-time without manual intervention.
2. Access Organization Repositories
If you are a member of a GitHub organization and want to create display cards for organization projects, OAuth tokens often have insufficient permissions or require cumbersome additional authorization. The GitHub App allows for granular control of permissions during installation, letting you easily select and authorize specific organization repositories, which is both convenient and safe.
3. More Granular Permission Control
OAuth often requires broad permission scopes. The GitHub App adopts a more modern permission model, where we only request the minimum set of permissions necessary to generate cards (usually just reading public data). You can view or revoke these permissions at any time in your GitHub settings.
When Do You Need to Install?
- High-frequency display scenarios: If your card is used in the README of a popular open source project, or your personal website has high traffic.
- Organization users: When you need to create cards for repositories under a GitHub Organization.
- Pursuing the ultimate experience: If you want more timely data updates and more stable service.
How to Install?
The process is very simple and takes less than 1 minute:
- Log in to the GitHubCard console.
- At the top of the dashboard or on the settings page, click the "Install GitHub App" button.
- Redirect to the official GitHub authorization page.
- Select the account you want to authorize (personal or organization).
- Select the authorization scope (we recommend "All repositories" for seamless future use, or "Only select repositories" to manually specify).
- Click "Install & Authorize".
Once completed, you will automatically be redirected back to GitHubCard, and the system will automatically recognize and upgrade your quota.
Security Commitment: How We Protect Your Data
We know that trust is the foundation of service. Regarding the security of the GitHub App, please rest assured:
- Read-Only Permissions: Our App's core permissions are read-only. We will never (and cannot) modify your code, delete your repositories, or perform any destructive operations.
- Principle of Least Privilege: We only request permissions necessary to render cards, such as Metadata and Contents (only for reading configuration files).
- Data Isolation: Your Token and authorization information are stored encrypted and are only used to provide services to you.
- Revocable at Any Time: You have complete control. You can uninstall our App at any time in GitHub's
Settings->Applications->Installed GitHub Apps, and we will immediately lose all access permissions.
Summary
Installing the GitHub App is a key step from "trial" to "production environment". It not only eliminates anxiety about API limits but also lays the foundation for future real-time updates and advanced features.
If you are serious about managing your GitHub presence, we strongly recommend completing this simple integration step.
Need a card first? Start with the GitHub profile card generator or the GitHub repo card generator.
GitHubCard Team
Turn this into a card
Turn the ideas from this article into an editable GitHub profile card, repo card, or README section.