- Fork or Use Template β Click here to create a new repository from this template.
- Set Up Personal Access Token (PAT) β Generate a PAT with
repo
andworkflow
permissions and add it as a secret (GHT
) in your repository. - Enable Workflow Permissions β Grant "Read and Write" access to GitHub Actions in Repository Settings > Actions > General.
- Trigger Workflow β Manually run the workflow from the Actions tab or let it execute on schedule.
- Embed in README β Add generated SVGs to your README for a dynamic GitHub profile.
Octo-Stats is a GitHub template repository that automates the generation and updating of GitHub statistics for your profile using GitHub Actions.
This repo includes pre-tested workflows from various open-source projects, ensuring efficiency and minimal errors in setting up dynamic profile stats.
β
Pre-configured GitHub Actions β Automate fetching and updating GitHub stats effortlessly.
β
Easy Integration β Copy the template, set up your profile, and enjoy automated updates.
β
Dynamic Display β Your stats refresh automatically on a scheduled cron job. β³
β
Optimized Workflows β Curated workflows tested for efficiency and reliability. π‘
Explore the stats that this template can generate:
π For themes and customization, visit linked repositories below
π₯οΈ GitHub Stats
πΉοΈ 3D Contribution Graph
To allow GitHub Actions to commit and push changes, follow these steps:
1οΈβ£ Go to Settings β Developer settings β Personal access tokens.
2οΈβ£ Click on Generate a new token (classic).
3οΈβ£ Select the required scopes:
- β
repo
β Full control of private repositories. - β
workflow
β Allows GitHub Actions to trigger workflows.
1οΈβ£ Go to Repository Settings β Secrets and Variables β Actions.
2οΈβ£ Click New Repository Secret.
3οΈβ£ Name it GHT and paste the copied PAT in the input box.
4οΈβ£ Save it.
1οΈβ£ Go to your GitHub Repository Settings.
2οΈβ£ Navigate to Actions under Code and Automation.
3οΈβ£ Select General from the dropdown.
4οΈβ£ Scroll down to Workflow Permissions.
5οΈβ£ Choose Read and write permissions.
6οΈβ£ Save the settings. β
π― Manual Execution
1οΈβ£ Navigate to the Actions tab in your repository.
2οΈβ£ Under All Workflows, select the .yml
file you want to run.
3οΈβ£ Click Run Workflow to manually trigger the workflow for testing.
β³ Automated Execution
The workflows are scheduled to run automatically at defined UTC times.
After a successful run, your generated files can be embedded into your README file. π
For issues or feature requests, please open an issue on GitHub. π
This repository is actively used for personal GitHub profile updates and is now shared with the community to simplify the setup process for others. π