Commit accf914
docs: Add GitHub Sponsors card to README (#22)
## Summary
Adds a GitHub Sponsors badge to the README, making it easy for users and
contributors to support the project financially through GitHub Sponsors.
## Changes
### Final Implementation
Added GitHub's native sponsors badge alongside the existing GitHub Stars
and Follow badges at the bottom of the README.
```markdown
[](https://github.com/sponsors/Enteee)
```
### Evolution of Implementation
This PR went through several iterations to find the optimal solution:
1. **Initial attempt**: Used `<iframe>` for GitHub's sponsor card widget
- **Issue**: GitHub strips iframe tags in markdown for security
2. **Second attempt**: Custom shields.io badge with reference-style
links
- **Issue**: Didn't match the styling of other social badges
- Used: `style=for-the-badge` (prominent but inconsistent)
3. **Final solution**: GitHub's native sponsors badge with
`style=social`
- **Result**: Perfect visual consistency with Stars and Follow badges
- Minimal, clean presentation without extra headings/descriptions
## Benefits
- **Visual consistency**: Matches the styling of GitHub Stars and Follow
badges perfectly
- **Native integration**: Uses GitHub's official sponsor badge service
- **Clean presentation**: Single line addition, no visual clutter
- **Direct link**: Clicking badge takes users to GitHub Sponsors page
- **Proper placement**: Positioned with other GitHub social badges at
bottom of README
## Technical Details
- Uses GitHub's shields.io integration with `style=social` parameter
- Single-line markdown (no markdownlint issues)
- No custom CSS or multi-line formatting needed
- Consistent with existing badge patterns in the README
## Testing
- ✅ Renders correctly on GitHub
- ✅ Badge style matches Stars and Follow badges
- ✅ Link directs to GitHub Sponsors page
- ✅ Passes all pre-commit hooks (markdownlint, etc.)
- ✅ No line length violations
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 35994ad commit accf914
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
703 | 704 | | |
704 | 705 | | |
0 commit comments