[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2786":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":36,"discoverSource":37},2786,"git-newspaper","LordAizen1\u002Fgit-newspaper","LordAizen1","Generate a Victorian broadsheet newspaper from any git repository's history","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fgit-newspaper",null,"JavaScript",114,6,103,0,2,7,2.54,false,"master",true,[23,24,25,26,27,28,29,30,31,32],"cli","developer-tools","git","newspaper","nodejs","npm","open-source","terminal","tools","visualization","2026-06-12 02:00:43","# git-newspaper\n\nGenerate a Victorian broadsheet newspaper from any git repository's commit history.\n\n```bash\nnpx git-newspaper\n```\n\n![preview](https:\u002F\u002Fraw.githubusercontent.com\u002FLordAizen1\u002Fgit-newspaper\u002Fmaster\u002Fpreview.png)\n\nOpens `newspaper.html` in your browser, a fully typeset front page built from your actual commits, authors, deleted files, and code churn. No API keys. No LLM. Works offline.\n\n---\n\n## Install\n\n```bash\nnpm install -g git-newspaper\n```\n\nOr run without installing:\n\n```bash\nnpx git-newspaper\n```\n\n## Usage\n\n```bash\n# Run inside any git repo\ngit-newspaper\n\n# Point at a specific repo\ngit-newspaper --repo \u002Fpath\u002Fto\u002Frepo\n\n# Scope to recent activity\ngit-newspaper --since \"2 weeks ago\"\ngit-newspaper --since \"2024-01-01\"\n\n# Export as PNG instead of HTML\ngit-newspaper --format png\n\n# Save to a specific file\ngit-newspaper --output my-paper.html\n\n# Limit commits analysed (default: 500)\ngit-newspaper --limit 200\n\n# Don't open the browser automatically\ngit-newspaper --no-open\n```\n\n## What's in the newspaper\n\nEvery section is generated from your actual git data, nothing is made up.\n\n| Section | Source |\n|---|---|\n| **Front page headline** | Your largest commit by lines changed |\n| **Lead article** | Commit authors, file counts, date range |\n| **Meteorological Report** | Commit sentiment and activity pattern |\n| **Obituaries** | Files deleted in the period |\n| **Opinion column** | Your most-modified file, writing about itself |\n| **Vital Statistics** | Commit counts, top authors, churn rankings |\n| **Commit Activity** | Timeline chart of activity over the period |\n| **Classifieds** | Archetype-specific notices based on your repo's patterns |\n\n## Archetypes\n\nThe tool detects what kind of repository it's looking at and adjusts the layout, tone, and content accordingly:\n\n| Archetype | Trigger | Edition |\n|---|---|---|\n| Revert Crisis | >12% of commits are reverts | Crisis Edition |\n| Solo Marathon | One author dominates >70% of commits | Profile Edition |\n| Ghost Town | Fewer than 8 commits | Quiet Edition |\n| Dependency Churn | >35% of commits touch lock files | Administrative Notice |\n| Refactor Sweep | >25% of commits are refactors | Infrastructure Report |\n| Bugfix Crisis | >35% of commits are fixes | Emergency Edition |\n| Feature Sprint | >35% of commits are features | Launch Edition |\n| Collaborative | 5+ authors with 40+ commits | Collaborative Edition |\n| Balanced | Everything else | Morning Edition |\n\n## PNG export\n\nRequires Playwright (not installed by default):\n\n```bash\nnpm install -D playwright\nnpx playwright install chromium\ngit-newspaper --format png\n```\n\n## How it works\n\n- Parses `git log --stat` locally via [simple-git](https:\u002F\u002Fgithub.com\u002Fsteveukx\u002Fgit-js), no GitHub API, no network requests\n- Detects a repository archetype from commit patterns\n- Selects content from archetype-specific template libraries using a seeded RNG (same repo always produces the same paper)\n- Renders a self-contained HTML file with all fonts and styles inline\n\n## Requirements\n\n- Node.js 18 or later\n- A git repository with at least one commit\n\n## License\n\nMIT\n","git-newspaper 是一个能够从任意 Git 仓库的历史记录生成维多利亚风格报纸的工具。它通过解析本地的 `git log --stat` 数据，无需网络请求或 API 密钥，即可创建出包含提交者、文件变更、代码变动等信息的报纸版面，并支持多种格式输出如 HTML 和 PNG。项目采用 JavaScript 编写，利用 Node.js 环境运行，适用于希望以有趣方式可视化其代码库历史的开发者或团队，尤其是在进行项目回顾、庆祝里程碑或增加团队凝聚力时。此外，根据仓库的活动模式自动调整报纸的内容和风格，确保每份报纸都独一无二且富有创意。","2026-06-11 02:51:12","CREATED_QUERY"]