Skip to content

Implement visually themed fallback SVGs for API errors #7796

Description

@Sai-Emani25

Is your feature request related to a problem? Please describe.

Yes, when a user is not found or the GitHub API rate limits are hit, the system generates a generic, unstyled inline red error SVG, which can ruin the visual aesthetics of a user's GitHub profile README when an inevitable transient error occurs.

Describe the solution you'd like

I would like the system to generate beautifully themed "Fallback SVGs" that align with the user's selected color palette (e.g., matching the background and accent colors) to gracefully communicate error states like "Rate Limited" or "Zero Contributions" while maintaining the profile's design.

Describe alternatives you've considered

An alternative is to simply return a standard HTTP 4xx/5xx status code without an SVG, but this results in a broken image icon natively rendered by the browser, which looks even worse on a GitHub profile than a generic red error box.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions