{"id":20430753,"url":"https://github.com/jaguar-dart/serve","last_synced_at":"2025-04-12T20:33:41.624Z","repository":{"id":56838860,"uuid":"117580227","full_name":"Jaguar-dart/serve","owner":"Jaguar-dart","description":"Serves static files in a directory","archived":false,"fork":false,"pushed_at":"2021-05-24T07:06:41.000Z","size":11,"stargazers_count":11,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T14:50:27.037Z","etag":null,"topics":["authentication","basic-authentication","cli","https","logging","serve-files","simplehttpserver","static-server","static-website","stats","throttle"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jaguar-dart.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-01-15T18:23:57.000Z","updated_at":"2022-05-05T15:04:47.000Z","dependencies_parsed_at":"2022-08-28T23:12:12.927Z","dependency_job_id":null,"html_url":"https://github.com/Jaguar-dart/serve","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaguar-dart%2Fserve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaguar-dart%2Fserve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaguar-dart%2Fserve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaguar-dart%2Fserve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaguar-dart","download_url":"https://codeload.github.com/Jaguar-dart/serve/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248630799,"owners_count":21136509,"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":["authentication","basic-authentication","cli","https","logging","serve-files","simplehttpserver","static-server","static-website","stats","throttle"],"created_at":"2024-11-15T08:08:51.609Z","updated_at":"2025-04-12T20:33:41.577Z","avatar_url":"https://github.com/Jaguar-dart.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serve\n\nCLI to serves static files in a directory. Simpler to Python's `python -m SimpleHTTPServer`.\n\n# Installing\n\n```bash\npub global activate serve\n```\n\n# Serve files in current directory\n\n```bash\nserve\n```\n\nThis command by default serves content of current directory on port `8080` and host `0.0.0.0`.\n\n# Configure host and port\n\nUse `--host` (abbreviation `-H`) and `--port` (abbreviation `-p`) to serve on a desired host and port.\n\n```bash\nserve -h localhost -p 8081\n```\n\n# Serve content of specific directory\n\nUse `--dir` (abbreviated as `-d`) to serve contents of a desired directory.\n\n```bash\nserve -d /home/myname/mysite\n```\n\n# Serve at a given base path\n\nUse `--base-path` (abbreviated as `-b`) to serve contents with desired base path.\n\n```bash\nserve -b /myblog\n```\n\n# More features to come!\n\n+ [ ] Support CORS\n+ [ ] Support reverse proxy","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaguar-dart%2Fserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaguar-dart%2Fserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaguar-dart%2Fserve/lists"}