{"id":23141987,"url":"https://github.com/gdamjan/http-server-rs","last_synced_at":"2025-08-17T13:32:08.784Z","repository":{"id":34675671,"uuid":"139716789","full_name":"gdamjan/http-server-rs","owner":"gdamjan","description":"Simple http server a bit fancier than `python -m http.server` - in Rust + actix-web","archived":false,"fork":false,"pushed_at":"2025-06-16T21:32:25.000Z","size":183,"stargazers_count":18,"open_issues_count":4,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-16T22:34:16.247Z","etag":null,"topics":["http-server","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/gdamjan.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,"zenodo":null}},"created_at":"2018-07-04T12:05:49.000Z","updated_at":"2025-06-16T21:32:28.000Z","dependencies_parsed_at":"2025-06-16T22:25:28.619Z","dependency_job_id":"b2b2f896-9dbd-4e4a-b0f8-a510fa539d08","html_url":"https://github.com/gdamjan/http-server-rs","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/gdamjan/http-server-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamjan%2Fhttp-server-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamjan%2Fhttp-server-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamjan%2Fhttp-server-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamjan%2Fhttp-server-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdamjan","download_url":"https://codeload.github.com/gdamjan/http-server-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdamjan%2Fhttp-server-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856561,"owners_count":24657688,"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-08-17T02:00:09.016Z","response_time":129,"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":["http-server","rust"],"created_at":"2024-12-17T14:15:59.082Z","updated_at":"2025-08-17T13:32:08.471Z","avatar_url":"https://github.com/gdamjan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/gdamjan/http-server-rs/workflows/build%20test%20lint/badge.svg)](https://github.com/gdamjan/http-server-rs/actions/)\n\nA simple http server like `python -m http.server` but:\n\n* written in rust with actix, should be faster\n* allow concurrency\n* download whole directories in .tar format\n* fancier directory listing\n* maybe announce itself on mDNS (avahi)\n\n```\nUSAGE:\n    http-server [OPTIONS] [PORT]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n        --bind \u003cADDRESS\u003e       Specify alternate bind address [default: 0.0.0.0]\n        --chdir \u003cDIRECTORY\u003e    Specify directory to server [default: .]\n\nARGS:\n    \u003cPORT\u003e    Specify alternate port [default: 8000]\n```\n\n## FAQ\n\n* Q: why .tar and not .zip? A: ~you can't stream a zip file efficiently, it needs to seek and write to the beggining of a file.~ will see.\n\n\n## Release builds\n```\ncargo build --release\nstrip --strip-unneeded ./target/release/http-server\n```\n\n## See also:\n\n* https://github.com/svenstaro/miniserve\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdamjan%2Fhttp-server-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdamjan%2Fhttp-server-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdamjan%2Fhttp-server-rs/lists"}