{"id":15406764,"url":"https://github.com/dannyben/httpme","last_synced_at":"2026-03-10T04:31:01.918Z","repository":{"id":40316409,"uuid":"251363430","full_name":"DannyBen/httpme","owner":"DannyBen","description":"Static files web server with basic authentication","archived":false,"fork":false,"pushed_at":"2024-12-29T04:51:21.000Z","size":55,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T08:17:51.071Z","etag":null,"topics":["static-site","web-server"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/DannyBen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2020-03-30T16:27:44.000Z","updated_at":"2024-12-29T04:51:23.000Z","dependencies_parsed_at":"2024-10-19T12:43:31.486Z","dependency_job_id":null,"html_url":"https://github.com/DannyBen/httpme","commit_stats":{"total_commits":58,"total_committers":1,"mean_commits":58.0,"dds":0.0,"last_synced_commit":"5a5ef06ad01096939603c1685a54f5ffca8ca65d"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fhttpme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fhttpme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fhttpme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fhttpme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DannyBen","download_url":"https://codeload.github.com/DannyBen/httpme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249417128,"owners_count":21268201,"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":["static-site","web-server"],"created_at":"2024-10-01T16:25:17.666Z","updated_at":"2026-03-10T04:31:01.909Z","avatar_url":"https://github.com/DannyBen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# httpme - static web server with basic authentication\n\n![repocard](https://repocard.dannyben.com/svg/httpme.svg)\n\nhttpme is a command line utility for serving static HTMLs and other files\nwith optional basic authentication support.\n\n## Installation\n\n    $ gem install httpme\n\n## Docker\n\nStart the web server and mount the current directory:\n\n```shell\n$ docker run --rm -it -p 3000:3000 -v $PWD:/docroot dannyben/httpme\n```\n\nOr, with basic authentication\n\n```shell\n$ export HTTPME_AUTH=user:password\n$ docker run --rm -it -p 3000:3000 -v $PWD:/docroot \\\n    -e HTTPME_AUTH dannyben/httpme\n```\n\nOr, with docker-compose:\n\n```yaml\nservices:\n  web:\n    image: dannyben/httpme\n    volumes: [\".:/docroot\"]\n    ports: [\"3000:3000\"]\n    environment:\n      HTTPME_AUTH:\n```\n\nSee image on [DockerHub](https://hub.docker.com/r/dannyben/httpme) for\nadditional details.\n\n## Usage\n\n\n```\n$ httpme --help\n\nhttpme - static web server with basic authentication\n\nOptions can be set using command line arguments or environment variables\n\nUsage:\n  httpme [PATH] [--port PORT --host HOST --auth AUTH]\n  httpme (-h|--help)\n\nOptions:\n  -p, --port PORT\n    Server port (default: 3000)\n\n  -o, --host HOST\n    Server host (default: 0.0.0.0)\n\n  -a, --auth AUTH\n    Specify user:password to enable basic authentication\n\n  -h --help\n    Show this help\n\nParameters:\n  PATH\n    Path to the directory you want to serve [default: .]\n\nEnvironment Variables:\n  HTTPME_PATH\n    Same as --path\n\n  HTTPME_AUTH\n    Same as --auth\n\n  HTTPME_PORT\n    Same as --port\n\n  HTTPME_HOST\n    Same as --host\n\nExamples:\n  httpme -p 3000\n  httpme docs --auth admin:s3cr3t\n  HTTPME_AUTH=admin:s3cr3t httpme docs  # same result as above\n```\n\n## Contributing / Support\n\nIf you experience any issue, have a question or a suggestion, or if you wish\nto contribute, feel free to [open an issue][issues].\n\n---\n\n[issues]: https://github.com/DannyBen/httpme/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fhttpme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyben%2Fhttpme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fhttpme/lists"}