{"id":15118338,"url":"https://github.com/rverst/stargazer","last_synced_at":"2025-09-28T00:32:22.290Z","repository":{"id":40773699,"uuid":"377908336","full_name":"rverst/stargazer","owner":"rverst","description":"Stargazer creates a sorted list of your stared GitHub repositories - your personal awesome-list.","archived":false,"fork":false,"pushed_at":"2022-07-19T06:54:36.000Z","size":163,"stargazers_count":43,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T20:02:35.692Z","etag":null,"topics":["awesome","awesome-list","github","graphql","stargazer","stars"],"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/rverst.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}},"created_at":"2021-06-17T17:17:12.000Z","updated_at":"2025-01-11T03:42:32.000Z","dependencies_parsed_at":"2022-07-20T14:19:01.790Z","dependency_job_id":null,"html_url":"https://github.com/rverst/stargazer","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rverst%2Fstargazer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rverst%2Fstargazer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rverst%2Fstargazer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rverst%2Fstargazer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rverst","download_url":"https://codeload.github.com/rverst/stargazer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234475315,"owners_count":18839358,"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":["awesome","awesome-list","github","graphql","stargazer","stars"],"created_at":"2024-09-26T01:46:13.661Z","updated_at":"2025-09-28T00:32:22.198Z","avatar_url":"https://github.com/rverst.png","language":"Go","funding_links":[],"categories":["Go","awesome"],"sub_categories":[],"readme":"# stargazer\n[![Docker](https://github.com/rverst/stargazer/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/rverst/stargazer/actions/workflows/docker-publish.yml)\n\n*stargazer* creates a sorted list of your stared GitHub repositories.\nLike an [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)\nlist, but personal. Automated with GitHub-Actions.\n\nSee [rverst/stars](https://github.com/rverst/stars) for an example. You can use\nthat repository as a template, the README.md will get overwritten with your own\nlist if you run the stargazer-action (runs daily at 02:42).\n\n## Usage\n\nProbably the easiest way to get your own stargazer list is to have a\nrepository with a workflow that uses the GitHub action.\nAll you need to do is create a new repository and create the following workflow.\n\n```yaml\n# This workflow builds a list of your starred repositories\nname: Stargazer\n\non:\n  schedule:\n    - cron: '42 2 * * *'\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      # Generate the list\n      - name: Create star list\n        id: stargazer\n        uses: rverst/stargazer@v1.2.6\n        with:\n          github-user: ${{ github.actor }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          list-file: \"README.md\"\n\n      # Commit the changes\n      - name: Commit files\n        run: |\n          git config --local user.email \"actions@noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add .\n          git commit -m \"Update list\"\n\n      # Push the changes\n      - name: Push\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n```\n\n## Inputs\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| github-user | string | true | GitHub user whose stars are fetched |\n| github-token | string | true | Access token for the GitHub API |\n| list-file | string | false | Filename of the stargazer list (default: README.md) |\n| format | string | false | Format of the stargazer list [list, table, \\\u003ccustom\\\u003e] (default: list) |\n| ignored-repositories | string | false | Comma separated list of repositories (user/repo) to ignore |\n| with-toc | bool | false | Print table of contents (default: true) |\n| with-license | bool | false | Print license of repositories (default: true) |\n| with-stars | bool | false | Print starcount of repositories (default: true) |\n| with-back-to-top | bool | false | Generate 'back to top' links for each language (default: false) |\n\n## Custom templates\n\nYou can put your own templates in the repository and give its name as `format`. Have a look at\nthe included templates to get an understanding of the template model. Use `{{ printf \"%#v\" . }}`\nto print the underlying struct.  \nIf you use a custom template, please be so kind and credit this repository, thanks a lot!\n\n## Inspiration\n\n*stargazer* is inspired by [starred](https://github.com/gmolveau/starred),\nwhich is very similar and written in python. I created *stargazer* because I\nwanted to try out the [GitHub GraphQL API v4](https://docs.github.com/en/graphql).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frverst%2Fstargazer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frverst%2Fstargazer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frverst%2Fstargazer/lists"}