{"id":36784834,"url":"https://github.com/desertbit/watchman","last_synced_at":"2026-01-12T13:20:01.958Z","repository":{"id":31418927,"uuid":"34982324","full_name":"desertbit/watchman","owner":"desertbit","description":"Simple HTTP Reverse Proxy with authentication","archived":false,"fork":false,"pushed_at":"2022-12-19T11:23:28.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T06:27:28.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://registry.hub.docker.com/u/desertbit/watchman/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desertbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-03T10:38:35.000Z","updated_at":"2024-06-20T06:27:28.817Z","dependencies_parsed_at":"2023-01-14T19:00:26.721Z","dependency_job_id":null,"html_url":"https://github.com/desertbit/watchman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/desertbit/watchman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fwatchman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fwatchman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fwatchman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fwatchman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desertbit","download_url":"https://codeload.github.com/desertbit/watchman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fwatchman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-12T13:20:00.532Z","updated_at":"2026-01-12T13:20:01.931Z","avatar_url":"https://github.com/desertbit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Watchman\n\nWatchman is a simple HTTP Reverse Proxy with authentication.\nHTTP basic authentication is used as authenticaton mechanism.\nYou should only provide a secure HTTPS connection to the reverse proxy!\n\nRun watchman and set the configuration path.\n\n```\n./watchman -config=\"sample/watchman.conf\"\n```\n\nThen go to http://localhost/ and log in as `foo`, password: `bar`.\nIt is also possible to pass the configuration path with an environment variable. Check the section below.\n\n\n## Configuration\n\n- `ListenHost`: The host to listen for HTTP requests. Default: empty (All hosts)\n- `ListenPort`: The host port to listen on. Default: 80 (HTTP port)\n- `DestinationHost`: The host to redirect requests to. Default: 127.0.0.1\n- `DestinationPort`: The destination host port. Default: 8080\n- `Description`: A short description of the secured area. This is optional. Default: Secured Area\n- `PasswdFile`: The path to the htpasswd file.\n\nCheck the sample configuration in the sample directory.\n\n\n## Environment variables\n\n- `WATCHMAN_CONFIG` Sets the path to the watchman configuration.\n- `WATCHMAN_DIR` Sets the lookup directory path. (Config and passwd files)\n\nIt is also possible to set config values through the environment variables:\n\n- `WATCHMAN_LISTEN_HOST`\n- `WATCHMAN_LISTEN_PORT`\n- `WATCHMAN_DEST_HOST`\n- `WATCHMAN_DEST_PORT`\n- `WATCHMAN_DESC`\n- `WATCHMAN_PASSWD`\n\nIf **ENV:** is added as prefix, then the value is obtained from another environment variable.\nExample: `WATCHMAN_DEST_HOST=\"ENV:SERVICE_PORT_8080_TCP_ADDR\"`\n\n\n## Manage Users\n\nCreate an initial htpasswd file and add a user:\n\n```\nhtpasswd -c /path/to/watchman.passwd foo\n```\n\nAdd or update an user:\n\n```\nhtpasswd /path/to/watchman.passwd foo\n```\n\n\n## Docker\n\nPull the docker image from desertbit/watchman\n\n```\ndocker pull desertbit/watchman\n```\n\nThere is one volume `/config`. Place the watchman configuration and htpasswd file to that location.\nThen run the image.\n\n```\ndocker run -p 80:80 -v /path/to/configdir:/config desertbit/watchman\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesertbit%2Fwatchman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesertbit%2Fwatchman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesertbit%2Fwatchman/lists"}