{"id":20598347,"url":"https://github.com/kkirsche/gitnore","last_synced_at":"2025-10-30T09:36:14.221Z","repository":{"id":57629274,"uuid":"176842662","full_name":"kkirsche/gitnore","owner":"kkirsche","description":"A tool to list, view, and download gitignore files from https://github.com/github/gitignore","archived":false,"fork":false,"pushed_at":"2022-08-12T20:48:42.000Z","size":6635,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T01:12:32.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/github/gitignore","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kkirsche.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-03-21T01:08:43.000Z","updated_at":"2022-08-12T20:48:45.000Z","dependencies_parsed_at":"2022-09-26T20:11:03.733Z","dependency_job_id":null,"html_url":"https://github.com/kkirsche/gitnore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkirsche%2Fgitnore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkirsche%2Fgitnore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkirsche%2Fgitnore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkirsche%2Fgitnore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkirsche","download_url":"https://codeload.github.com/kkirsche/gitnore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242232797,"owners_count":20093875,"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":[],"created_at":"2024-11-16T08:26:31.152Z","updated_at":"2025-10-30T09:36:14.049Z","avatar_url":"https://github.com/kkirsche.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitnore\n\nAre you tired of choosing overly bare .gitignore files from Github's interface? So was I. That's why I made gitnore, a tool to list, view, and download gitignore files from https://github.com/github/gitignore and merge the contents of the files you choose into your gitignore, allowing you to build full featured, rich .gitignore files quickly and easily.\n\n## Installation\n\n### From Source\n\n```\n$ go install github.com/kkirsche/gitnore@latest\n```\n\n## Usage\n\n### Initialization\n\nIf you want to provide your personal access token via the CLI, you can initialize your configuration using:\n\n```\n$ gitnore init -t=\"example-personal-access-token\"\n```\n\nThis though has some security concerns if on a shared machine, and as such you can instead use the following command to be prompted:\n\n```\n$ gitnore init\n```\n\n### Updating Your Token\n\nYou can either manually edit your configuration file, or use the `writeConfig` command.\n\n**WARNING: This will overwrite your configuration file!**\n\n```\n$ gitnore writeConfig\n```\n\n## List Available Gitignore Files\n\n```\n$ gitnore list\n```\n\n## Preview Gitignore File Content\n\n```\n$ gitnore preview gitignore-file-name\n```\n\nfor example:\n\n```\n$ gitnore preview Go\n# Binaries for programs and plugins\n*.exe\n*.exe~\n*.dll\n*.so\n*.dylib\n\n# Test binary, built with `go test -c`\n*.test\n\n# Output of the go coverage tool, specifically when used with LiteIDE\n*.out\n```\n\n## Add a Gitignore File's Contents to Your Local Gitignore File\n\n```\n$ gitnore add gitignore-file-name\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkirsche%2Fgitnore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkirsche%2Fgitnore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkirsche%2Fgitnore/lists"}