{"id":44459253,"url":"https://github.com/sandeepraju/serve","last_synced_at":"2026-02-12T18:33:16.891Z","repository":{"id":57621372,"uuid":"92668704","full_name":"sandeepraju/serve","owner":"sandeepraju","description":"A very simple HTTP server to serve static files in a directory. Run 'serve' to start serving files!","archived":false,"fork":false,"pushed_at":"2018-03-31T08:45:15.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T09:23:16.118Z","etag":null,"topics":["cli","command-line-tool","developer-tools","fileserver","golang","server"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sandeepraju.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":"2017-05-28T15:11:17.000Z","updated_at":"2019-06-23T01:45:51.000Z","dependencies_parsed_at":"2022-09-19T09:30:23.818Z","dependency_job_id":null,"html_url":"https://github.com/sandeepraju/serve","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sandeepraju/serve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepraju%2Fserve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepraju%2Fserve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepraju%2Fserve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepraju%2Fserve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandeepraju","download_url":"https://codeload.github.com/sandeepraju/serve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandeepraju%2Fserve/sbom","scorecard":{"id":798970,"data":{"date":"2025-08-11","repo":{"name":"github.com/sandeepraju/serve","commit":"4daf6c96e78d7191a7d922f3e30a144d7c845299"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.1 not signed: https://api.github.com/repos/sandeepraju/serve/releases/9148437","Warn: release artifact v0.0.1 does not have provenance: https://api.github.com/repos/sandeepraju/serve/releases/9148437"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T09:52:11.134Z","repository_id":57621372,"created_at":"2025-08-23T09:52:11.135Z","updated_at":"2025-08-23T09:52:11.135Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29376923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T18:17:34.915Z","status":"ssl_error","status_checked_at":"2026-02-12T18:17:34.495Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","command-line-tool","developer-tools","fileserver","golang","server"],"created_at":"2026-02-12T18:33:13.193Z","updated_at":"2026-02-12T18:33:16.877Z","avatar_url":"https://github.com/sandeepraju.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serve\n\n__Serve__ is a simple HTTP server for serving static files.\n\n## Installing from Homebrew\n\n```\nbrew tap sandeepraju/packages\nbrew install serve\n```\n\n## Installing from source code\n\n```\ngo get github.com/sandeepraju/serve\n```\n\n## Download the latest release\n\n- [Linux x64](https://github.com/sandeepraju/serve/files/1864892/serve-linux_x64.zip)\n- [MacOS x64](https://github.com/sandeepraju/serve/files/1864893/serve-macos_x64.zip)\n\n## Usage\n\n```\nNAME:\n   serve\n\nUSAGE:\n   serve [global options] command [command options] [arguments...]\n\nVERSION:\n   0.0.2\n\nDESCRIPTION:\n   A simple HTTP server for serving static files.\n\n   See https://github.com/sandeepraju/serve for more details!\n\nEXAMPLES:\n   * Serve files in the current directory\n\n      serve\n\n   * Serve at port 8000 on 192.168.0.3\n\n      serve -a 192.168.0.3 -p 8000\n\n   * Serve /tmp\n\n      serve -d /tmp\n\nAUTHOR:\n   Sandeep Raju Prabhakar \u003cme@sandeepraju.in\u003e\n\nCOMMANDS:\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --directory value, --dir value, -d value  The directory to serve (default: \"./\")\n   --address value, -a value                 The IP address or hostname of the interface (default: \"localhost\")\n   --port value, -p value                    The port to listen on (default: 8888)\n   --quiet, -q                               Don't print access logs\n   --help, -h                                show help\n   --version, -v                             print the version\n```\n\n\n## Examples\n\n### Serve files in the current directory\n\n```bash\nserve\n2017/05/27 22:44:54 Serving ./ at http://localhost:8888/\n```\n\n### Serve at port 8000 on 192.168.0.3\n\n```bash\nserve -a 192.168.0.3 -p 8000\n2017/05/27 22:45:52 Serving ./ at http://localhost:8000/\n```\n\n### Serve /tmp\n\n```bash\nserve -d /tmp\n2017/05/27 22:44:54 Serving /tmp at http://localhost:8888/\n```\n\n## Setting up for development\n\n* Make sure [dep](https://github.com/golang/dep) is installed.\n\n```\ngo get -u github.com/golang/dep/cmd/dep\n\nor\n\nbrew install dep\n```\n\n* Clone this repository\n\n```\ngit clone https://github.com/sandeepraju/serve.git\n```\n\n* Install dependencies\n\n```\nmake init\n```\n\n* Build \u0026 release the project (assuming you are developing on MacOS)\n\n```\nmake clean build_macos build_linux release_macos release_linux\n```\n\nYou'll find a binary (symlink) with the name `serve` in the current working directory.\n\n* Run the binary\n\n```\n./serve --help\n```\n\n## License\n\n```\nBSD 3-Clause License\n\nCopyright (c) 2018, Sandeep Raju Prabhakar\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandeepraju%2Fserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandeepraju%2Fserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandeepraju%2Fserve/lists"}