{"id":21483420,"url":"https://github.com/martinnowak/serve","last_synced_at":"2026-01-04T03:33:10.304Z","repository":{"id":29128046,"uuid":"32657890","full_name":"MartinNowak/serve","owner":"MartinNowak","description":"A simple HTTP server for static files.","archived":false,"fork":false,"pushed_at":"2023-07-17T20:26:37.000Z","size":13,"stargazers_count":13,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T00:05:58.572Z","etag":null,"topics":["d","static-server","vibe-d"],"latest_commit_sha":null,"homepage":null,"language":"D","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/MartinNowak.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":"2015-03-22T01:54:54.000Z","updated_at":"2022-09-04T23:17:45.000Z","dependencies_parsed_at":"2022-07-17T05:16:00.916Z","dependency_job_id":null,"html_url":"https://github.com/MartinNowak/serve","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fserve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fserve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fserve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fserve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinNowak","download_url":"https://codeload.github.com/MartinNowak/serve/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006303,"owners_count":20382444,"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":["d","static-server","vibe-d"],"created_at":"2024-11-23T12:47:22.740Z","updated_at":"2026-01-04T03:33:10.255Z","avatar_url":"https://github.com/MartinNowak.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serve [![Dub](https://img.shields.io/dub/v/serve.svg)](http://code.dlang.org/packages/serve) ![Uses vibe.d](https://img.shields.io/badge/uses-vibe.d-brightgreen.svg)\nA simple HTTP server for static files.\n\n### Installation\n\nYou can simply use dub to run the tool.\n\n```sh\ndub fetch serve\ndub run serve\ndub run serve -- [ARGS]\n```\n\nOr you build the tool and copy/symlink it into your path.\n\n```sh\ndub fetch serve\ndub build serve\nsudo mv ~/.dub/packages/serve-1.0.0/serve /usr/local/bin/\n```\n\n### Usage\n\n- serve the current working directory\n\n    ```sh\n    serve\n    ```\n\n- serve an html file with it's containing folder and open it in your browser\n\n    ```sh\n    serve path/to/index.html\n    ```\n\n- serve a folder\n\n    ```sh\n    serve path/to/folder\n    ```\n\n- use a different port than 8080 (`-p|--port`)\n\n    ```sh\n    serve -p 1234\n    ```\n\n- bind a different IP address than 127.0.0.1 using (`-b|--bind`)\n\n    ```sh\n    serve -b 127.0.0.1\n    ```\n\n- run `-h|--help` to see all options\n\n    ```sh\n    serve -h\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinnowak%2Fserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinnowak%2Fserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinnowak%2Fserve/lists"}