{"id":25043227,"url":"https://github.com/yus-ham/bunx-zerv","last_synced_at":"2026-04-30T10:04:22.189Z","repository":{"id":274024567,"uuid":"921640265","full_name":"yus-ham/bunx-zerv","owner":"yus-ham","description":"Bun HTTP server with Nginx style configurations","archived":false,"fork":false,"pushed_at":"2026-04-30T08:35:57.000Z","size":134,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-30T09:08:07.706Z","etag":null,"topics":["bun-http","bun-server","http-server","nginx","reverse-proxy","zerv"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/yus-ham.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-24T10:30:57.000Z","updated_at":"2026-04-30T08:35:41.000Z","dependencies_parsed_at":"2026-04-30T09:03:57.088Z","dependency_job_id":null,"html_url":"https://github.com/yus-ham/bunx-zerv","commit_stats":null,"previous_names":["yus-ham/bun-gateway","yus-ham/bunx-zerv"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/yus-ham/bunx-zerv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yus-ham%2Fbunx-zerv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yus-ham%2Fbunx-zerv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yus-ham%2Fbunx-zerv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yus-ham%2Fbunx-zerv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yus-ham","download_url":"https://codeload.github.com/yus-ham/bunx-zerv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yus-ham%2Fbunx-zerv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["bun-http","bun-server","http-server","nginx","reverse-proxy","zerv"],"created_at":"2025-02-06T04:53:10.634Z","updated_at":"2026-04-30T10:04:22.184Z","avatar_url":"https://github.com/yus-ham.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zerv\r\nBun HTTP server with Nginx style configurations\r\n\r\n## Installation\r\n`bun add -g zerv`\r\n\r\n## Usage\r\nSimply run `zerv` or `bunx zerv` if you want to skip installation process, this will start serving current directory to port 3000 of all available network interfaces (`0.0.0.0`).\r\n\r\nTry opening http://localhost:3000 in your browser.\r\n\r\n`zerv [[\u003chostname\u003e:]\u003cport\u003e] [\u003cdirectory\u003e] [...options]`\r\n```\r\nArguments:\r\n  hostname       Host name to be listen on, defaults to 0.0.0.0\r\n  port           Port to be listen on, defaults to 3000\r\n  directory      Root directory to be served, defaults to current working directory\r\n\r\nOptions:\r\n  --spa                  Enable SPA mode\r\n  --cors                 Enable CORS mode\r\n  --watch \u003cpattern\u003e      Watch directory or glob pattern for changes\r\n  --watch-exe \u003cscript\u003e   Script to execute on change\r\n  -c, --config \u003cfile\u003e    Use config file\r\n  -s, --save             Clone default config and save into config file if does not exist\r\n```\r\n\r\n### Watcher Mode\r\nZerv includes a powerful file watcher that can trigger commands on changes.\r\n\r\n**Watch files and run a command:**\r\n`zerv --watch \"src/*.ts\" --watch-exe \"bun run build\"`\r\n\r\n**Watcher-only mode:**\r\nIf you provide watch flags without a port or directory, Zerv will run in watcher-only mode (no HTTP server started).\r\n`zerv --watch . --watch-exe \"echo File changed!\"`\r\n\r\n**Watching non-existent execution targets:**\r\nIf the file you are watching is also the execution target (e.g., watching a binary you are compiling), Zerv will gracefully watch the parent directory until the target is created.\r\n`zerv --watch ./bin/app.exe --watch-exe ./bin/app.exe`\r\n\r\nAll arguments are optional but for complex configuration, you can use custom config file instead.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyus-ham%2Fbunx-zerv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyus-ham%2Fbunx-zerv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyus-ham%2Fbunx-zerv/lists"}