{"id":15396863,"url":"https://github.com/z0al/ignr","last_synced_at":"2026-04-28T08:39:35.353Z","repository":{"id":57147855,"uuid":"172357804","full_name":"z0al/ignr","owner":"z0al","description":"Automagically generate a .gitignore file that fits your needs","archived":false,"fork":false,"pushed_at":"2019-03-06T15:06:21.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-26T06:13:00.549Z","etag":null,"topics":["git","gitignore","gitignore-generator","magic"],"latest_commit_sha":null,"homepage":"https://npm.im/ignr","language":"JavaScript","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/z0al.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}},"created_at":"2019-02-24T15:57:19.000Z","updated_at":"2025-05-03T05:05:27.000Z","dependencies_parsed_at":"2022-09-06T16:40:30.072Z","dependency_job_id":null,"html_url":"https://github.com/z0al/ignr","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/z0al/ignr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fignr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fignr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fignr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fignr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0al","download_url":"https://codeload.github.com/z0al/ignr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fignr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32373514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":["git","gitignore","gitignore-generator","magic"],"created_at":"2024-10-01T15:35:10.305Z","updated_at":"2026-04-28T08:39:35.337Z","avatar_url":"https://github.com/z0al.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ignr\n\n\u003e Automagically generate a `.gitignore` file that fits your needs. Thanks to https://gitignore.io\n\n[![Travis (.org)](https://img.shields.io/travis/z0al/ignr.svg)](https://travis-ci.org/z0al/ignr) [![npm](https://img.shields.io/npm/v/ignr.svg)](https://npm.im/ignr) [![node](https://img.shields.io/node/v/ignr.svg)](https://npm.im/ignr) [![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat)](#contributors)\n\n## Usage\n\nTo generate a `.gitignore` file for the current directory, you need to run:\n\n```sh\n$ npx ignr\n```\n\nAnd BOOM 🔥. That's it.\n\n## How it works\n\nIt runs a bunch of checks, for example, the existence of certain files in the current directory, installed programs ..etc to determine what things you might need to ignore. Then it simply fetches the necessary data from https://gitignore.io.\n\n## Supported templates\n\nCurrently we can detect and generate a `.gitignore` file for the following templates:\n\n- Golang\n- Linux\n- macOS\n- Node.js\n- Vim\n- Visual Studio Code\n- Windows\n- What is missing? see [here](https://github.com/dvcs/gitignore/tree/master/templates)\n\nContributions are welcome ❤️\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n\u003ctable\u003e\u003ctr\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://ahmed.sd\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/12673605?v=4\" width=\"100px;\" alt=\"Ahmed T. Ali\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAhmed T. Ali\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/z0al/ignr/commits?author=z0al\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-z0al\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"https://github.com/z0al/ignr/commits?author=z0al\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n## FAQ\n\n### What about [handy-gi](npm.im/handy-gi)\n\nWell, I've created that package a few years ago, but couldn't really keep it updated since it doesn't fetch the gitignore templates dynamically but rather uses a local copy, which doesn't make sense. I didn't know that [gitignore.io](https://gitignore.io) has a API back then. So, this package basically replaces `handy-gi` and `handy-gi-cli`. Also, I think the `ignr` name is cooler ;)\n\n## License\n\nMIT © Ahmed T. Ali\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0al%2Fignr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0al%2Fignr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0al%2Fignr/lists"}