{"id":42677096,"url":"https://github.com/toshi0607/gig","last_synced_at":"2026-01-29T11:43:32.442Z","repository":{"id":57587033,"uuid":"131397643","full_name":"toshi0607/gig","owner":"toshi0607","description":"generate (or output) .gitignore using github/gitignore ","archived":false,"fork":false,"pushed_at":"2018-06-09T05:20:14.000Z","size":59,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T11:46:01.391Z","etag":null,"topics":["command-line-tool","gitignore","go"],"latest_commit_sha":null,"homepage":"","language":"Go","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/toshi0607.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-04-28T09:58:19.000Z","updated_at":"2022-08-26T08:06:14.000Z","dependencies_parsed_at":"2022-09-26T19:33:18.273Z","dependency_job_id":null,"html_url":"https://github.com/toshi0607/gig","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/toshi0607/gig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshi0607%2Fgig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshi0607%2Fgig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshi0607%2Fgig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshi0607%2Fgig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshi0607","download_url":"https://codeload.github.com/toshi0607/gig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshi0607%2Fgig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"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":["command-line-tool","gitignore","go"],"created_at":"2026-01-29T11:43:31.746Z","updated_at":"2026-01-29T11:43:32.433Z","avatar_url":"https://github.com/toshi0607.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"gig\n====\n\n[![Build Status](https://travis-ci.org/toshi0607/gig.svg?branch=master)](https://travis-ci.org/toshi0607/gig)\n[![Go Report Card](https://goreportcard.com/badge/github.com/toshi0607/gig)](https://goreportcard.com/report/github.com/toshi0607/gig)\n[![MIT License](http://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/toshi0607/gig/blob/master/LICENSE)\n[![Codecov](https://codecov.io/github/toshi0607/gig/coverage.svg?branch=master)](https://codecov.io/github/toshi0607/gig?branch=master)\n\n## Description\ngenerate (or output) .gitignore using [github/gitignore](https://github.com/github/gitignore)\n\n## Demo\n![](https://user-images.githubusercontent.com/7035446/39394981-84cef0aa-4b13-11e8-86b9-7af4f979efa3.gif)\n\n## VS. \n\n### gibo\n[simonwhitaker/gibo](https://github.com/simonwhitaker/gibo) is useful tool for .gitinore.\nIt does `git clone` the templates from [github/gitignore](https://github.com/github/gitignore) and it uses local files.\nSo the gibo is fast, but you have to update local files to use tha latest template.\n\n### gig\n[toshi0607/gig](https://github.com/toshi0607/gig) is also a tool for .gitinore.\nThe gig always use the latest template by accessing github each time.\nSo you don't have to update something manually.\n\n## Requirement\nif you build gig loccally, please exec this command first.\n\n```sh\n$ dep ensure\n```\n\n## Usage\n\n```\nUsage:\n  gig [OPTIONS] [Language]\n\nApplication Options:\n  -l, --list      Show list of available language\n  -f, --File      Output .gitignore file\n  -q, --quiet     Hide stdout\n  -v, --version   Show version\n\nHelp Options:\n  -h, --help      Show this help message\n```\n\n### Example\n\n```sh\n# show available languages\n$ gig -l\nActionscript\nAda\nAgda\nAndroid\n...\n\n\n# search available languages like go\n$ gig -l | grep -i go\nGo\nGodot\nIGORPro\n\n\n# output to the .gitignore file\n$ gig Ruby -f\n$ cat .gitignore\n*.gem\n*.rbc\n/.config\n/coverage/\n...\n\n\n# add to the existing .gitignore file\n$ gig Go \u003e\u003e .gitignore\n$ cat .gitignore\n...\n# Binaries for programs and plugins\n*.exe\n*.exe~\n...\n\n```\n\n### Tips\n\n[peco](https://github.com/peco/peco) 's incremental search helps gig a lot.\n\n```sh\n$ gig $(gig -l | peco)\n```\n\n![](https://user-images.githubusercontent.com/7035446/39398424-86087f74-4b48-11e8-9428-6f771ac8074b.gif)\n\nSetting alias like blow to your dotfile (.bashrc, .zshrc, etc) is also useful.\n\n```sh\nalias pgig='gig $(gig -l | peco)'\n```\n\n## Install\n\n### for Homebrew (macOS, linux)\n\n```sh\n$ brew tap toshi0607/homebrew-gig\n$ brew install gig\n```\n\n### for Go environment\n\n```sh\n$ go get -u github.com/toshi0607/gig\n```\n\n### for Scoop (Windows)\n\n```\n$ scoop install https://raw.githubusercontent.com/toshi0607/gig/master/gig.json\n```\n\n### for others\nYou can download the binary directly from [latest release](https://github.com/toshi0607/gig/releases/latest)\n\n* gig_darwin_386.zip\n* gig_darwin_amd64.zip\n* gig_linux_386.zip\n* gig_linux_amd64.zip\n* gig_windows_386.zip\n* gig_windows_amd64.zip\n\n## Contribution\n\n1. Fork ([https://github.com/toshi0607/gig/fork](https://github.com/toshi0607/gig/fork))\n1. Create a feature branch\n1. Commit your changes\n1. Run test suite with the `make test` command and confirm that it passes\n1. Run `gofmt -s`\n1. Create new Pull Request\n\n## Licence\n[MIT](LICENSE) file for details.\n\n## Author\n\n* [GitHub](https://github.com/toshi0607)\n* [twitter](https://twitter.com/toshi0607)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshi0607%2Fgig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshi0607%2Fgig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshi0607%2Fgig/lists"}