{"id":22740227,"url":"https://github.com/a-type/diff-nanny","last_synced_at":"2025-10-06T03:57:51.811Z","repository":{"id":206303390,"uuid":"716311851","full_name":"a-type/diff-nanny","owner":"a-type","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-10T20:44:51.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T03:57:51.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-type.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,"zenodo":null}},"created_at":"2023-11-08T21:49:08.000Z","updated_at":"2023-11-08T21:49:13.000Z","dependencies_parsed_at":"2025-07-23T16:33:38.587Z","dependency_job_id":"b44fe1d4-0e84-453d-8599-444ac88a1866","html_url":"https://github.com/a-type/diff-nanny","commit_stats":null,"previous_names":["a-type/diff-nanny"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-type/diff-nanny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fdiff-nanny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fdiff-nanny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fdiff-nanny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fdiff-nanny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-type","download_url":"https://codeload.github.com/a-type/diff-nanny/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fdiff-nanny/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278556193,"owners_count":26006081,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-10T23:07:56.368Z","updated_at":"2025-10-06T03:57:51.791Z","avatar_url":"https://github.com/a-type.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diff Nanny\n\nKeeps a running tally of your git diff and lets you set warnings if you hit a threshold.\n\nGood for people who keep submitting big PRs because they didn't realize they were a little too in the zone.\n\n## Features\n\n- Always shows a diff count in your status bar\n- The diff count turns yellow (or whatever your warning color is) when you hit a threshold you decide. Default is 1k changes.\n- Allows excluding files you don't care about, like `package-lock.json`, to reduce the noise.\n\n## Extension Settings\n\nInclude if your extension adds any VS Code settings through the `contributes.configuration` extension point.\n\nFor example:\n\nThis extension contributes the following settings:\n\n- `diffNanny.excludes`: A list of glob patterns for files to exclude from the diff totals.\n- `diffNanny.baseBranch`: Specify a branch to diff against. Defaults to `main`. Use `\"\"` to only track uncommitted changes.\n- `diffNanny.maxDiffTotal`: The warning threshold for total diff size (+ and -)\n- `diffNanny.maxDiffInserts`: The warning threshold for only inserts (+)\n- `diffNanny.maxDiffRemovals`: The warning threshold for only removals (-)\n\n## Release Notes\n\n### 1.0.0\n\nInitial functionality with excludes and threshold limits.\n\n### 1.0.1\n\nAllow specifying a base branch to diff against, default to `main`. Now changes are for the whole working branch, not just uncommitted files.\n\nAlso add some logging to diagnose Windows problems.\n\n### 1.0.1\n\nFix a bug that made the status bar badge not show up.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-type%2Fdiff-nanny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-type%2Fdiff-nanny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-type%2Fdiff-nanny/lists"}