{"id":19012941,"url":"https://github.com/ntk148v/goignore","last_synced_at":"2026-03-11T01:01:50.506Z","repository":{"id":46027229,"uuid":"426072591","full_name":"ntk148v/goignore","owner":"ntk148v","description":"A .gitignore wizard in your command line written in Golang","archived":false,"fork":false,"pushed_at":"2024-10-16T10:48:21.000Z","size":3712,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T23:48:56.975Z","etag":null,"topics":["bubbletea","cli","gitignore-generator","goignore","golang","hacktoberfest","lipgloss"],"latest_commit_sha":null,"homepage":"","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/ntk148v.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":"2021-11-09T03:03:40.000Z","updated_at":"2024-10-16T10:48:25.000Z","dependencies_parsed_at":"2024-06-19T05:26:10.811Z","dependency_job_id":"cad7742e-1e59-47ff-94c5-c75b264bce29","html_url":"https://github.com/ntk148v/goignore","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":"ntk148v/golang-template","purl":"pkg:github/ntk148v/goignore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgoignore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgoignore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgoignore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgoignore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntk148v","download_url":"https://codeload.github.com/ntk148v/goignore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntk148v%2Fgoignore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30364607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["bubbletea","cli","gitignore-generator","goignore","golang","hacktoberfest","lipgloss"],"created_at":"2024-11-08T19:20:50.876Z","updated_at":"2026-03-11T01:01:50.480Z","avatar_url":"https://github.com/ntk148v.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoIgnore\n\n- [GoIgnore](#goignore)\n  - [1. Features](#1-features)\n  - [2. Install](#2-install)\n  - [3. Usage](#3-usage)\n\n\u003e [!WARNING]\n\u003e I have switched to a shell script based on [fzf](https://github.com/junegunn/fzf) to replace goignore. Therefore, this tool won't be updated.\n\n```shell\nfunction gi() {\n    selections=$(curl -sL https://www.toptal.com/developers/gitignore/api/list\\?format\\=lines | fzf -m --height=80% \\\n        --prompt='▶ ' --pointer='→' \\\n        --border=sharp \\\n        --preview='curl -sL https://www.toptal.com/developers/gitignore/api/{}' \\\n        --preview-window='45%,border-sharp' \\\n        --prompt='gitignore ▶ ' \\\n        --bind='ctrl-r:reload(curl -sL https://www.toptal.com/developers/gitignore/api/list\\?format\\=lines)' \\\n        --bind='ctrl-p:toggle-preview' \\\n        --header '\n--------------------------------------------------------------\n* Tab/Shift-Tab:       mark multiple items\n* ENTER:               append the selected to .gitignore file\n* Ctrl-r:              refresh the list\n* Ctrl-p:              toggle preview\n* Ctrl-q:              exit\n* Shift-up/Shift-down: scroll the preview\n--------------------------------------------------------------\n')\n\n    if [[ ${#selections[@]} == 0 ]]; then\n        echo \"▶ Nothing selected\"\n        return 0\n    fi\n\n    # allow multi-select\n    touch $PWD/.gitignore\n    while IFS= read -r s; do\n        url=\"https://www.toptal.com/developers/gitignore/api/$s\"\n        if grep -q \"$url\" \"$PWD/.gitignore\"; then\n            echo \"▶ $s already added in gitignore, skipping ...\"\n            continue\n        fi\n        curl -sL \"$url\" \u003e\u003e$PWD/.gitignore\n        echo \"▶ Appended: $s\"\n    done \u003c\u003c\u003c\"$selections\"\n}\n```\n\nA `.gitignore` wizard which generates `.gitignore` files from the command line for you. Inspired by [joe](https://github.com/karan/joe)\n\n## 1. Features\n\n- No installation necessary - just use the binary.\n- Works on Linux, Windows \u0026 MacOS.\n- Interactive user interface with [bubbletea](https://github.com/charmbracelet/bubbletea): Pagination, Filtering, Help...\n- Supports all Github-supported [.gitignore files](https://github.com/github/gitignore.git).\n\n## 2. Install\n\n- Download the latest binary from the [Release page](https://github.com/ntk148v/goignore/releases). It's the easiest way to get started with `goignore`.\n- Make sure to add the location of the binary to your `$PATH`.\n\n## 3. Usage\n\n- Just run.\n\n```bash\nchmod a+x goignore\ngoignore\n```\n\n- At the first time, `goignore` will download the Gitignore templates from Github. It may take a few seconds (depend on your network).\n\n- The list of gitignore templates.\n\n![](./screenshots/start.png)\n\n- Show help.\n\n![](./screenshots/help.png)\n\n- Filter.\n\n![](./screenshots/filter1.png)\n\n![](./screenshots/filter2.png)\n\n- Result, the current gitignore is updated.\n\n![](./screenshots/diff.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntk148v%2Fgoignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntk148v%2Fgoignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntk148v%2Fgoignore/lists"}