{"id":22385280,"url":"https://github.com/acoshift/serve-http","last_synced_at":"2025-10-24T16:32:59.197Z","repository":{"id":73779690,"uuid":"62564032","full_name":"acoshift/serve-http","owner":"acoshift","description":"Very small http service for serve static contents","archived":false,"fork":false,"pushed_at":"2016-10-07T07:17:04.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T02:20:02.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/acoshift.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-04T13:24:55.000Z","updated_at":"2017-05-31T16:34:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"534c4209-c611-43de-9567-89540e3d701b","html_url":"https://github.com/acoshift/serve-http","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/acoshift%2Fserve-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoshift%2Fserve-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoshift%2Fserve-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoshift%2Fserve-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acoshift","download_url":"https://codeload.github.com/acoshift/serve-http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245728874,"owners_count":20662764,"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-12-05T01:22:40.638Z","updated_at":"2025-10-24T16:32:59.137Z","avatar_url":"https://github.com/acoshift.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serve-http\n\nVery small http service for serve static contents.\n\n## Usage\n\n```bash\n$ serve-http --help\nNAME:\n   serve-http - a very small http service for serve static contents\n\nUSAGE:\n   serve-http [--fallback] [--index=index.html] [--dir=www] [--port=80] [--script] [--key=APIKEY]\n\nVERSION:\n   1.0.0\n\nAUTHOR(S):\n   Thanatat Tamtan \u003cacoshift@gmail.com\u003e\n\nCOMMANDS:\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --fallback     enable to serve index file if current file not found\n   --index value  (default: \"index.html\")\n   --dir value    (default: \"www\")\n   --port value   (default: 80)\n   --script       enable to run .sh as script\n   --key value    authenticate key ?key=\n   --help, -h     show help\n   --version, -v  print the version\n```\n\n- Build\n\n```Dockerfile\nFROM docker.io/acoshift/serve-http\nCOPY public /www\n```\n\n```sh\ndocker build -t my-project .\n```\n\n- Run\n\n```sh\ndocker run -p 8080:80 -d my-project\n```\n\nor add config\n\n```sh\ndocker run -p 8080:80 -d my-project --fallback --index=index.html --dir=www\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facoshift%2Fserve-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facoshift%2Fserve-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facoshift%2Fserve-http/lists"}