{"id":21423957,"url":"https://github.com/elliotxx/github-star","last_synced_at":"2025-10-26T14:03:36.013Z","repository":{"id":263748751,"uuid":"891357820","full_name":"elliotxx/github-star","owner":"elliotxx","description":"🐚 A lightweight shell script to analyze and visualize the daily star statistics of GitHub repositories.","archived":false,"fork":false,"pushed_at":"2024-11-20T08:41:55.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T07:13:19.440Z","etag":null,"topics":["github","github-insights","github-statistics","github-stats","star"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elliotxx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-20T07:32:43.000Z","updated_at":"2024-11-20T08:41:58.000Z","dependencies_parsed_at":"2024-11-20T09:21:35.760Z","dependency_job_id":null,"html_url":"https://github.com/elliotxx/github-star","commit_stats":null,"previous_names":["elliotxx/github-star"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fgithub-star","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fgithub-star/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fgithub-star/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotxx%2Fgithub-star/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elliotxx","download_url":"https://codeload.github.com/elliotxx/github-star/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933374,"owners_count":20370988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","github-insights","github-statistics","github-stats","star"],"created_at":"2024-11-22T21:19:01.261Z","updated_at":"2025-10-26T14:03:30.976Z","avatar_url":"https://github.com/elliotxx.png","language":"Shell","readme":"![github-star](https://socialify.git.ci/elliotxx/github-star/image?description=1\u0026font=Raleway\u0026issues=1\u0026language=1\u0026name=1\u0026owner=1\u0026pattern=Circuit%20Board\u0026pulls=1\u0026stargazers=1\u0026theme=Auto)\n\n# GitHub Star Statistics\n\n🐚 A lightweight shell script to analyze and visualize the daily star statistics of GitHub repositories.\n\n[English](./README.md) | [简体中文](./README_zh-CN.md)\n\nhttps://github.com/user-attachments/assets/d4af48c6-e830-47fb-b16e-d5633f8513fd\n\n## ✨ Features\n\n- 📊 Track daily star counts for any GitHub repository\n- 📈 Generate statistics and trends\n- 💻 Easy-to-use command line interface\n- 🎨 Colorful output for better visualization\n\n## 🚀 Prerequisites\n\n\u003e ⚠️ **Important Notes:**\n\u003e - Currently only supports macOS\n\u003e - Requires GitHub CLI authentication\n\u003e - Internet connection required for API access\n\nRequired tools:\n- 🔧 macOS operating system\n- 🛠 GitHub CLI (`gh`)\n- 🔍 `jq` command line tool\n- 🐚 Bash shell environment\n\n## 🔧 Installation\n\n1. Install GitHub CLI:\n```bash\nbrew install gh\n```\n\n2. Install jq:\n```bash\nbrew install jq\n```\n\n3. Login to GitHub:\n```bash\ngh auth login\n```\n\n## 📖 Usage\n\nThere are several ways to use this tool:\n\n### 1. 🌐 Direct Usage (No Download Required)\n\n```bash\n# Using curl\ncurl -s https://raw.githubusercontent.com/elliotxx/github-star/main/github-star.sh | bash -s -- KusionStack/karpor\n\n# Using wget\nwget -qO- https://raw.githubusercontent.com/elliotxx/github-star/main/github-star.sh | bash -s -- KusionStack/karpor\n\n# Pipe directly to bash\nbash \u003c(curl -s https://raw.githubusercontent.com/elliotxx/github-star/main/github-star.sh) KusionStack/karpor\n```\n\n### 2. 💾 Local Installation\n\n```bash\n# Download the script\ncurl -O https://raw.githubusercontent.com/elliotxx/github-star/main/github-star.sh\n\n# Make the script executable\nchmod +x github-star.sh\n\n# Run the script\n./github-star.sh owner/repo\n\n# Example usage\n./github-star.sh KusionStack/karpor\n```\n\n### 3. ⚡️ Alias Setup\n\nAdd one of these aliases to your shell configuration file (`~/.bashrc`, `~/.zshrc`, etc.):\n\n```bash\n# Basic alias\nalias ghstar='/path/to/github-star.sh'\n\n# Direct from GitHub (no local file needed)\nalias ghstar='curl -s https://raw.githubusercontent.com/elliotxx/github-star/main/github-star.sh | bash -s --'\n\n# Example usage with alias\nghstar KusionStack/karpor\n```\n\n## 📊 Output Format\n\nThe script outputs data in the following format:\n- 📅 Date: The date when stars were received\n- ⭐️ Stars: Number of stars received on that date\n- 📈 Total: Cumulative total of stars\n- 🔄 Trend: Visual indicator of star growth\n\n## ⚖️ License\n\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotxx%2Fgithub-star","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felliotxx%2Fgithub-star","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotxx%2Fgithub-star/lists"}