{"id":18597837,"url":"https://github.com/siarheidudko/simple-proxy","last_synced_at":"2025-10-08T11:05:12.233Z","repository":{"id":175666671,"uuid":"654291703","full_name":"siarheidudko/simple-proxy","owner":"siarheidudko","description":"A simple proxy server with access token verification and the ability to proxy unencrypted traffic. You probably shouldn't use this in production, but you can use it on the internal network or behind nginx with ssl.","archived":false,"fork":false,"pushed_at":"2023-06-15T20:26:11.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T04:16:41.252Z","etag":null,"topics":["docker","http","proxy-server","tcp-server","websocket"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/sergdudko/simple-proxy","language":"JavaScript","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/siarheidudko.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2023-06-15T20:01:35.000Z","updated_at":"2023-07-04T11:18:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"57e6d8c9-c854-4900-9847-74b9376f666c","html_url":"https://github.com/siarheidudko/simple-proxy","commit_stats":null,"previous_names":["siarheidudko/simple-proxy"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/siarheidudko/simple-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siarheidudko%2Fsimple-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siarheidudko%2Fsimple-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siarheidudko%2Fsimple-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siarheidudko%2Fsimple-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siarheidudko","download_url":"https://codeload.github.com/siarheidudko/simple-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siarheidudko%2Fsimple-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278931654,"owners_count":26070789,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["docker","http","proxy-server","tcp-server","websocket"],"created_at":"2024-11-07T01:29:36.345Z","updated_at":"2025-10-08T11:05:12.204Z","avatar_url":"https://github.com/siarheidudko.png","language":"JavaScript","readme":"# Simple proxy\n\nA simple proxy server with access token verification and the ability to proxy unencrypted traffic. You probably shouldn't use this in production, but you can use it on the internal network or behind nginx with ssl.\n\n## Setup\n\nAdd configuration settings (the default values are given):\n\n- PROXY_KEY_FILE=/app/.keys - the path to the access keys (the server listens for changes)\n- PROXY_PORT=8000 - the port of the proxy server\n- PROXY_MAX_LISTENERS=0 - max listeners, 0 - unlimited\n- REMOTE_HOST=google.com - host of the remote server\n- REMOTE_PORT=80 - port of the remote server\n- PROXY_WORKERS=4 - number of the workers\n\n### Format of the key file\n\n```txt\naccess_key_1\naccess_key_2\naccess_key_3\n```\n\n### Example of use in kubernetes\n\n```yaml\napiVersion: v1\nkind: Secret\ntype: Opaque\nmetadata:\n  name: proxy-keys\n  namespace: proxy-system\ndata:\n  keys: MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAw\n---\napiVersion: v1\nkind: Service\nmetadata:\n  name: proxy-service\n  namespace: proxy-system\n  labels:\n    app: proxy\nspec:\n  ports:\n  - name: proxy-server\n    port: 8000\n    protocol: TCP\n    targetPort: 8000\n  selector:\n    app: proxy\n---\napiVersion: apps/v1\nkind: Deployment\nmetadata:\n  labels:\n    app: proxy\n    tier: proxy-server\n  name: proxy-server\n  namespace: proxy-system\nspec:\n  selector:\n    matchLabels:\n      app: proxy\n      tier: proxy-server\n  strategy:\n    type: Recreate\n  template:\n    metadata:\n      labels:\n        app: proxy\n        tier: proxy-server\n    spec:\n      containers:\n      - name: proxy-server\n        image: sergdudko/simple-proxy:latest\n        env:\n        - name: PROXY_KEY_FILE\n          value: \"/app/.keys\"\n        - name: PROXY_PORT\n          value: \"8000\"\n        - name: PROXY_MAX_LISTENERS\n          value: \"0\"\n        - name: REMOTE_HOST\n          value: \"google.com\"\n        - name: REMOTE_PORT\n          value: \"80\"\n        - name: PROXY_WORKERS\n          value: \"4\"\n        imagePullPolicy: IfNotPresent\n        ports:\n        - containerPort: 8000\n          protocol: TCP\n        resources:\n          limits:\n            cpu: 100m\n            memory: 128Mi\n        volumeMounts:\n        - name: proxy-keys-storage\n          mountPath: /app/.keys\n          subPath: keys\n          readOnly: true\n      volumes:\n      - name: proxy-keys-storage\n        secret:\n          secretName: proxy-keys\n```\n\n## Use\n\nUse the `API-KEY` header for authorization, default token `00000000-0000-0000-0000-000000000000`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiarheidudko%2Fsimple-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiarheidudko%2Fsimple-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiarheidudko%2Fsimple-proxy/lists"}