{"id":14065379,"url":"https://github.com/corridor/configurable-http-proxy","last_synced_at":"2025-07-29T20:32:26.234Z","repository":{"id":39755519,"uuid":"381572729","full_name":"corridor/configurable-http-proxy","owner":"corridor","description":"A pure python alternative for configurable-http-proxy","archived":false,"fork":false,"pushed_at":"2023-01-25T11:26:50.000Z","size":66,"stargazers_count":14,"open_issues_count":7,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-02T23:45:20.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/corridor.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}},"created_at":"2021-06-30T04:16:58.000Z","updated_at":"2024-07-27T17:20:17.000Z","dependencies_parsed_at":"2023-02-14T07:01:26.467Z","dependency_job_id":null,"html_url":"https://github.com/corridor/configurable-http-proxy","commit_stats":null,"previous_names":["abdealijk/configurable-http-proxy"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corridor%2Fconfigurable-http-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corridor%2Fconfigurable-http-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corridor%2Fconfigurable-http-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corridor%2Fconfigurable-http-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corridor","download_url":"https://codeload.github.com/corridor/configurable-http-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227823508,"owners_count":17825077,"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-08-13T07:04:27.689Z","updated_at":"2024-12-04T04:31:04.614Z","avatar_url":"https://github.com/corridor.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# configurable-http-proxy\n\nThis is a pure python implementation of the\n[configurable-http-proxy](https://github.com/jupyterhub/configurable-http-proxy)\nwritten in nodejs. It is meant to be a drop in replacement.\n\n## Install\n\nPrerequisite: Python 3.6+\n\n```bash\npip install configurable-http-proxy\n```\n\n## Feature support\n\nThe following items are supported:\n\n- Proxying for Websocket and HTTP requests\n- Configuring the proxy using API requests\n- Auth token for API requests\n- Error management using error_path and error_target\n- Prepend path or include prefix\n- Timeouts\n- X-Forward related headers\n- Custom Headers\n- Customizable storage backends\n- PID file writing\n- Logging\n- Configurable storage backend\n\nThe following options are additional (not available in nodejs CHP currently):\n- Ready to use DBMS storage backend\n\nThe following options are not supported (yet):\n\n- SSL for proxy, client, API is not available (`--ssl-*`, `--api-ssl-*`, `--client-ssl-*`, `--insecure`)\n- Redirecting: `--redirect-port` and `--redirect-to`\n- Change Origin: `--change-origin`\n- Rewrites in Location header: `--protocol-rewrite` and `--auto-rewrite`\n- Metrics server: `--metrics-port` and `--metrics-ip`\n\n## Database-backed storage backend\n\nUsing a SQL DBMS instead of the default in-memory store enables chp to be replicated\nin a High Availability scenario.\n\nTo use a SQL DBMS as the storage backend:\n\n1. Install DBMS support\n\n```bash\n$ pip install configurable-http-proxy[sqla]\n```\n\n2. Set the CHP_DATABASE_URL env var to any db URL supported by SQLAlchemy. The default is `sqlite:///chp.sqlite`.\n\n```bash\n$ export CHP_DATABASE_URL=\"sqlite:///chp.sqlite\"\n$ configurable-http-proxy --storage-backend configurable_http_proxy.dbstore.DatabaseStore\n```\n\n3. Optionally you may set the table name by setting the CHP_DATABASE_TABLE. The default is 'chp_routes'\n\n```bash\n$ export CHP_DATABASE_TABLE=\"chp_routes\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorridor%2Fconfigurable-http-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorridor%2Fconfigurable-http-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorridor%2Fconfigurable-http-proxy/lists"}