Readmefetch
🖥️ Generate a Neofetch-style GitHub profile README with dynamic stats using Python and GitHub Actions
Install / Use
/learn @pruefsumme/ReadmefetchREADME
<!--- START OF DELETION --->
readmefetch
readmefetch This GitHub Workflow script, written in Python, automatically generates a neofetch-like README based on your GitHub account stats :D
🚀 Setup
1. Repository Setup
- Fork this repository.
- Rename the fork to match your GitHub username (e.g.,
username/username).
2. Create a GitHub Token
- Go to GitHub Settings → Developer Settings → Personal Access Tokens → Tokens (classic).
- Click "Generate new token (classic)".
- Name:
whatever you want (e.g Readmefetch Token). - Expiration: Choose as needed. Never recommended, otherwise it won't automatically update
- Select scopes:
workflow. - Click "Generate" and copy the token! You will never see it again!
3. Configure the Repository
- Go to your fork's "Settings" → "Secrets and variables" → "Actions".
- Create a new repository secret:
- Name:
GH_TOKEN - Value: Your copied token
- Name:
4. Enable Actions
- Go to the "Actions" tab.
- Click "Enable workflow".
- Click "Run workflow".
⚠️ Note: It might take a couple of seconds until your new README appears! 😊
⚙️ Configuration
Customize your profile by editing config.json:
Remove keys to exclude them from your README.
{
"display_stats": [
"username",
"bio",
"location",
"company",
"email",
"hireable",
"followers",
"following",
"public_repos",
"public_gists",
"total_stars",
"lines_of_code",
"created_at",
"updated_at",
"languages",
"total_commits",
"total_issues",
"total_prs"
],
"additional_info": "", // some additional information you can provide :)
"preferred_color": "lightblue", // color it will be printed out in
"max_languages": 5, // number of max. biggest languages displayed in the fetch
"append_autmatic": true // appends the embedded image automatically if not found in README
}
Editing the README
After the initial deployment, you can edit the README.md file however you want!
Disclaimer
Use this script at your own risk. The software is provided "as is", without warranty of any kind, express or implied, as stated in the MIT License.
