An open API service indexing awesome lists of open source software.

https://github.com/chinmaykaitade/github-terminal-stats-opensource

Create dynamic, terminal-style GitHub Stats for your Profile README! Automatically updates with GitHub Actions.
https://github.com/chinmaykaitade/github-terminal-stats-opensource

javascript readme-profile readme-template terminal-based terminal-themes theme-development

Last synced: 6 months ago
JSON representation

Create dynamic, terminal-style GitHub Stats for your Profile README! Automatically updates with GitHub Actions.

Awesome Lists containing this project

README

          

πŸ’» 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

- πŸ“Š Displays terminal-style GitHub stats
- πŸ•’ Auto-updates every day using GitHub Actions
- πŸ§‘β€πŸ’» Fully customizable & lightweight
- 🌐 No server or backend required

---

## πŸ“¦ 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 πŸš€](https://github.com/yogeshwaran01/github-stats-terminal-style/generate)
2️⃣ **Generate a Personal Access Token (PAT)** β†’ [How-to Guide πŸ”‘](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)
3️⃣ **Add a Repository Secret** named `GHT` with your PAT β†’ [Guide πŸ”](https://docs.github.com/en/actions/reference/encrypted-secrets)
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`:

```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!

```bash
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](https://img.shields.io/badge/Sponsor%20Project-πŸ’–-red?style=for-the-badge)](https://github.com/sponsors/ChinmayKaitade)

---

## πŸ”— Let’s Connect




















---

## πŸ“„ License

This project is licensed under the [MIT License](./LICENSE).

---

> Made with ❀️ by Chinmay Kaitade