All Projects → cuonglm → Gogi

cuonglm / Gogi

Licence: other
Go client for gitignore.io

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Gogi

Add Gitignore
An interactive CLI tool that adds a .gitignore to your projects.
Stars: ✭ 467 (+815.69%)
Mutual labels:  gitignore
Stegify
🔍 Go tool for LSB steganography, capable of hiding any file within an image.
Stars: ✭ 927 (+1717.65%)
Mutual labels:  golang-tools
Interact
Question/answer and multiple choice by command line
Stars: ✭ 43 (-15.69%)
Mutual labels:  golang-tools
Gobinaries
Golang binaries compiled on-demand for your system
Stars: ✭ 672 (+1217.65%)
Mutual labels:  golang-tools
Dalfox
🌘🦊 DalFox(Finder Of XSS) / Parameter Analysis and XSS Scanning tool based on golang
Stars: ✭ 791 (+1450.98%)
Mutual labels:  golang-tools
Gitignore
The largest collection of useful .gitignore templates
Stars: ✭ 839 (+1545.1%)
Mutual labels:  gitignore
Vscode R
R Extension for Visual Studio Code (execution, snippet, lint, R documantation, R Markdown)
Stars: ✭ 445 (+772.55%)
Mutual labels:  gitignore
Golang Plugin
Automatically installs the Go tools on Jenkins build agents
Stars: ✭ 49 (-3.92%)
Mutual labels:  golang-tools
Initior
A command line application that let's you initialize your new projects the right way, replaces npm and yarn's init 🎆
Stars: ✭ 17 (-66.67%)
Mutual labels:  gitignore
Gitignore
.gitIgnore file for Salesforce or Force.com Projects
Stars: ✭ 27 (-47.06%)
Mutual labels:  gitignore
Goggles
🔭 Goggles is a cross-platform GUI for your $GOPATH!
Stars: ✭ 672 (+1217.65%)
Mutual labels:  golang-tools
Gitignore.io
.gitignore.io is a web service designed to help you create .gitignore files for your Git repositories. The site has a graphical and command line method of creating a .gitignore for your operating system, programming language, or IDE.
Stars: ✭ 6,709 (+13054.9%)
Mutual labels:  gitignore
Go Benchmark App
Application for HTTP benchmarking via different rules and configs
Stars: ✭ 21 (-58.82%)
Mutual labels:  golang-tools
Richgo
Enrich `go test` outputs with text decorations.
Stars: ✭ 544 (+966.67%)
Mutual labels:  golang-tools
Gogeom
This is a Geometrical library for Go Language. Which includes multiple Geometrical calculations like Circle, Lines etc in different forms
Stars: ✭ 47 (-7.84%)
Mutual labels:  golang-tools
Gowrap
GoWrap is a command line tool for generating decorators for Go interfaces
Stars: ✭ 464 (+809.8%)
Mutual labels:  golang-tools
Gocurrency
Simple currency converter. Insert an amount, what currency to convert from and what currency to convert to.
Stars: ✭ 26 (-49.02%)
Mutual labels:  golang-tools
Ebreader
一个让你可以在浏览器中阅读Epub电子书的CLI程序,使用Golang编写
Stars: ✭ 50 (-1.96%)
Mutual labels:  golang-tools
Coala Quickstart
A tool that generates an initial coala config file for you!
Stars: ✭ 47 (-7.84%)
Mutual labels:  gitignore
Gitignore
Create .gitignore files from gitignore.io templates
Stars: ✭ 27 (-47.06%)
Mutual labels:  gitignore

gogi - Go client for gitignore.io

Build Status Go Report Card GoDoc

Why gogi?

Make gitignore client more portable, without relying on the shell, curl, wget or any other http client.

Installation

go get -u github.com/cuonglm/gogi

Usage

As library

import (
	"fmt"
	"log"

	"github.com/cuonglm/gogi"
)

func main() {
	gogiClient, _ := gogi.NewHTTPClient()
	data, err := gogiClient.List()
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(data)
}

As binary:

$ go get github.com/cuonglm/gogi/cmd/gogi
$ gogi
Usage of gogi:
  -create string
    	Create .gitignore content for given types
  -list
    	List all defined types
  -search string
    	Show all types match string

Using docker

Using gnouc/gogi image

$ docker pull gnouc/gogi
$ docker run --rm gnouc/gogi -search python
ipythonnotebook
python

Building your own image

Building builder image

docker build -t gogi-builder -f Dockerfile.build .

Building binary image

docker run --rm gogi-builder | docker build -t gogi -f Dockerfile.run -

Environment variables

GOGI_API_URL to change your gitignore server, default to https://www.gitignore.io

Author

Cuong Manh Le [email protected]

License

See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].