{"id":26053408,"url":"https://github.com/koonix/go-livereload","last_synced_at":"2025-08-20T04:08:11.978Z","repository":{"id":280645266,"uuid":"940897812","full_name":"koonix/go-livereload","owner":"koonix","description":"Go library that adds live reloading capability to any http handler.","archived":false,"fork":false,"pushed_at":"2025-04-23T11:27:36.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T13:03:14.591Z","etag":null,"topics":["development-server","go","hot-reload","hotreload","live-reload","livereload"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/koonix/go-livereload","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/koonix.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,"zenodo":null}},"created_at":"2025-03-01T02:31:40.000Z","updated_at":"2025-04-23T11:23:06.000Z","dependencies_parsed_at":"2025-03-04T15:25:40.890Z","dependency_job_id":"0d98a5fa-0b2c-48c1-933d-96c02b8b484c","html_url":"https://github.com/koonix/go-livereload","commit_stats":null,"previous_names":["koonix/go-livereload"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/koonix/go-livereload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fgo-livereload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fgo-livereload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fgo-livereload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fgo-livereload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koonix","download_url":"https://codeload.github.com/koonix/go-livereload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koonix%2Fgo-livereload/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265816191,"owners_count":23833095,"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":["development-server","go","hot-reload","hotreload","live-reload","livereload"],"created_at":"2025-03-08T07:28:22.081Z","updated_at":"2025-07-18T19:07:44.499Z","avatar_url":"https://github.com/koonix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-livereload\n\ngo-livereload is a Go library\nthat adds live reloading capability\nto any http handler.\n\n## Usage\n\nImport:\n\n```go\npackage main\n\nimport \"github.com/koonix/go-livereload\"\n```\n\nServe a directory:\n\n```go\nupstream := http.FileServer(http.Dir(\"frontend\"))\nlr := livereload.New(upstream)\nhttp.ListenAndServe(\":8090\", lr)\n```\n\nProxy another webserver:\n\n```go\nu, _ := url.Parse(\"http://localhost:8080\")\nupstream := livereload.ReverseProxy(u)\nlr := livereload.New(upstream)\nhttp.ListenAndServe(\":8090\", lr)\n```\n\nReload the webpages open in browsers:\n\n```go\nlr.Reload()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoonix%2Fgo-livereload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoonix%2Fgo-livereload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoonix%2Fgo-livereload/lists"}