{"id":13621363,"url":"https://github.com/bbkane/starghaze","last_synced_at":"2025-10-25T08:15:54.342Z","repository":{"id":59044514,"uuid":"435371919","full_name":"bbkane/starghaze","owner":"bbkane","description":"Save information about your GitHub starred repos into Google Sheets, Zinc, and SQLite!","archived":false,"fork":false,"pushed_at":"2025-07-18T20:12:18.000Z","size":571,"stargazers_count":13,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T03:44:15.615Z","etag":null,"topics":["cli","data-visualisation","fulltextsearch","github","github-stars","go","golang","google-sheets","homebrew","zinc"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bbkane.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,"zenodo":null}},"created_at":"2021-12-06T05:30:53.000Z","updated_at":"2025-06-13T19:48:31.000Z","dependencies_parsed_at":"2022-09-11T04:52:21.823Z","dependency_job_id":"b60577ef-cbaa-4cd5-8b69-a6f21e2daf6c","html_url":"https://github.com/bbkane/starghaze","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/bbkane/starghaze","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fstarghaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fstarghaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fstarghaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fstarghaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbkane","download_url":"https://codeload.github.com/bbkane/starghaze/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fstarghaze/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280924028,"owners_count":26414358,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","data-visualisation","fulltextsearch","github","github-stars","go","golang","google-sheets","homebrew","zinc"],"created_at":"2024-08-01T21:01:05.139Z","updated_at":"2025-10-25T08:15:54.337Z","avatar_url":"https://github.com/bbkane.png","language":"Go","readme":"# stargaze\n\nSave information about your GitHub starred repos into Google Sheets, Zinc, and SQLite!\n\nThanks to https://github.com/yks0000/starred-repo-toc for the inspiration!\n\nGraphQL and Google Sheets auth notes at [./dev_notes.md](./dev_notes.md)\n\n## Project Status\n\nNot actively developed - I'm not really using `starghaze` anymore. I'm watching issues; please open one for any questions and especially BEFORE submitting a Pull Request.\n\n## Install\n\n- [Homebrew](https://brew.sh/): `brew install bbkane/tap/starghaze`\n- [Scoop](https://scoop.sh/):\n\n```\nscoop bucket add bbkane https://github.com/bbkane/scoop-bucket\nscoop install bbkane/starghaze\n```\n\n- Download Mac/Linux/Windows executable: [GitHub releases](https://github.com/bbkane/starghaze/releases)\n- Go: `go install go.bbkane.com/starghaze@latest`\n- Build with [goreleaser](https://goreleaser.com/) after cloning: `goreleaser --snapshot --skip-publish --rm-dist`\n\n## Download GitHub Stars\n\n### Download Star Info\n\n```bash\nGITHUB_TOKEN=my_github_token starghaze download \\\n    --include-readmes true \\\n    --output stars.jsonl\n```\n\n## Google Sheets\n\n### Format Downloaded Stars as CSV\n\n````bash\nstarghaze format \\\n    --format csv \\\n    --include-readmes false \\\n    --output stars.csv\n````\n\n### Upload CSV to Google Sheets\n\n```bash\nGOOGLE_APPLICATION_CREDENTIALS=/path/to/keys.json starghaze gsheets upload \\\n    --csv-path stars.csv \\\n    --sheet-id 0 \\\n    --spreadsheet-id 15AXUtql31P62zxvEnqxNnb8ZcCWnBUYpROAsrtAhOV0 \\\n    --timeout 30s\n```\n\n### Analyze Away!\n\n**Click here to see [My GitHub Stars Google Sheet](https://docs.google.com/spreadsheets/d/15AXUtql31P62zxvEnqxNnb8ZcCWnBUYpROAsrtAhOV0/edit?usp=sharing)**\n\n![star-count-over-time.png](./star-count-over-time.png)\n\n## Save Stars to [Zinc](https://github.com/prabhatsharma/zinc)\n\n### Format Downloaded Stars as Zinc\n\n```bash\nstarghaze format \\\n    --include-readmes true \\\n    --format zinc \\\n    --output stars.zinc \\\n    --zinc-index-name starghaze\n```\n\n### Upload to Zinc\n\nUsing default settings - See [Zinc repo](https://github.com/prabhatsharma/zinc) for more details.\n\n```bash\ncurl http://localhost:4080/api/_bulk -i -u admin:Complexpass#123 --data-binary \"@stars.zinc\"\n```\n\n### Search!\n\n![starghaze-zinc.png](starghaze-zinc.png)\n\n## SQLite\n\n### Format Downloaded Stars to SQLite (with [full text](https://www.sqlite.org/fts5.html) search)\n\n```bash\nstarghaze format \\\n    --format sqlite \\\n    --include-readmes true \\\n    --sqlite-dsn starghaze.db\n```\n\n### Query!\n\nFor example, find the top 10 languages (as measured by number of repos) in the starred collection.\n\n```bash\n$ sqlite3 starghaze.db '\nSELECT\n    l.Name ,\n    COUNT(lr.Language_id) as Repo_Count\nFROM\n    Language_Repo lr JOIN Language l ON lr.Language_id = l.id\nGROUP BY Language_id\nORDER BY Repo_Count DESC\nLIMIT 10\n'\n-- Loading resources from /Users/bbkane/.sqliterc\n┌────────────┬────────────┐\n│    Name    │ Repo_Count │\n├────────────┼────────────┤\n│ Shell      │ 939        │\n│ JavaScript │ 617        │\n│ HTML       │ 598        │\n│ Python     │ 540        │\n│ Makefile   │ 519        │\n│ CSS        │ 432        │\n│ Dockerfile │ 403        │\n│ Go         │ 367        │\n│ C          │ 305        │\n│ C++        │ 230        │\n└────────────┴────────────┘\n```\n","funding_links":[],"categories":["Go","cli"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fstarghaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbkane%2Fstarghaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fstarghaze/lists"}