{"id":13446817,"url":"https://github.com/moshebe/gebug","last_synced_at":"2025-10-21T04:45:00.277Z","repository":{"id":37071388,"uuid":"281127754","full_name":"moshebe/gebug","owner":"moshebe","description":"Debug Dockerized Go applications better","archived":false,"fork":false,"pushed_at":"2024-04-24T21:11:58.000Z","size":96038,"stargazers_count":633,"open_issues_count":18,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-21T04:44:45.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moshebe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-07-20T13:43:42.000Z","updated_at":"2025-08-29T18:51:07.000Z","dependencies_parsed_at":"2023-02-18T11:04:44.580Z","dependency_job_id":"99b1d38f-9ac6-454a-8573-8d547875b074","html_url":"https://github.com/moshebe/gebug","commit_stats":{"total_commits":372,"total_committers":6,"mean_commits":62.0,"dds":0.1908602150537635,"last_synced_commit":"2609b0d9938b0f41544709b76c05bb85ab99a508"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/moshebe/gebug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshebe%2Fgebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshebe%2Fgebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshebe%2Fgebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshebe%2Fgebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moshebe","download_url":"https://codeload.github.com/moshebe/gebug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshebe%2Fgebug/sbom","scorecard":{"id":660821,"data":{"date":"2025-08-11","repo":{"name":"github.com/moshebe/gebug","commit":"9b21724bdf3a1ef2a1e473fe7e3a82d016f2143c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/lint-test.yml:13","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/webui.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.7 not signed: https://api.github.com/repos/moshebe/gebug/releases/107386262","Warn: release artifact v1.0.4 not signed: https://api.github.com/repos/moshebe/gebug/releases/105864034","Warn: release artifact v1.0.3 not signed: https://api.github.com/repos/moshebe/gebug/releases/72671522","Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/moshebe/gebug/releases/72659030","Warn: release artifact v1.0.7 does not have provenance: https://api.github.com/repos/moshebe/gebug/releases/107386262","Warn: release artifact v1.0.4 does not have provenance: https://api.github.com/repos/moshebe/gebug/releases/105864034","Warn: release artifact v1.0.3 does not have provenance: https://api.github.com/repos/moshebe/gebug/releases/72671522","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/moshebe/gebug/releases/72659030"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/lint-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/lint-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint-test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/lint-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/lint-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/lint-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/lint-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/webui.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/webui.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/webui.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/webui.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/webui.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/webui.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/webui.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/moshebe/gebug/webui.yml/master?enable=pin","Warn: containerImage not pinned by hash: webui/Dockerfile:1: pin your Docker image by updating golang:1.20 to golang:1.20@sha256:8f9af7094d0cb27cc783c697ac5ba25efdc4da35f8526db21f7aebb0b0b4f18a","Warn: downloadThenRun not pinned by hash: webui/Dockerfile:5","Warn: npmCommand not pinned by hash: webui/Dockerfile:7","Warn: npmCommand not pinned by hash: webui/Dockerfile:8","Warn: downloadThenRun not pinned by hash: .github/workflows/lint-test.yml:58","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"45 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2947 / GHSA-v6v8-xj6m-xwqh","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-8hc4-vh64-cxmj","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-vc8w-jr9v-vj7f","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T16:09:33.213Z","repository_id":37071388,"created_at":"2025-08-21T16:09:33.213Z","updated_at":"2025-08-21T16:09:33.213Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280207180,"owners_count":26290616,"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-10-21T02:00:06.614Z","response_time":58,"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":[],"created_at":"2024-07-31T05:01:00.677Z","updated_at":"2025-10-21T04:45:00.245Z","avatar_url":"https://github.com/moshebe.png","language":"Go","readme":"![Alt text](assets/logo.png?raw=true\"Gebug\")\n\nA tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly.  \n\n![](https://github.com/moshebe/gebug/workflows/lint/badge.svg)\n![](https://github.com/moshebe/gebug/workflows/test/badge.svg)\n![](https://github.com/moshebe/gebug/workflows/telegram/badge.svg)\n[![codecov](https://codecov.io/gh/moshebe/gebug/branch/master/graph/badge.svg)](https://codecov.io/gh/moshebe/gebug)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/moshebe/gebug)](https://pkg.go.dev/github.com/moshebe/gebug)\n[![Go Report Card](https://goreportcard.com/badge/github.com/moshebe/gebug)](https://goreportcard.com/report/github.com/moshebe/gebug)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n---\n# Installation\n### [Homebrew](https://brew.sh/) (Linux/macOS)\n```shell\nbrew install gebug\n```\n### [Go](https://golang.org) (Linux/Windows/macOS/any other platform supported by Go)\nIf you have Go 1.16+, you can install latest released version of `gebug` directly from source by running:\n```shell\ngo install github.com/moshebe/gebug@latest\n```\n\n# Usage\n```\n➜ gebug --help\nGebug helps you setup a fully suited debugging environment of Go application running inside a container.\nIt enables options like connecting with remote debugger and breakpoints inside the code or \nuse hot-reload features which auto-build and run upon new change detected on the source code.\n\nUsage:\n  gebug [command]\n\nAvailable Commands:\n  clean       Clean Gebug stack\n  destroy     Destroy the Gebug project\n  help        Help about any command\n  init        Initialize a Gebug project\n  start       Start Gebug services\n  ui          Start Gebug web UI\n  version     Gebug's version\n\nFlags:\n  -h, --help             help for gebug\n  -v, --verbose          enable verbose mode\n  -w, --workdir string   your Go application root directory (default \".\")\n\nUse \"gebug [command] --help\" for more information about a command.\n```\n\n# Demo\n#### Configure workspace for Hot-Reload\n![](assets/demo-hot-reload.gif)\n\n#### Goland Debugger\n![](assets/demo-goland-debugger.gif)\n\n#### Visual Studio Code Debugger\n![](assets/demo-vscode-debugger.gif)\n\n\n\n# How Does It Work\n\nNothing special, no voodoo. Gebug just handles the Dockerfile and docker-compose configuration files generation with a easy-to-use command line utility.    \nYou can find the generated files in your project under `.gebug` directory.  \nWe are all programmers and I know you like to play with your toys, so feel free to edit any of those files in order to fit your use-case. \nJust make sure to run `gebug start --skip-generate` so the next run won't override your changes.\n\nLet's examine the `config.yaml` fields so you will feel more comfortable editing as you wish:\n\n| Field            \t| Default                          \t    | Description                                                                                                                                                                                                                             \t|\n|------------------\t|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\t|\n| name             \t|                                \t    | application/project name                                                                                                                                                                                                                \t|\n| output_binary    \t| /app                           \t    | output binary artifact inside the runtime container                                                                                                                                                                                     \t|\n| build_command    \t| go build -o {{.output_binary}}  \t    | build command inside the runtime container.  Note you can reference other configuration fields. When enabling Debugger `-gcflags=\"all=-N -l\"` will be appended  to the build command to stop compiler optimization and symbol removing \t|\n| run_command      \t| {.output_binary}}              \t    | run command, probably most of the time will just be the binary artifact path                                                                                                                                                            \t|\n| runtime_image    \t| golang:1.20                    \t    | base Docker image for the runtime container                                                                                                                                                                                             \t|\n| debugger_enabled \t| false                            \t    | whether to enable delve debugger inside the container or just use hot-reload                                                                                                                                                            \t|\n| debugger_port    \t| 40000                            \t    | delve debugger listen port, relevant only if `debugger_enabled` was set                                                                                                                                                                 \t|\n| expose_ports     \t| []                               \t    | list of ports to expose inside the container. Uses the same syntax as docker-compose for mapping between host and container ports(e.g: \"8080:8080\"). No need to add the delve debugger listen port as it will be auto-added            \t|\n| networks     \t    | []                               \t    | list of docker external networks to join. if no network is selected, a new one will be created                                                                                                                                            |\n| environment     \t| []                               \t    | list of environment variables to be set inside the container. Syntax: `FOO=BAR` or just `FOO` which will take the variable `FOO` from host and set it with its value                                                                      |\n\n# Web UI\nIf you prefer a web interface over a terminal or YAML file, you can simply run the following command in your Gebug project directory\n```\ngebug ui\n``` \nA simple web application will be opened and let you control the Gebug configuration of your project directly from your browser.  \n\n![](assets/demo-webui.gif)\n \n# License\nGebug is released under the Apache 2.0 license. See LICENSE.\n\n\n\n\n\n\n","funding_links":[],"categories":["Development with Docker","Workflow","Software Packages","Go","软件包","Other Software","Go Tools","Go 工具"],"sub_categories":["Development Environment","Visual Studio Code","Other Software","其他软件","其他软件库和软件包"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoshebe%2Fgebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoshebe%2Fgebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoshebe%2Fgebug/lists"}