Convert Figma logo to code with AI

simonwhitaker logogibo

🤫 Easy access to gitignore boilerplates

1,960
65
1,960
1

Top Related Projects

The largest collection of useful .gitignore templates

Create useful .gitignore files for your project

2,877

:running: A .gitignore magician in your command line

Quick Overview

gibo (gitignore boilerplates) is a shell script that helps developers quickly access gitignore boilerplates from GitHub's gitignore repository. It simplifies the process of creating .gitignore files for various programming languages and development environments by allowing users to easily fetch and combine pre-made templates.

Pros

  • Saves time by providing ready-made gitignore templates for numerous languages and frameworks
  • Allows combining multiple templates into a single .gitignore file
  • Regularly updated with the latest gitignore patterns from GitHub's repository
  • Lightweight and easy to install on various operating systems

Cons

  • Requires an initial download of the gitignore repository
  • May not include all possible project-specific ignore patterns
  • Depends on the quality and completeness of GitHub's gitignore templates
  • Limited customization options for advanced users

Getting Started

  1. Install gibo:

    # macOS with Homebrew
    brew install gibo
    
    # Linux/macOS with curl
    curl -L https://raw.github.com/simonwhitaker/gibo/master/gibo \
       -so ~/bin/gibo && chmod +x ~/bin/gibo
    
    # Windows with scoop
    scoop install gibo
    
  2. Update gibo's list of gitignore boilerplates:

    gibo update
    
  3. Generate a .gitignore file for your project:

    # For a Python project
    gibo dump Python > .gitignore
    
    # For a web project using Node.js and React
    gibo dump Node React > .gitignore
    
  4. View available boilerplates:

    gibo list
    

Competitor Comparisons

The largest collection of useful .gitignore templates

Pros of gitignore

  • Web-based interface for easy browsing and selection of .gitignore templates
  • Allows users to combine multiple templates into a single .gitignore file
  • Provides a search functionality to quickly find specific templates

Cons of gitignore

  • Requires an internet connection to access and use the templates
  • Limited to the templates available on the website
  • May not be as easily integrated into existing development workflows

Code comparison

gibo:

#!/bin/sh
# GIBO: https://github.com/simonwhitaker/gibo
# Easy access to GitHub's .gitignore templates

gitignore:

<!-- No direct code comparison available -->
<!-- gitignore is a web-based tool -->

Summary

While gibo offers a command-line interface for managing .gitignore templates, gitignore provides a user-friendly web interface. gibo is more suitable for developers who prefer working in the terminal and want offline access to templates, while gitignore caters to those who prefer a visual approach and don't mind relying on an internet connection. The choice between the two depends on personal preferences and workflow requirements.

Create useful .gitignore files for your project

Pros of gitignore.io

  • Web-based interface for easy access and use
  • Extensive list of templates for various technologies and environments
  • API support for integration with other tools and workflows

Cons of gitignore.io

  • Requires internet connection for use
  • May include unnecessary patterns for some projects
  • Less customizable than command-line alternatives

Code Comparison

gitignore.io (API usage):

curl -L -s https://www.gitignore.io/api/java,maven

gibo:

gibo dump java maven > .gitignore

Both tools provide similar functionality for generating .gitignore files, but their approaches differ. gitignore.io offers a web-based solution with an API, making it accessible for users who prefer graphical interfaces or need to integrate it into other tools. gibo, on the other hand, is a command-line tool that works offline and allows for more direct customization of .gitignore files.

The choice between these tools depends on personal preference, workflow requirements, and the need for online/offline access. gitignore.io may be more suitable for users who want a quick, web-based solution, while gibo might appeal to those who prefer command-line tools and offline functionality.

2,877

:running: A .gitignore magician in your command line

Pros of Joe

  • Written in Go, potentially offering better performance and cross-platform compatibility
  • Supports custom template directories, allowing users to add their own templates
  • Provides a command to list all available templates

Cons of Joe

  • Fewer pre-defined templates compared to Gibo
  • Less active development and community support
  • Lacks some advanced features like updating templates from remote sources

Code Comparison

Joe:

func main() {
    if len(os.Args) < 2 {
        fmt.Println("Usage: joe <command> [arguments]")
        os.Exit(1)
    }
    // ... (command handling)
}

Gibo:

function usage() {
    echo "Usage: $(basename "$0") [options] [boilerplate...]"
    echo "  -l, --list          List available boilerplates"
    echo "  -u, --upgrade       Upgrade list of available boilerplates"
    # ... (more options)
}

Both projects aim to generate .gitignore files, but they differ in implementation and features. Gibo is a shell script with a larger collection of pre-defined templates, while Joe is a Go application with support for custom template directories. Gibo offers more frequent updates and wider community adoption, whereas Joe provides a more structured command-line interface and potential performance benefits due to its compiled nature.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

gibo: fast access to .gitignore boilerplates

gibo (short for .gitignore boilerplates) is a command-line tool to help you easily access .gitignore boilerplates from github.com/github/gitignore.

Typical usage

gibo dump Swift Xcode >> .gitignore

For additional usage instructions, run gibo help.

Installation

Using Homebrew

brew install gibo

Or use the tap, which may be slightly more up-to-date:

brew install simonwhitaker/tap/gibo

Using Scoop

On Windows, you can install gibo using Scoop:

scoop bucket add main
scoop install main/gibo

Using Chocolatey

choco install gibo

Using the Go toolchain

go install github.com/simonwhitaker/gibo@latest

Building from source

Clone the repo, then:

cd gibo
go install .

Downloading a binary

Download the latest release for your platform, then put gibo (or gibo.exe) somewhere on your path.

Installation on Docker

docker run --rm simonwhitaker/gibo

Tab completion in bash, zsh, fish and Powershell

See the instructions at:

gibo completion

Use gibo to generate .hgignore files

The glob .hgignore syntax for Mercurial is compatible with .gitignore syntax. This means that you can use gibo to generate .hgignore files, as long as the .hgignore files use the glob syntax:

echo 'syntax: glob' > .hgignore
gibo dump Python >> .hgignore

Credits

gibo was written by Simon Whitaker (@s1mn)