{"id":15011005,"url":"https://github.com/lionyxml/magit-stats","last_synced_at":"2025-08-20T16:31:49.855Z","repository":{"id":65535112,"uuid":"590715408","full_name":"LionyxML/magit-stats","owner":"LionyxML","description":"A git statistics report generator that can be used both as an individual CLI Tool or called from inside Emacs.","archived":false,"fork":false,"pushed_at":"2024-11-20T03:52:16.000Z","size":11283,"stargazers_count":37,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-19T13:07:33.836Z","etag":null,"topics":["cli","emacs","git","npx","statistics"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LionyxML.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-19T02:51:12.000Z","updated_at":"2024-11-06T07:17:35.000Z","dependencies_parsed_at":"2024-09-28T18:00:31.421Z","dependency_job_id":"4da1d66a-56c9-468d-ab5f-c024f6f5bf9c","html_url":"https://github.com/LionyxML/magit-stats","commit_stats":{"total_commits":67,"total_committers":1,"mean_commits":67.0,"dds":0.0,"last_synced_commit":"1197942c6a2f399233c5bcbb9a29f9c05a5eecf1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LionyxML%2Fmagit-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LionyxML%2Fmagit-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LionyxML%2Fmagit-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LionyxML%2Fmagit-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LionyxML","download_url":"https://codeload.github.com/LionyxML/magit-stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230438185,"owners_count":18225870,"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":["cli","emacs","git","npx","statistics"],"created_at":"2024-09-24T19:38:22.706Z","updated_at":"2024-12-19T13:07:39.481Z","avatar_url":"https://github.com/LionyxML.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# magit-stats\n\n[![img](https://melpa.org/packages/magit-stats-badge.svg)](https://melpa.org/#/magit-stats) ![IMG](https://img.shields.io/badge/npx-magit--stats-red?style=plastic\u0026logo=npm#)\n\n![img](./doc/demo.gif)\n\n## What is this package?\n\nA git statistics report generator that can be use both as an individual CLI\nTool or called from inside Emacs.\n\nHere's a demo of the report:\n![img](./doc/demo.png)\n\n## Requirements\n\nYou need to have `node@latest` installed in your system and the `npx` tool.\n\nJust check if you have it issuing the command: `npx --version`.\n\n## Basic Usage\n\nNavigate to your git folder and issue:\n\n    npx magit-stats\n\nAnd that's it! A new `git-stats.html` file is generated with your\nrepository statistics and will be automatically opened.\n\n## Advanced Usage\n\nYou can get all options of this cli tool by issuing `npx magit-stats --help`.\n\n    [magit-stats] - Your git repository statistics\n\n    Usage: npx magit-stats  [options]\n\n    Opções:\n          --html      Saves report to HTML file (default: git-stats.html)  [boolean]\n          --json      Saves report to JSON file (default: git-stats.json)  [boolean]\n          --stdout    Outputs to stdout                                    [boolean]\n          --minify    Minifies the JSON output                             [boolean]\n          --file      Output file name                                      [string]\n          --repo      Repository name to show on report                     [string]\n          --no-open   Does not auto-open the generate HTML file            [boolean]\n          --no-icons  Does not use icons on HTML                           [boolean]\n          --heap      Node memory heap size                 [string] [default: 4096]\n      -h, --help      Show help                                            [boolean]\n      -v, --version   Show app version                                     [boolean]\n\n    Examples:\n      npx magit-stats                          saves report to git-stats.html an ope\n                                               ns the file with default app\n      npx magit-stats  --html                  same as above\n      npx magit-stats  --html --file out.html  saves report to out.html and open it\n      npx magit-stats  --html --no-open        saves report to git-stats.html\n      npx magit-stats  --json                  saves report to git-stats.json\n      npx magit-stats  --json --file out.json  saves report to out.json\n      npx magit-stats  --json --stdout         prints JSON report to stdout\n\n## Emacs Usage\n\nNOTE: Requires you to be able to execute \\`npx\\` (see above) and have it set\nto your emacs path.\n\nInstall it from [MELPA](https://melpa.org/#/magit-stats) and add to your \\`.emacs\\` file:\n\n    (require 'magit-stats)\n\nThen open a file that is inside a git repository and call `magit-stats`, like `M-x magit-stats RET`.\n\nChoose an option generate your report!\n\nDemo:\n![img](./doc/demo_emacs.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionyxml%2Fmagit-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flionyxml%2Fmagit-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionyxml%2Fmagit-stats/lists"}