{"id":18251788,"url":"https://github.com/hiroakis/s","last_synced_at":"2025-04-08T20:46:52.519Z","repository":{"id":145130891,"uuid":"63867426","full_name":"hiroakis/s","owner":"hiroakis","description":"s command runs http server on current dir. sってコマンドでカレントをdocrootとしたhttp鯖が立ち上がる。","archived":false,"fork":false,"pushed_at":"2018-03-12T09:39:04.000Z","size":9362,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T16:39:44.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/hiroakis.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-21T12:27:43.000Z","updated_at":"2016-07-21T12:28:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6ed36a7-1b89-422d-b96c-147c51d0d784","html_url":"https://github.com/hiroakis/s","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/hiroakis%2Fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroakis","download_url":"https://codeload.github.com/hiroakis/s/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927089,"owners_count":21019504,"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":[],"created_at":"2024-11-05T09:48:30.037Z","updated_at":"2025-04-08T20:46:52.496Z","avatar_url":"https://github.com/hiroakis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s\n\n`s` command runs HTTP Server which serves static files on current directory.\n`s` ってコマンドでそのディレクトリを document root としたhttpサーバが立ち上がる\n\n## Installation インストール\n\n```\ngo get github.com/hiroakis/s\n```\n\nor か\n\n```\nwget https://raw.githubusercontent.com/hiroakis/s/master/s_darwin_396\nwget https://raw.githubusercontent.com/hiroakis/s/master/s_linux_386\nwget https://raw.githubusercontent.com/hiroakis/s/master/s_windows_386.exe\n```\n\n## Run 実行\n\nJust run `s`\n\n```\ns\n```\n\n## Option オプション\n\n```\n-h Listen IP address. Default: 0.0.0.0 リスンIP。デフォは\"0.0.0.0\"\n-p Listen Port. Default: 8000 リスンポート。デフォは\"8000\"\n-d The DocumentRoot. Default \".\" ドキュメントルートの指定。デフォは\".\"\n```\n\n## Motivation モチベーション\n\n```\npython -m SimpleHTTPServer\n```\n\nとか\n\n```\npython -m http.server \n```\n\nとか\n\n```\nruby -run -e httpd .\n```\n\nare pain for me and I forget sometime.\nとかやるのすら面倒だったってのが。\n\n## License\n\nMIT \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroakis%2Fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fs/lists"}