{"id":26454106,"url":"https://github.com/coolapso/go-live-server","last_synced_at":"2026-02-08T04:34:41.700Z","repository":{"id":263154488,"uuid":"889499958","full_name":"coolapso/go-live-server","owner":"coolapso","description":"A Simple development webserver with live reload capabilities written in Go","archived":false,"fork":false,"pushed_at":"2024-11-16T21:43:58.000Z","size":357,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T14:51:10.220Z","etag":null,"topics":["cli","development-tools","web","webserver"],"latest_commit_sha":null,"homepage":"https://coolapso.sh","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/coolapso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"coolapso","buy_me_a_coffee":"coolapso"}},"created_at":"2024-11-16T13:42:55.000Z","updated_at":"2025-03-08T22:47:34.000Z","dependencies_parsed_at":"2024-11-16T16:18:03.096Z","dependency_job_id":"6d363280-23ce-4c28-823c-c9142f9651ab","html_url":"https://github.com/coolapso/go-live-server","commit_stats":null,"previous_names":["coolapso/go-live-server"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/coolapso/go-live-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolapso%2Fgo-live-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolapso%2Fgo-live-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolapso%2Fgo-live-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolapso%2Fgo-live-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolapso","download_url":"https://codeload.github.com/coolapso/go-live-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolapso%2Fgo-live-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29220556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T03:18:47.732Z","status":"ssl_error","status_checked_at":"2026-02-08T03:15:31.985Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","development-tools","web","webserver"],"created_at":"2025-03-18T19:44:28.239Z","updated_at":"2026-02-08T04:34:41.695Z","avatar_url":"https://github.com/coolapso.png","language":"Go","funding_links":["https://github.com/sponsors/coolapso","https://buymeacoffee.com/coolapso","https://www.buymeacoffee.com/coolapso"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/coolapso/go-live-server/blob/main/test/images/goliveserver.png\" width=\"200\" \u003e\n\u003c/p\u003e\n\n# go-live-server\n[![Release](https://github.com/coolapso/go-live-server/actions/workflows/release.yaml/badge.svg?branch=main)](https://github.com/coolapso/go-live-server/actions/workflows/release.yaml)\n[![Docker image version](https://img.shields.io/docker/v/coolapso/go-live-server/latest?logo=docker)](https://hub.docker.com/r/coolapso/go-live-server)\n[![Go Report Card](https://goreportcard.com/badge/github.com/coolapso/go-live-server)](https://goreportcard.com/report/github.com/coolapso/go-live-server)\n![GitHub Sponsors](https://img.shields.io/github/sponsors/coolapso?style=flat\u0026logo=githubsponsors)\n\nGo implementation of [tapio/liveserver](https://github.com/tapio/live-server). A Simple development web server written in go with live reload capabilities\n\n## How it works\n\nThe server functions similarly to [tapio/liveserver](https://github.com/tapio/live-server). It serves a directory and its subdirectories, and establishes a WebSocket connection by injecting a JavaScript snippet into every HTML file it serves. The server monitors changes in the directories it serves, and when changes occur, it sends a message via WebSocket to instruct the browser to reload the page.\n\n## Installation \n\n### Docker\n\nYou can run go-live-server with docker: \n\n```\ndocker run -v $(pwd):/data -p 8080:8080 coolapso/go-live-server:latest\n```\n\nNow you can edit your html files and let go-live-server work its magic from within the docker container\n\n### Go Install\n\n#### Latest version \n\n`go install github.com/coolapso/go-live-server@latest`\n\n#### Specific version\n\n`go install github.com/coolapso/go-live-server@v1.0.0`\n\n### AUR\n\nOn Arch linux you can use the AUR `go-live-server-bin`\n\n### Linux Script\n\nIt is also possible to install on any linux distro with the installation script\n\n#### Latest version\n\n```\ncurl -L http://live-server.coolapso.sh/install.sh | bash\n```\n\n#### Specific version\n\n```\ncurl -L http://live-server.coolapso.sh/install.sh | VERSION=\"v1.1.0\" bash\n```\n\n### Manual install\n\n* Grab the binary from the [releases page](https://github.com/coolapso/go-live-server/releases).\n* Extract the binary\n* Execute it\n\n## Usage \n\n```\ngo-live-server is a simple development webserver with live reloading capabilityes.\nIt allows you to quickly edit and visualize changes when developing simple html and css files\n\nUsage:\n  live-server [flags]\n  live-server [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  version     Print live-server version\n\nFlags:\n      --browser            Enable or disable automatic opening of the browser (default true)\n  -h, --help               help for live-server\n      --open-file string   Specify the relative path to open the browser in the directory being served\n  -p, --port string        The port server is going to listen on (default \":8080\")\n  -d, --watch-dir string   Sets the directory to watch for (default \"./\")\n\nUse \"live-server [command] --help\" for more information about a command.\n```\n\n## Build \n\n### With makefile\n\n`make build`\n\n### Manually\n\n`go build -o go-live-server`\n\n# Contributions\n\nImprovements and suggestions are always welcome, feel free to check for any open issues, open a new Issue or Pull Request\n\nIf you like this project and want to support / contribute in a different way you can always [:heart: Sponsor Me](https://github.com/sponsors/coolapso) or\n\n\u003ca href=\"https://www.buymeacoffee.com/coolapso\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 51px !important;width: 217px !important;\" /\u003e\n\u003c/a\u003e\n\n\n\nAlso consider supporting [tapio/live-server](https://github.com/tapio/live-server) which inspired this project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolapso%2Fgo-live-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolapso%2Fgo-live-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolapso%2Fgo-live-server/lists"}