{"id":15412610,"url":"https://github.com/alexendoo/serve","last_synced_at":"2025-07-22T22:05:23.570Z","repository":{"id":57599458,"uuid":"65051459","full_name":"Alexendoo/Serve","owner":"Alexendoo","description":"HTTP development server for files spanning multiple directories","archived":false,"fork":false,"pushed_at":"2017-11-20T18:07:42.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T12:38:29.464Z","etag":null,"topics":["cli","development","http","server"],"latest_commit_sha":null,"homepage":"https://git.io/serve","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/Alexendoo.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}},"created_at":"2016-08-05T21:54:55.000Z","updated_at":"2022-07-23T07:59:25.000Z","dependencies_parsed_at":"2022-09-18T09:04:09.240Z","dependency_job_id":null,"html_url":"https://github.com/Alexendoo/Serve","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Alexendoo/Serve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexendoo%2FServe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexendoo%2FServe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexendoo%2FServe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexendoo%2FServe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alexendoo","download_url":"https://codeload.github.com/Alexendoo/Serve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexendoo%2FServe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580359,"owners_count":23951207,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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","development","http","server"],"created_at":"2024-10-01T16:53:51.768Z","updated_at":"2025-07-22T22:05:23.551Z","avatar_url":"https://github.com/Alexendoo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"HTTP server for development - serve several specified directories\nsimulataniously\n\n## Install\n\n```\ngo get github.com/Alexendoo/Serve\n```\n\n[Or download a binary](https://github.com/Alexendoo/serve/releases)\n\n## Usage\n\n```\nUSAGE:\n   serve [OPTION]... [DIR]...\n\nOPTIONS:\n       --host     --  bind to host (default: localhost)\n   -i, --index    --  serve all paths to index if file not found\n       --no-list  --  disable directory listings\n   -p, --port     --  bind to port (default: 8080)\n   -v, --verbose  --  display requests and responses\n```\n\n\n## Examples\n\nServe files from the current directory\n\n```\nserve\n```\n\n----\n\nUtilise npm packages without having to type `../node_modules`\n\n```\nserve client node_modules\n```\n\n```ANTLR\nclient/\n  index.html\nnode_modules/\n  whatwg-fetch/\n    fetch.js\n```\n\n```html\n\u003c!-- in client/index.html --\u003e\n\u003cscript src=\"whatwg-fetch/fetch.js\"\u003e\n```\n\n---\n\nUse a specified file for any non matching requests, for instance for HTML5 routing\n\n```\nserve -i index.html\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexendoo%2Fserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexendoo%2Fserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexendoo%2Fserve/lists"}