GitHub-Terminal-Stats-OpenSource

πŸ’» GitHub Terminal Stats - OpenSource Project ⌨️

⚑ A cool terminal-style GitHub profile stats generator built using GitHub Actions and Node.js!

GitHub Terminal Stats Preview


πŸš€ Features


πŸ“¦ Installation & Setup

Follow these simple steps to set up GitHub Terminal Stats on your own profile:

1️⃣ Fork This Repo

Click the ⭐ Star and then 🍴 Fork this repository to your GitHub account.

πŸ›  Usage

1️⃣ Create a new repository using this template β†’ Click Here πŸš€
2️⃣ Generate a Personal Access Token (PAT) β†’ How-to Guide πŸ”‘
3️⃣ Add a Repository Secret named GHT with your PAT β†’ Guide πŸ”
4️⃣ Enable βœ… Allow GitHub Actions to create and approve pull requests in General Action Settings


πŸ“œ More Setup Details (Click to Expand)
### πŸ”‘ Authentication & Permissions To allow **GitHub Actions** to commit and push changes automatically: --- #### πŸ›  Setting Up Personal Access Token (PAT) 1️⃣ Navigate to **βš™ Settings β†’ Developer settings β†’ Personal access tokens** 2️⃣ Click **Generate a new token (classic)** 3️⃣ Select the following scopes: - βœ… `repo` β†’ Full control of repositories - βœ… `workflow` β†’ Trigger & run GitHub Actions ⚠ **Important:** Copy your token now β€” you won’t be able to see it again! --- #### πŸ” Adding the Token as a Secret 1️⃣ Go to **Settings β†’ Secrets and Variables β†’ Actions** 2️⃣ Click **New Repository Secret** 3️⃣ **Name:** `GHT` 4️⃣ **Value:** Your copied PAT 5️⃣ Save βœ… πŸ’‘ **Security Tip:** Never share your PAT publicly β€” it can modify your repositories. --- #### βš™ Grant Workflow Permissions 1️⃣ Go to **Settings β†’ Actions β†’ General** 2️⃣ Scroll to **Workflow Permissions** 3️⃣ Select **Read and write permissions** 4️⃣ Enable **Allow GitHub Actions to create and approve pull requests** 5️⃣ Save βœ… --- ### πŸƒ Running Workflows #### β–Ά Manual Execution 1️⃣ Go to the **Actions** tab 2️⃣ Select the `main.yml` workflow 3️⃣ Click **Run Workflow** πŸ–± #### ⏱ Automated Execution - Runs **daily at 2:47 UTC** πŸ•‘ - Change schedule in `/.github/workflows/main.yml` β†’ Use [Cron Generator ⏳](https://crontab.guru/) ---

πŸ–ΌοΈ Add SVG to Your Profile README

Add the following Markdown to your profile README.md:

![GitHub Terminal Stats](https://raw.githubusercontent.com/ChinmayKaitade/GitHub-Terminal-Stats-OpenSource/github_stats.svg)

Tip: Replace ChinmayKaitade with your GitHub username if needed.


🎨 Themes Available

You can choose from a variety of themes to style your terminal stats:

🎨 Themes Available

ubuntu
ubuntu theme preview
hacker
hacker theme preview
atom
atom theme preview
googledark
googledark theme preview
default
default theme preview
googlelight
googlelight theme preview
dracula
dracula theme preview
monokai
monokai theme preview
github
github theme preview
powershell
powershell theme preview

πŸš€ More themes coming soon! ⭐ Star and 🍴 Fork this repo to get the latest updates instantly.

πŸ“ You can preview more by editing the config.js file and setting different theme names.


πŸ™Œ Contributing

Want to make this even cooler? Feel free to submit issues or pull requests. Suggestions and improvements are always welcome!

git clone https://github.com/ChinmayKaitade/GitHub-Terminal-Stats.git
cd GitHub-Terminal-Stats
npm install
npm run dev

β˜• Support & Sponsor

If you like this project and want to support its development:

Sponsor


πŸ”— Let’s Connect


πŸ“„ License

This project is licensed under the MIT License.


Made with ❀️ by Chinmay Kaitade