{"id":49276168,"url":"https://github.com/lordaizen1/git-newspaper","last_synced_at":"2026-04-26T17:00:31.100Z","repository":{"id":352498160,"uuid":"1215378450","full_name":"LordAizen1/git-newspaper","owner":"LordAizen1","description":"Generate a Victorian broadsheet newspaper from any git repository's history","archived":false,"fork":false,"pushed_at":"2026-04-19T20:52:39.000Z","size":1620,"stargazers_count":92,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-25T16:28:29.855Z","etag":null,"topics":["cli","developer-tools","git","newspaper","nodejs","npm","open-source","terminal","tools","visualization"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/git-newspaper","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LordAizen1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-19T20:46:52.000Z","updated_at":"2026-04-25T12:21:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/LordAizen1/git-newspaper","commit_stats":null,"previous_names":["lordaizen1/git-newspaper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LordAizen1/git-newspaper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordAizen1%2Fgit-newspaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordAizen1%2Fgit-newspaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordAizen1%2Fgit-newspaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordAizen1%2Fgit-newspaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LordAizen1","download_url":"https://codeload.github.com/LordAizen1/git-newspaper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LordAizen1%2Fgit-newspaper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","developer-tools","git","newspaper","nodejs","npm","open-source","terminal","tools","visualization"],"created_at":"2026-04-25T16:06:53.836Z","updated_at":"2026-04-26T17:00:31.094Z","avatar_url":"https://github.com/LordAizen1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 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://raw.githubusercontent.com/LordAizen1/git-newspaper/master/preview.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 /path/to/repo\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 | \u003e12% of commits are reverts | Crisis Edition |\n| Solo Marathon | One author dominates \u003e70% of commits | Profile Edition |\n| Ghost Town | Fewer than 8 commits | Quiet Edition |\n| Dependency Churn | \u003e35% of commits touch lock files | Administrative Notice |\n| Refactor Sweep | \u003e25% of commits are refactors | Infrastructure Report |\n| Bugfix Crisis | \u003e35% of commits are fixes | Emergency Edition |\n| Feature Sprint | \u003e35% 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://github.com/steveukx/git-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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordaizen1%2Fgit-newspaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordaizen1%2Fgit-newspaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordaizen1%2Fgit-newspaper/lists"}