{"id":19303499,"url":"https://github.com/matthewcallis/srvr","last_synced_at":"2026-02-28T07:10:21.703Z","repository":{"id":66818638,"uuid":"1625092","full_name":"MatthewCallis/srvr","owner":"MatthewCallis","description":"Start a simple web server from the current directory on a given port.","archived":false,"fork":false,"pushed_at":"2011-04-24T19:40:54.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T02:12:44.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://superfamicom.org/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MatthewCallis.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-17T02:30:13.000Z","updated_at":"2014-04-27T13:20:23.000Z","dependencies_parsed_at":"2023-02-20T12:05:23.000Z","dependency_job_id":null,"html_url":"https://github.com/MatthewCallis/srvr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MatthewCallis/srvr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCallis%2Fsrvr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCallis%2Fsrvr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCallis%2Fsrvr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCallis%2Fsrvr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatthewCallis","download_url":"https://codeload.github.com/MatthewCallis/srvr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCallis%2Fsrvr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29927293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":[],"created_at":"2024-11-09T23:26:35.592Z","updated_at":"2026-02-28T07:10:21.686Z","avatar_url":"https://github.com/MatthewCallis.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"srvr is a simple script to run a web server on a given port from the current directory.\n\nI needed to test a simple template but didn't want to mess with moving it to ~/Sites/ or upload it to my server or put it WEBrick server due to the memory usage, and short of all that I couldn't find a simple solution.\n\nTo install, simply copy the srvr script to /usr/local/bin and chmod 0755 srvr. An example use might be:\n\n    cd ~/Desktop/collections\n    srvr\n    ... coding and testing for a while\n    srvr --kill\n\nFull options are listed below:\n\n    usage: srvr [OPTIONS]\n    \n    options [and defaults] are:\n      -p | --port            the port to run the current server on, port 8000 by default\n      -s | --server          which server to setup, lighttpd is used by default\n      -k | --kill            stops any currently running srvr servers\n                                 lighttpd, nginx, cherokee\n      -i | --install         installs almost everything needed to get a server running\n      -d | --doctor          checks for missing dependencies and other issues\n      -h | --help            shows this help screen\n      -v | --version         shows srvr version\n\nAny help making the configs better would be appreciated, it should be enough to get running; I didn't focus on adding any advanced functionality or support for PHP but it shouldn't be too hard and I may add it in the future.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewcallis%2Fsrvr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewcallis%2Fsrvr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewcallis%2Fsrvr/lists"}