{"id":13563946,"url":"https://github.com/groovili/go-wagen","last_synced_at":"2026-03-06T09:03:02.570Z","repository":{"id":57608103,"uuid":"263654304","full_name":"groovili/go-wagen","owner":"groovili","description":"Single binary web application generator for Go","archived":false,"fork":false,"pushed_at":"2020-05-28T18:28:46.000Z","size":38,"stargazers_count":33,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T01:41:26.370Z","etag":null,"topics":["app-template","boilerplate","generator","go","go-tool","golang","project-boilerplate","project-template","tool","webapp"],"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/groovili.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}},"created_at":"2020-05-13T14:30:53.000Z","updated_at":"2023-08-13T11:06:37.000Z","dependencies_parsed_at":"2022-09-03T06:30:23.780Z","dependency_job_id":null,"html_url":"https://github.com/groovili/go-wagen","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/groovili/go-wagen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groovili%2Fgo-wagen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groovili%2Fgo-wagen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groovili%2Fgo-wagen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groovili%2Fgo-wagen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/groovili","download_url":"https://codeload.github.com/groovili/go-wagen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groovili%2Fgo-wagen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30168608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"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":["app-template","boilerplate","generator","go","go-tool","golang","project-boilerplate","project-template","tool","webapp"],"created_at":"2024-08-01T13:01:24.855Z","updated_at":"2026-03-06T09:03:02.526Z","avatar_url":"https://github.com/groovili.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# go-wagen\n[![Go Report Card](https://goreportcard.com/badge/github.com/groovili/go-wagen)](https://goreportcard.com/report/github.com/groovili/go-wagen)\n\nSingle binary **web application generator** for Go. \n\n**Creates boilerplate** and does routine on a project start.\n\nLess than in a minute you've got simple, clean and dockerized app:\n\n[![asciicast](https://asciinema.org/a/334826.svg)](https://asciinema.org/a/334826)\n\n#### Generates:\n * project layout, according to community best practices\n * Makefile for wrapping project related routines \n * Dockerfile and docker-compose for local development\n * containers for code, tests and [golangci-lint](https://github.com/golangci/golangci-lint)\n * configuration management with [viper](https://github.com/spf13/viper)\n * logging with [logrus](http://github.com/sirupsen/logrus) or [zap](https://github.com/uber-go/zap)\n * routing with [gorilla/mux](https://github.com/gorilla/mux) or [chi](github.com/go-chi/chi)\n * default health check, http handler and logger middleware\n \n **go-wagen is a starter pack** for typical web application in Golang. \n \n It doesn't aim to generalize the whole project workflow, push framework, or architecture.\n Consists of framework-agnostic components that are very common.\n \n All contributions, issues, requests or feedback are warmly welcome.\n \n ## Installation\n \n Install pre-built binary on [releases page](https://github.com/groovili/go-wagen/releases):\n \n 1. `curl -LJO https://github.com/groovili/go-wagen/releases/download/v1.0.0/go-wagen-osx.tar.gz`\n 2. `tar -f go-wagen-osx.tar.gz -x`\n \n or build from source code:\n \n 1. `git clone https://github.com/groovili/go-wagen \u0026\u0026 cd go-wagen`\n 2. `make install` - will install [packr](https://github.com/gobuffalo/packr) to wrap templates to binary\n 3. `make build`\n \n Binary doesn't need to be in `$GOPATH` and works without any dependencies.\n \n ## Usage\n \n 1. `./go-wagen --path=/absoule/path/to/project` and select dependencies\n 2. `cd /absoule/path/to/project`\n 3. `go mod vendor`\n 4. `make run` - will build and run container with code\n 5. `make test` - to run container with tests\n 6. `make lint` - to run linter for source code\n \n #### Structure\n \n Application generated with **go-wagen** will have following structure:\n ```\n ├── Makefile\n ├── cmd\n │   └── example\n │       └── example.go - app entrypoint\n ├── config - config presets for each env of default pipline\n │   ├── app.dev.yml\n │   ├── app.local.yml\n │   └── app.yml\n ├── deploy\n │   ├── Dockerfile\n │   └── docker-compose.yml\n ├── go.mod\n ├── internal - for shared internal tools\n ├── server\n │   ├── handlers\n │   │   ├── hello.go\n │   │   └── ping.go\n │   └── middleware\n │       └── log.go\n ├── storage - db/storages\n └── vendor - downloaded modules\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroovili%2Fgo-wagen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgroovili%2Fgo-wagen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroovili%2Fgo-wagen/lists"}