Generate .gitignore files for your project
go-gitignore is a web app designed to help you create .gitignore files for your Git repositories written in Go. Inspired by gitignore.io. It's lightweight version of gitignore.io, no jQuery, no Bootstrap, no Swift and no Vapor.
Before you get started make sure you have an up-to-date version of Go and Node, on macOS with Homebrew installed you can run :
$ brew install node
$ brew install go
After that you can run:
$ go get -d github.com/nurlansu/go-gitignore
$ cd $GOPATH/src/github.com/nurlansu/go-gitignore
Now we can install all necessary node
modules :
$ npm install
To build front-end stuff, you should run:
$ npm build
And at the end you can run the app using this command:
$ go run main.go
And that's all. Normally you could see the app running on http://localhost:8080
This app uses httprouter for routing. You can make it work without, by changing 3-4 lines of code, but I like the way httprouter routes request.
The live version can be found on https://go-gitignore.herokuapp.com/
- .gitignore files come from github/gitignore
- main idea and maybe design comes from joeblau/gitignore.io
- autocompletion comes from LeaVerou/awesomplete