rverst/stargazer
rverst/stargazer has 70 GitHub stars and 3 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 00:59 UTC. Last push 2026-11-03.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Stargazer creates a sorted list of your stared GitHub repositories - your personal awesome-list.
학습README.md
Originalstargazer
stargazer creates a sorted list of your stared GitHub repositories.
Like an
list, but personal. Automated with GitHub-Actions.
See rverst/stars for an example. You can use that repository as a template, the README.md will get overwritten with your own list if you run the stargazer-action (runs daily at 02:42).
Usage
Probably the easiest way to get your own stargazer list is to have a repository with a workflow that uses the GitHub action. All you need to do is create a new repository and create the following workflow.
# This workflow builds a list of your starred repositories
name: Stargazer
on:
schedule:
- cron: '42 2 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Generate the list
- name: Create star list
id: stargazer
uses: rverst/[email protected]
with:
github-user: ${{ github.actor }}
github-token: ${{ secrets.GITHUB_TOKEN }}
list-file: "README.md"
# Commit the changes
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "github-actions[bot]"
git add .
# Star lists don't change every day, so skip the commit if there is nothing to commit
git diff --staged --quiet || git commit -m "Update list"
# Push the changes
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| github-user | string | true | GitHub user whose stars are fetched |
| github-token | string | true | Access token for the GitHub API |
| list-file | string | false | Filename of the stargazer list (default: README.md) |
| format | string | false | Format of the stargazer list [list, table, <custom>] (default: list) |
| ignored-repositories | string | false | Comma separated list of repositories (user/repo) to ignore |
| with-toc | bool | false | Print table of contents (default: true) |
| with-license | bool | false | Print license of repositories (default: true) |
| with-stars | bool | false | Print starcount of repositories (default: true) |
| with-back-to-top | bool | false | Generate 'back to top' links for each language (default: false) |
Custom templates
You can put your own templates in the repository and give its name as format. Have a look at
the included templates to get an understanding of the template model. Use {{ printf "%#v" . }}
to print the underlying struct.
If you use a custom template, please be so kind and credit this repository, thanks a lot!
Inspiration
stargazer is inspired by starred, which is very similar and written in python. I created stargazer because I wanted to try out the GitHub GraphQL API v4.