{"id":20618214,"url":"https://github.com/tddschn/gitignore-cli-tddschn","last_synced_at":"2026-04-17T23:03:17.883Z","repository":{"id":57676862,"uuid":"488637162","full_name":"tddschn/gitignore-cli-tddschn","owner":"tddschn","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-11T01:44:20.000Z","size":106,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-16T21:06:07.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/tddschn.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}},"created_at":"2022-05-04T15:10:38.000Z","updated_at":"2023-05-04T11:52:32.000Z","dependencies_parsed_at":"2025-01-17T04:46:45.207Z","dependency_job_id":"99dce393-9eb5-48f5-ada5-773e21dec3f7","html_url":"https://github.com/tddschn/gitignore-cli-tddschn","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/tddschn/gitignore-cli-tddschn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fgitignore-cli-tddschn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fgitignore-cli-tddschn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fgitignore-cli-tddschn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fgitignore-cli-tddschn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/gitignore-cli-tddschn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fgitignore-cli-tddschn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31949435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-16T12:07:35.876Z","updated_at":"2026-04-17T23:03:17.844Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitignore CLI\n\nFast gitignore CLI tool with cached templates\n\n\n- [gitignore CLI](#gitignore-cli)\n  - [Features](#features)\n  - [Installation](#installation)\n    - [pipx](#pipx)\n    - [pip](#pip)\n  - [Usage](#usage)\n  - [Develop](#develop)\n## Features\n- Extremely fast - no network calls made if the cache has been retrieved with `gi --refresh`.\n- [Templates source](https://github.com/toptal/gitignore), you can also set additional custom templates dir with `-c` or via `$GITIGNORE_CLI_TEMPLATE_DIR`.\n\n## Installation\n\nFirst make sure the `git` executable is installed and in your `$PATH`, \nas it is required to retrieve the gitignore templates.\n\n### pipx\n\nThis is the recommended installation method.\n\n```\n$ pipx install gitignore-cli-tddschn\n```\n\n### [pip](https://pypi.org/project/gitignore-cli-tddschn/)\n```\n$ pip install gitignore-cli-tddschn\n```\n\n\n## Usage\n\nYou can either invoke gitignore CLI with `gi` or `gitignore`.\n\n```\n$ gi -h\n\nusage: gi [-h] [-c CUSTOM_TEMPLATES_DIR] [-o FILE] [-r] [-l] [-a] [-w] [TEMPLATES ...]\n\ngitignore CLI\n\npositional arguments:\n  TEMPLATES             A positional argument (default: None)\n\noptions:\n  -h, --help            show this help message and exit\n  -c CUSTOM_TEMPLATES_DIR, --custom-templates-dir CUSTOM_TEMPLATES_DIR\n                        Custom templates dir, gitignore CLI will look for templates named *.gitignore in this dir first. Defaults to the value of\n                        $GITIGNORE_CLI_TEMPLATE_DIR env var (default: /Users/tscp/.cache/gitignore-cli/gitignore-tddschn/templates)\n  -o FILE, --out FILE   Output to file, append if exists, if -a or -w is not specified (default: \u003c_io.TextIOWrapper name='\u003cstdout\u003e' mode='w'\n                        encoding='utf-8'\u003e)\n  -r, --refresh         Refresh gitignore cache (default: False)\n  -l, --list            Lists available gitignore templates (default: False)\n  -a, --append          Append to the .gitignore of current git repository (default: False)\n  -w, --write           Write to the .gitignore of current git repository (overwrite) (default: False)\n```\n\n## Develop\n```\n$ git clone https://github.com/tddschn/gitignore-cli-tddschn.git\n$ cd gitignore-cli-tddschn\n$ poetry install\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fgitignore-cli-tddschn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Fgitignore-cli-tddschn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fgitignore-cli-tddschn/lists"}