https://github.com/muhammadrafayasif/credly-badges
A github workflow to fetch your Credly badges and display them in the form of an SVG file.
https://github.com/muhammadrafayasif/credly-badges
actions badges hacktoberfest python scraper svg workflow
Last synced: 2 months ago
JSON representation
A github workflow to fetch your Credly badges and display them in the form of an SVG file.
- Host: GitHub
- URL: https://github.com/muhammadrafayasif/credly-badges
- Owner: muhammadrafayasif
- License: mit
- Created: 2025-08-30T13:27:31.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-10-05T07:14:55.000Z (9 months ago)
- Last Synced: 2025-10-05T08:34:20.439Z (9 months ago)
- Topics: actions, badges, hacktoberfest, python, scraper, svg, workflow
- Language: Python
- Homepage:
- Size: 5.1 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🏅 Credly Badges GitHub Action
Automatically scrape your **Credly badges** and generate a neat grid that you can use in your GitHub profile README.
---
## ✨ Features
- Scrapes all badges from a given **Credly username**
- Dynamically updates the README of your profile to include all Credly badges
- Runs **daily** or on manual dispatch
- Can be used as a **GitHub Action** or standalone script
---
## 🚀 Usage
Add the following workflow to `.github/workflows/daily-badges.yml` in your repo:
>[!NOTE]
> Replace `credly-username` with your username from Credly
```yaml
name: Daily Credly Badges
on:
schedule:
- cron: '0 12 * * *' # runs daily at 12:00 UTC
workflow_dispatch: # manual trigger
jobs:
fetch-badges:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Fetch Credly Badges
uses: muhammadrafayasif/credly-badges@v1.0.1
with:
credly-username: "[username]"
output-path: "badges"
- name: Commit updated badges
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "chore: update Credly badges [skip ci]" || echo "No changes to commit"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
## 🖼️ Demonstration












