{"id":31853553,"url":"https://github.com/lrwx00t/golive","last_synced_at":"2025-10-12T13:30:04.938Z","repository":{"id":68485543,"uuid":"604311443","full_name":"lrwx00t/golive","owner":"lrwx00t","description":"Real-time Go development","archived":false,"fork":false,"pushed_at":"2023-02-21T19:56:36.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T17:05:07.783Z","etag":null,"topics":["cli","go","golang","golive"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lrwx00t.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-20T19:40:15.000Z","updated_at":"2023-02-20T22:53:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fadddfe-ba48-4371-b0d0-d66f602acaed","html_url":"https://github.com/lrwx00t/golive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lrwx00t/golive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fgolive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fgolive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fgolive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fgolive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lrwx00t","download_url":"https://codeload.github.com/lrwx00t/golive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrwx00t%2Fgolive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011444,"owners_count":26084947,"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-12T02:00:06.719Z","response_time":53,"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","go","golang","golive"],"created_at":"2025-10-12T13:30:03.754Z","updated_at":"2025-10-12T13:30:04.911Z","avatar_url":"https://github.com/lrwx00t.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golive\n\n`golive` is a tool for real-time Go development, allowing you to watch changes in your `go` code execution as you make them. It automatically runs your code as you work and keeps everything in sync. It currently provides limited support to `go run` only for short and long running processes. So `golive` would be able to handle even processes that don't complete or its completion is unknown e.g. web servers, background jobs or network services.\n\nWhenever a change is detected in the directory, such as an updated or newly added file, the code will be executed automatically. If the execution is successful, the output will be displayed in green, otherwise any errors that occurred will be displayed in red. In all cases, *`golive` is expected to continue running indefinitely until manually terminated* by issuing a `SIGINT` signal e.g. `Ctrl + C`.\n\n### short-running process\n\n\u003cimg width=\"943\" alt=\"image\" src=\"https://user-images.githubusercontent.com/96939525/220201310-2a88c9f3-3377-4efd-b483-abf8cd890b4d.png\"\u003e\n\n### long-running process\n\n\u003cimg width=\"856\" alt=\"image\" src=\"https://user-images.githubusercontent.com/96939525/220444888-ab3e0d79-7e61-4f82-ac90-3b6f342ef07f.png\"\u003e\n\n## Future Note\n\n`go run` should be replaced in the future by using `go build` and binary run to capture the actual `pid` of the process. At this time, `golive` uses a hack to filter out processes and kill any process that matches the `go run` process execution except the parent process (`golive` itself in this case). \n\n## Install\n\n```bash\ngo install github.com/lrwx00t/golive\n```\n\n## Example\n\n```bash\ngolive --path ~/src/go-dev/playground/demo\n2023/02/20 16:25:36 golive started 👀..\n\n# without any arguments, it defaults to current path\ngolive\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrwx00t%2Fgolive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flrwx00t%2Fgolive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrwx00t%2Fgolive/lists"}