{"id":37133985,"url":"https://github.com/tmichel/devserver","last_synced_at":"2026-01-14T15:38:03.271Z","repository":{"id":259621041,"uuid":"870883100","full_name":"tmichel/devserver","owner":"tmichel","description":"A dev server for web development","archived":false,"fork":false,"pushed_at":"2025-07-13T10:06:22.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T12:25:35.370Z","etag":null,"topics":["devserver","hotreload","livereload"],"latest_commit_sha":null,"homepage":"","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/tmichel.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":"2024-10-10T20:55:41.000Z","updated_at":"2025-07-13T10:06:25.000Z","dependencies_parsed_at":"2024-10-26T23:29:15.200Z","dependency_job_id":"0a2e65c8-ccec-4446-9fd5-f364020f0a18","html_url":"https://github.com/tmichel/devserver","commit_stats":null,"previous_names":["tmichel/devserver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmichel/devserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmichel%2Fdevserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmichel%2Fdevserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmichel%2Fdevserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmichel%2Fdevserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmichel","download_url":"https://codeload.github.com/tmichel/devserver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmichel%2Fdevserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"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":["devserver","hotreload","livereload"],"created_at":"2026-01-14T15:38:02.541Z","updated_at":"2026-01-14T15:38:03.255Z","avatar_url":"https://github.com/tmichel.png","language":"Go","readme":"# devserver\n\ndevserver is a reverse proxy and build server for web applications.\n\n## Features\n\n* Rebuild and restart when you hit Enter.\n* Live reload on restarts and file changes\n* Hot-reloading for CSS files: CSS files used via a `\u003clink\u003e` tag are updated in\n  place without reloading the page.\n\n## Installation\n\n    go install github.com/tmichel/devserver@latest\n\nUnder the hood `devserver` uses [fswatch][1] for monitoring file changes.\n\nTo install fswatch on macOS run the following\n\n    brew install fswatch\n\nDetailed install instructions can be found in [fswatch's README][2].\n\n## Usage\n\nFor details run\n\n    devserver -h\n\n### Example\n\n    cd /path/to/your/project\n    devserver \\\n        -build-cmd \"go build -o bin/my-app\"  \\\n        -web-root $PWD/files \\\n        \"bin/my-app -addr {}\"\n    # visit http://localhost:8080\n\n`serverCmd` defines the command for starting the server. Use `{}` as a\nplaceholder for the host and port. It is passed in the format of `host:port`.\n`{port}` and `{host}` can also be used as placeholders.\n\n`-build-cmd` defines the build command. Defaults to `make`. Set it to an empty\nstring to skip the build.\n\n`-web-root` sets the root directory for files served by your web server. It is\nused to compute absolute URLs for files. For example when `-web-root\n/path/to/web-root` is set the file located at `/path/to/web-root/css/style.css`\nwill be reported as `/css/style.css`. This allows hot reloading CSS files.\n\n### Example: using `go run`\n\nSometimes building and running are not separate. For example when using `go\nrun` to build and execute your program there is no separate build step. In\nthese situations you can specify `-build-cmd=\"\"` to skip the build.\n\n    cd /path/to/your/project\n    devserver \\\n        -build-cmd \"\" \\\n        -web-root $PWD/files \\\n        \"go run . -addr {}\"\n    # visit http://localhost:8080\n\n[1]: https://github.com/emcrisostomo/fswatch\n[2]: https://github.com/emcrisostomo/fswatch#installation\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmichel%2Fdevserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmichel%2Fdevserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmichel%2Fdevserver/lists"}