[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109674":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":13,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":28,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":14,"starSnapshotCount":14,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},109674,"github-cool-readme","pedrocatalao\u002Fgithub-cool-readme","pedrocatalao","Animated SVG stats cards for your GitHub profile README, counting private and organization work. Runs as a GitHub Action, no server.",null,"TypeScript",202,14,1,0,23,125,9,66.94,"MIT License",false,"main",true,[24,25,26,27],"github-actions","github-profile-readme","readme-stats","svg","2026-11-15 23:24:10","2026-11-23 19:32:10","# github-cool-readme\n\nAnimated SVG cards for a GitHub profile README, generated by a scheduled GitHub Action and published on a `cards` branch of your profile repo, so they don't add to its history:\n\n- **Summary**: commits, pull requests created and reviewed, issues and stars, for the last 12 months and all time; share of active days.\n- **Languages**: each repo's language mix weighted by your commits there.\n- **Weekly rhythm**: your contributions per weekday over the last 12 months, with your busiest and quietest day and how much is on weekdays.\n- **Notable contributions**: your merged (and open) pull requests to other people's public projects, by stars.\n- **Streaks** (`streaks`, disabled by default): your current and longest streak, active days, and your best day and month, over the last 12 months.\n- **About** (`about`, disabled by default): a headline, a few lines and a few facts of your own, from the settings. Words between asterisks, as in `\"Hi, I'm *Pedro*\"`, are in the accent colour. A card can't hold working links, so put those under it.\n\nPrivate and organization work is counted (it can be turned off). Only totals appear on the cards; private repo names never do. The cards come in three styles.\n\n### Quick Setup\n```bash\nbash \u003C(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fpedrocatalao\u002Fgithub-cool-readme\u002Fv1\u002Fsetup.sh)\n```\n\nEverything runs and stays on your account, this setup only creates everything there. For details see [Setup](#setup).\n\n## Classic cards\n\nGitHub's own look: its fonts, colours and icons on a transparent background, following the viewer's light or dark theme. The default.\n\n```yaml\nshow: [about, languages, summary, contributions]\nlook:\n  style: classic\n```\n\nThe summary's ring is your share of active days; `ring: github` under `cards: summary:` puts the GitHub logo there instead.\n\n\u003Cp align=\"center\">\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fcards\u002Fabout-dark.svg\">\n  \u003Cimg src=\"examples\u002Fcards\u002Fabout-light.svg\" width=\"400\" alt=\"About\">\n\u003C\u002Fpicture>\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fcards\u002Flanguages-dark.svg\">\n  \u003Cimg src=\"examples\u002Fcards\u002Flanguages-light.svg\" width=\"400\" alt=\"Most used languages\">\n\u003C\u002Fpicture>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fcards\u002Fsummary-dark.svg\">\n  \u003Cimg src=\"examples\u002Fcards\u002Fsummary-light.svg\" width=\"400\" alt=\"GitHub stats\">\n\u003C\u002Fpicture>\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fcards\u002Fcontributions-dark.svg\">\n  \u003Cimg src=\"examples\u002Fcards\u002Fcontributions-light.svg\" width=\"400\" alt=\"Notable contributions\">\n\u003C\u002Fpicture>\n\u003C\u002Fp>\n\nWith `color: amber`, `green`, `purple`, `cyan`, `red` or `blue`, the weekly bars, the streaks highlight, the summary's ring and the about card's marked words take that colour.\n\n```yaml\nshow: [streaks, weekly]\nlook:\n  style: classic\n  color: amber\n```\n\n\u003Cp align=\"center\">\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fcards\u002Famber\u002Fstreaks-dark.svg\">\n  \u003Cimg src=\"examples\u002Fcards\u002Famber\u002Fstreaks-light.svg\" width=\"400\" alt=\"Streaks\">\n\u003C\u002Fpicture>\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fcards\u002Famber\u002Fweekly-dark.svg\">\n  \u003Cimg src=\"examples\u002Fcards\u002Famber\u002Fweekly-light.svg\" width=\"400\" alt=\"Weekly rhythm\">\n\u003C\u002Fpicture>\n\u003C\u002Fp>\n\n## Dot matrix and OLED cards\n\nThe same numbers as pinball-style displays: big readable text in a dot font, one item at a time with pinball transitions. `style: dotmatrix` draws them in round LEDs over a faint grid of unlit ones; `style: oled` in square pixels. Their colour is GitHub's (the default), amber, green, purple, cyan, red or blue, on a transparent background or a colour of your own.\n\n**Amber**, on a dark panel: the orange of a plasma display.\n\n```yaml\nlook:\n  style: dotmatrix\n  color: amber\n  background: 0d0b07    # a colour of your own, without #; leave out for none\n```\n\n\u003Cp align=\"center\">\n\u003Cimg src=\"examples\u002Fdotmatrix-cards\u002Fsummary.svg\" width=\"400\" alt=\"GitHub stats\">\n\u003Cimg src=\"examples\u002Fdotmatrix-cards\u002Flanguages.svg\" width=\"400\" alt=\"Most used languages\">\n\u003C\u002Fp>\n\n**GitHub**: GitHub's own text and blue, on a transparent background, following the viewer's light or dark theme.\n\n```yaml\nlook:\n  style: dotmatrix\n```\n\n\u003Cp align=\"center\">\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fdotmatrix-cards\u002Fgithub\u002Fcontributions-dark.svg\">\n  \u003Cimg src=\"examples\u002Fdotmatrix-cards\u002Fgithub\u002Fcontributions-light.svg\" width=\"400\" alt=\"GitHub contributions\">\n\u003C\u002Fpicture>\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fdotmatrix-cards\u002Fgithub\u002Fweekly-dark.svg\">\n  \u003Cimg src=\"examples\u002Fdotmatrix-cards\u002Fgithub\u002Fweekly-light.svg\" width=\"400\" alt=\"GitHub weekly\">\n\u003C\u002Fpicture>\n\u003C\u002Fp>\n\n**Green**, on a transparent background: bright on a dark page, darker on a light one.\n\n```yaml\nlook:\n  style: dotmatrix\n  color: green\n```\n\n\u003Cp align=\"center\">\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fdotmatrix-cards\u002Fgreen\u002Fstreaks-dark.svg\">\n  \u003Cimg src=\"examples\u002Fdotmatrix-cards\u002Fgreen\u002Fstreaks-light.svg\" width=\"400\" alt=\"Green streaks\">\n\u003C\u002Fpicture>\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"examples\u002Fdotmatrix-cards\u002Fgreen\u002Fabout-dark.svg\">\n  \u003Cimg src=\"examples\u002Fdotmatrix-cards\u002Fgreen\u002Fabout-light.svg\" width=\"400\" alt=\"Green about\">\n\u003C\u002Fpicture>\n\u003C\u002Fp>\n\n**OLED**: square pixels, in any colour; here purple on a dark panel.\n\n```yaml\nlook:\n  style: oled\n  color: purple\n  background: 0b0710\n```\n\n\u003Cp align=\"center\">\n\u003Cimg src=\"examples\u002Foled-cards\u002Fsummary.svg\" width=\"400\" alt=\"OLED summary\">\n\u003Cimg src=\"examples\u002Foled-cards\u002Flanguages.svg\" width=\"400\" alt=\"OLED languages\">\n\u003C\u002Fp>\n\n## Where the numbers come from\n\n- Commits, pull requests, issues, reviews: GitHub's contributions API, with the same rules as the contribution graph on your profile. Without the token's `read:user` scope it hides private work.\n- Notable contributions: your list of pull requests.\n- Stars: the current total on your repos (forks left out), and how many of those were given in the last 12 months.\n- Active days, weekly rhythm, streaks: your contribution calendar. The `count` settings can't filter it.\n\nRepos you can no longer access (e.g. a former employer's) can't be counted.\n\n## Setup\n\n```bash\nbash \u003C(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fpedrocatalao\u002Fgithub-cool-readme\u002Fv1\u002Fsetup.sh)\n```\n\nThe command above needs [gh](https:\u002F\u002Fcli.github.com) logged in. It asks before each change (`--dry-run` changes nothing), and does the steps below. Run it again any time to change which cards are shown and in what order, the style, colour, background or what's counted; your other settings stay as they are. Settings from before v1.5 are moved to the new layout.\n\nTo turn the cards off, run it and turn every card off. They're taken out of your README, but the marked block stays, so they come back in the same place. The workflow loses its schedule but can still be started by hand. Your token, settings and the `cards` branch are kept. To bring them back, run it again and turn a card on.\n\n### By hand\n\n1. Create a classic personal access token with the `repo`, `read:org` and `read:user` scopes. If an organization uses SAML SSO, authorize the token for it.\n2. In your profile repo, add it as the secret `CARDS_TOKEN`, copy [examples\u002Fprofile-workflow.yml](examples\u002Fprofile-workflow.yml) to `.github\u002Fworkflows\u002Fcool-readme.yml`, and optionally add a `cool-readme.yml` (see below).\n3. Run the workflow once (it creates the `cards` branch), then put the cards in your README, with your login for `you`:\n\n```html\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fyou\u002Fyou\u002Fcards\u002Fsummary-dark.svg\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fyou\u002Fyou\u002Fcards\u002Fsummary-light.svg\" width=\"400\" alt=\"GitHub stats\">\n\u003C\u002Fpicture>\n```\n\nSame for `contributions`, `languages`, `weekly`, `streaks` and `about`. Show every card at `width=\"400\"`: two fit a row, and on a narrow screen they stack. Every card then shows as 400 by 195: classic ones are that size, dot matrix and OLED ones are 450 by 219, scaled to fit.\n\n## Settings\n\n`cool-readme.yml`, all optional. Defaults:\n\n```yaml\nuser: null                # defaults to the token's owner\n\nshow: [summary, languages, contributions, weekly]   # the cards, in README order; [] for none\n                          # also: streaks, about\n\ncount:\n  private: true           # private repos in the numbers\n  orgs: true              # repos of organizations you belong to\n\nlook:\n  style: classic          # classic, oled (square pixels) or dotmatrix (round LEDs)\n  color: github           # GitHub's blue and greens; amber, green, purple, cyan, red or blue: what highlights\n  animations: true        # false: still cards\n  background: none        # the page shows through (amber and green go darker on light pages), or a colour\n                          # without #, like 030506: the same for every viewer, the text in shades that suit it\n  border: false           # classic only: a thin outline, like GitHub's boxes\n\ncards:\n  summary:\n    title: null           # small, on the header line\n    ring: percent         # or github: the GitHub logo in the ring, the percentage in the title\n  languages:\n    title: Most used languages   # null hides it\n    count: 6\n    hide: []              # language names; their share is dropped\n    repos: {}             # weight per repo, \"repo\" for your own, \"owner\u002Frepo\" otherwise; 0 leaves it out\n    other: true           # fold the rest into \"Other\"; false: the shown ones share 100%\n  contributions:\n    title: Notable contributions\n    count: 6              # 3 in view at a time; the rest scroll past in a loop\n    open: true            # open pull requests count too, not only merged ones\n    pin: []               # shown first; pull requests closed without merging never count\n    hide: []\n  weekly:\n    title: Weekly rhythm\n  streaks:\n    title: Streaks\n  about:\n    title: About\n    headline: null        # shown large; *words* like these in the accent colour, here and below\n    lines: []             # a line each, wrapped; more than fit scroll past, the facts taking turns under them\n    facts: {}             # label: text, a line each under the lines\n```\n\nA card that's not in `show` keeps its settings under `cards`, for when it's back. Unknown settings are an error, so typos don't go unnoticed.\n\nSettings from before v1.5, with everything at the top (`cards: [...]`, `style`, `include`, `theme`...), still work, and look the same: running setup again moves them to this layout.\n\n## Local development\n\nNeeds Node 22.18 or newer (TypeScript runs directly, no build step).\n\n```bash\nGITHUB_TOKEN=$(gh auth token) npm run dev   # fetch, render to out\u002F, write out\u002Fpreview.html\nnpm run dev:offline                          # re-render from the saved data, no API calls\nnpm run preview                              # every look in preview\u002F*.yml, light and dark, in out\u002Fpreview\u002Findex.html\nnpm run examples                             # the README's cards in examples\u002F, from the saved data\nnpm test\n```\n\n`npm run dev` saves the raw data to `.cache\u002Fsnapshot.json`. It names private repositories, so keep it out of anything public (it is gitignored).\n\n## License\n\nMIT\n","这是一个为 GitHub 个人主页 README 自动生成动态 SVG 统计卡片的开源工具。它通过 GitHub Action 定时运行，统计用户过去 12 个月及历史累计的提交、PR（创建\u002F评审）、Issue、Star、活跃天数占比、代码语言分布、周贡献节奏、对外知名项目贡献等数据，并支持私有库与组织内工作（可选关闭），所有数据仅显示聚合值，不泄露私有仓库名称。卡片采用纯前端 SVG 渲染，适配深色\u002F浅色主题，提供 classic 等多种风格与配色方案，无需服务器托管。适用于希望在 GitHub 主页直观、美观地展示技术活跃度与协作影响力的开发者。",2,"2026-11-24 04:37:08","CREATED_QUERY"]