{"id":15187348,"url":"https://github.com/mukezhz/geng","last_synced_at":"2025-10-19T17:17:09.532Z","repository":{"id":209181381,"uuid":"718597874","full_name":"mukezhz/geng","owner":"mukezhz","description":"Generate Golang Project CLI","archived":false,"fork":false,"pushed_at":"2024-07-19T06:29:13.000Z","size":440,"stargazers_count":55,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-07T20:50:07.786Z","etag":null,"topics":["cli","generator","gin","go","golang","golang-generator","project"],"latest_commit_sha":null,"homepage":"https://mukezhz.github.io/geng","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/mukezhz.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":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-14T12:20:10.000Z","updated_at":"2025-02-21T17:34:01.000Z","dependencies_parsed_at":"2023-12-07T16:29:05.050Z","dependency_job_id":"2d3eb184-141f-42d6-ab31-ca1bf1c0365f","html_url":"https://github.com/mukezhz/geng","commit_stats":null,"previous_names":["mukezhz/geng"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/mukezhz/geng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukezhz%2Fgeng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukezhz%2Fgeng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukezhz%2Fgeng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukezhz%2Fgeng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mukezhz","download_url":"https://codeload.github.com/mukezhz/geng/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukezhz%2Fgeng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378680,"owners_count":24749192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","generator","gin","go","golang","golang-generator","project"],"created_at":"2024-09-27T18:20:24.385Z","updated_at":"2025-10-19T17:17:09.427Z","avatar_url":"https://github.com/mukezhz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geng Documentation [WIP]\n\nFullform: `Gen`erate `G`olang Project\n\n## Introduction\n- Inspired by Nest CLI `geng` is command-line interface tool that helps you to initialize, develop, and maintain your Go gin applications\n- By default it will generate the clean code architecture of [wesionaryTEAM](https://github.com/wesionaryTEAM/go_clean_architecture)\n\n## Installation\n- Pre-requisite: You need to install the golang in your system: [golang installation](https://go.dev/doc/install)\n```zsh\ngo install github.com/mukezhz/geng@latest\n```\n\n**Alternative Install**\n- Download and execute binary by downloading from [assets](https://github.com/mukezhz/geng/releases)\n\n**Add binary dir to your PATH variable [If geng command didn't work after installation]**\n```zsh\n// For zsh: [Open.zshrc] \u0026 For bash: [Open .bashrc]\n// Add the following:\nexport GO_HOME=\"$HOME/go\"\nexport PATH=\"$PATH:$GO_HOME/bin\"\n\n// For fish: [Open config.fish]\n// Add the following:\nfish_add_path -aP $HOME/go/bin\n```\n\n## Basic workflow\n- Get help\n```zsh\ngeng help\n```\n- Create a new project\n```zsh\ngeng new \u003cproject-name\u003e -m \u003cproject-module-name\u003e [-d \u003cdirectory\u003e]\n```\n- Use Interactive to create new project\n```zsh\ngeng new\n```\n- Start project\n```zsh\ncd \u003cdirectory\u003e\ncp .env.example .env\ngo mod tidy\n\ngo run main.go\n```\n- Generate module in already existing project\n```zsh\n// Project needs to initialize git repository to work module generation\ngeng gen module \u003cmodule-name\u003e\n```\n\n**NOTE:** default supported version is of `golang 1.20`\n\n### TODO LIST:\n- [x] generate a new project\n- [x] get project module, project name and directory as command line argument\n- [x] generate a module\n- [x] refactor the code -\u003e make code clean\n- [x] modify the parent features `module.go` when new module is added\n- [x] implement CI for assets build\n- [x] add option to generate constructor of aws, gcp while project generation\n- [ ] allow different template options when building project\n- [ ] generate test case template\n- [ ] generate hexagonal architecture\n- [ ] generate route, controller and dtos from bru file\n\n### Diagrams\n\n\u003cimg width=\"457\" alt=\"image\" src=\"https://github.com/mukezhz/geng/assets/43813670/a0b11d39-e077-4038-852f-7b5b0adb27c8\"\u003e\n\n### Logo\n\n\u003cimg width=\"45\" alt=\"image\" src=\"https://github.com/mukezhz/geng/assets/43813670/da07d8cc-8896-4a13-9b31-099958e65cb4\"\u003e\n\n\n\n**Thank You!!!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukezhz%2Fgeng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukezhz%2Fgeng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukezhz%2Fgeng/lists"}