{"id":20769878,"url":"https://github.com/lagerfeuer/gitignore","last_synced_at":"2026-04-29T12:37:23.246Z","repository":{"id":57434307,"uuid":"153799970","full_name":"lagerfeuer/gitignore","owner":"lagerfeuer","description":"Python 3 gitignore fetcher based on gitignore.io","archived":false,"fork":false,"pushed_at":"2023-10-12T23:19:35.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T23:06:55.252Z","etag":null,"topics":["git","gitignore","gitignore-generator","gitignore-templates","python","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/lagerfeuer.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":"2018-10-19T14:58:11.000Z","updated_at":"2023-10-12T23:18:16.000Z","dependencies_parsed_at":"2024-11-18T00:02:21.767Z","dependency_job_id":null,"html_url":"https://github.com/lagerfeuer/gitignore","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagerfeuer%2Fgitignore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagerfeuer%2Fgitignore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagerfeuer%2Fgitignore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lagerfeuer%2Fgitignore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lagerfeuer","download_url":"https://codeload.github.com/lagerfeuer/gitignore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243103991,"owners_count":20236941,"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":["git","gitignore","gitignore-generator","gitignore-templates","python","python3"],"created_at":"2024-11-17T11:45:35.444Z","updated_at":"2025-12-16T10:35:23.093Z","avatar_url":"https://github.com/lagerfeuer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitignore\nPython 3 gitignore fetcher based on [gitignore.io](http://gitignore.io)\n\n## Install\n\n```\n# pip3 install giig\n```\n\n## Usage\n\n```\nusage: giig [-h] [--list] [--search SEARCH] [--file [FILE]] [lang [lang ...]]\n\nDownload .gitignore files from gitignore.io\n\npositional arguments:\n  lang                  language, IDE or OS to include in the .gitignore file\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --list, -l            list all language, IDE or OS options\n  --search SEARCH, -s SEARCH\n                        search list of options and print matches\n  --file [FILE], -f [FILE]\n                        specify which file to write to\n```\n\n### Print list\nPrint list of all possible options for gitignore.io\n```\ngiig -l\n```\n\n### Search\nSearch for specific term (e.g. python)\n```\ngiig -s python\n```\n\n### Print to stdout\n```\ngiig python\n```\n\n### Write .gitignore file\n```\ngiig -f -- python\n```\n\n#### Use custom file\n```\ngiig -f custom-file.txt python\n```\n\n### Use as library\n\n```python\nimport giig\n\n# get list of languages, IDEs, etc.\ngiig.get_list()\n\n# get list of languages, IDEs, etc.\ngiig.search(term)\n\n# get gitignore for one/several languages, IDEs, etc.\n# where options is a list of terms\ngiig.get_ignore(options)\n```\n\n## Todo\n\n* [x] make giig print to stdout without `-f`\n* [ ] add cache (don't need to query gitignore.io everytime)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagerfeuer%2Fgitignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flagerfeuer%2Fgitignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flagerfeuer%2Fgitignore/lists"}