{"id":16874932,"url":"https://github.com/dlsniper/webinar","last_synced_at":"2025-04-11T11:32:04.125Z","repository":{"id":139033956,"uuid":"93782621","full_name":"dlsniper/webinar","owner":"dlsniper","description":"tech demo repo","archived":false,"fork":false,"pushed_at":"2018-12-14T15:36:05.000Z","size":6852,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T07:51:10.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dlsniper.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":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-08T19:02:24.000Z","updated_at":"2018-12-14T15:30:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"aae4e273-7e53-4639-8889-3ac24efc4c6c","html_url":"https://github.com/dlsniper/webinar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlsniper%2Fwebinar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlsniper%2Fwebinar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlsniper%2Fwebinar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlsniper%2Fwebinar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlsniper","download_url":"https://codeload.github.com/dlsniper/webinar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248383942,"owners_count":21094638,"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","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-10-13T15:34:41.023Z","updated_at":"2025-04-11T11:32:04.113Z","avatar_url":"https://github.com/dlsniper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Webinar\r\n\r\nThis project is just a tech demo for debugging Go apps using Gogland and containers.\r\n\r\n### Requirements\r\n\r\nThis needs Docker 17.05 or newer in order to support multi-stage building. For more information\r\nplease see the manual: https://docs.docker.com/engine/userguide/eng-image/multistage-build/\r\n\r\n### Usage\r\n\r\n#### Building\r\n\r\nTo build the container use:\r\n```bash\r\ndocker build -t webinar:debug \r\n```\r\n\r\n#### Docker \u003c 17.05\r\n\r\nIf a newer version of Docker is not available, you can still use ` container-debug-old.sh `.\r\n\r\n\r\n#### Running\r\n\r\n##### Container\r\n\r\nTo run the container use:\r\n\r\n```bash\r\ndocker run --rm \\\r\n    --name=webinar-debug \\\r\n    -p 8000:8000 \\\r\n    -p 40000:40000 \\\r\n    --security-opt=\"apparmor=unconfined\" \\\r\n    --cap-add=SYS_PTRACE\r\n    webinar:debug\r\n```\r\n\r\n##### Debugger\r\n\r\n```bash\r\ndlv --api-version=2 connect localhost:40000\r\n```\r\n\r\n### What does it do?\r\n\r\nThis builds a Go binary then it adds Delve to a Docker container and runs them both using:\r\n \r\n ```bash\r\n/dlv --listen=:40000 --headless=true --api-version=2 exec /webinar\r\n```\r\n\r\n### License\r\n\r\nThis project is under Apache 2.0 license, please see the LICENSE file.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlsniper%2Fwebinar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlsniper%2Fwebinar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlsniper%2Fwebinar/lists"}