{"id":15020949,"url":"https://github.com/noblemajo/cprox","last_synced_at":"2025-04-09T16:15:05.499Z","repository":{"id":38050861,"uuid":"458253449","full_name":"NobleMajo/cprox","owner":"NobleMajo","description":"CProX is an easy to configure static serve, redirect, reverse proxy and load balancing web server.","archived":false,"fork":false,"pushed_at":"2025-04-03T12:47:00.000Z","size":684,"stargazers_count":32,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T16:14:51.682Z","etag":null,"topics":["backend-server","backend-service","docker","docker-image","nodejs","nodejs-server","proxy","proxy-server","proxy-service","proxy-url","redirect","redirect-server","redirect-urls","static","static-serve","static-server","static-server-nodejs","static-site","typescript","typescript-app"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/NobleMajo.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}},"created_at":"2022-02-11T16:06:17.000Z","updated_at":"2025-04-03T12:47:03.000Z","dependencies_parsed_at":"2023-01-28T14:47:14.641Z","dependency_job_id":null,"html_url":"https://github.com/NobleMajo/cprox","commit_stats":null,"previous_names":["majo418/cprox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fcprox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fcprox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fcprox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fcprox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NobleMajo","download_url":"https://codeload.github.com/NobleMajo/cprox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"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":["backend-server","backend-service","docker","docker-image","nodejs","nodejs-server","proxy","proxy-server","proxy-service","proxy-url","redirect","redirect-server","redirect-urls","static","static-serve","static-server","static-server-nodejs","static-site","typescript","typescript-app"],"created_at":"2024-09-24T19:55:55.607Z","updated_at":"2025-04-09T16:15:05.477Z","avatar_url":"https://github.com/NobleMajo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CProX (deprecated)\n![CI/CD](https://github.com/noblemajo/cprox/workflows/Publish/badge.svg)\n![MIT](https://img.shields.io/badge/license-MIT-blue.svg)\n![typescript](https://img.shields.io/badge/dynamic/json?style=plastic\u0026color=blue\u0026label=Typescript\u0026prefix=v\u0026query=devDependencies.typescript\u0026url=https%3A%2F%2Fraw.githubusercontent.com%2Fnoblemajo%2Fcprox%2Fmain%2Fpackage.json)\n![npm](https://img.shields.io/npm/v/cprox.svg?style=plastic\u0026logo=npm\u0026color=red)\n\u003c!-- ![github](https://img.shields.io/badge/dynamic/json?style=plastic\u0026color=darkviolet\u0026label=GitHub\u0026prefix=v\u0026query=version\u0026url=https%3A%2F%2Fraw.githubusercontent.com%2Fnoblemajo%2Fcprox%2Fmain%2Fpackage.json) --\u003e\n\n![](https://img.shields.io/badge/dynamic/json?color=green\u0026label=watchers\u0026query=watchers\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fcprox)\n![](https://img.shields.io/badge/dynamic/json?color=yellow\u0026label=stars\u0026query=stargazers_count\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fcprox)\n![](https://img.shields.io/badge/dynamic/json?color=navy\u0026label=forks\u0026query=forks\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fcprox)\n\u003c!-- ![](https://img.shields.io/badge/dynamic/json?color=orange\u0026label=subscribers\u0026query=subscribers_count\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fcprox)\n![](https://img.shields.io/badge/dynamic/json?color=darkred\u0026label=open%20issues\u0026query=open_issues\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fcprox) --\u003e\n\nCProX is an easy to configure `static serve`, `redirect`, `reverse proxy` and `load balancing` web server.\n\n---\n- [CProX](#cprox)\n- [Features](#features)\n- [Tested with](#tested-with)\n- [Configuration](#configuration)\n- [Gettings started](#gettings-started)\n  - [Install](#install)\n  - [Help](#help)\n  - [Run](#run)\n- [Contributing](#contributing)\n- [License](#license)\n- [Disclaimer](#disclaimer)\n\n# Features\n - Support for `http`, `https`, `ws`, `wss` and any subprotocol.  \n - Simple `cli tool` and easy `envtionment variables`.\n - Automatically `self-signed certificate` if required (or disabled)!\n \n# Tested with\n - node v16\n - npm  v8\n\n# Configuration\nPlease checkout the [configuration guide](https://github.com/noblemajo/cprox/blob/main/docs/config.md).  \nBut here a quick example:\n```sh\ncprox \\\n    *=STATIC:/var/www/html \\\n    */test=STATIC:/var/www/test \\\n    example.com=REDIRECT:https://www.example.com \\\n    www.example.com=STATIC:/var/www/example \\\n    www.example.com/proxy=PROXY:http://127.0.0.1:58080\n```\n\n# Gettings started\nCheckout the `test.sh` and the `start.sh` scripts to understand what you need to think about and how to start the server.\n\n## Install\n```sh\nnpm i -g cprox\n```\n\n## Help\nCheckout the help output for a quit overview:\n```sh\ncprox -h\n```\n\n## Run\nRun as redirect server:\n```sh\ncprox *=REDIRECT:https://start.duckduckgo.com\n```\nRun as static file server:\n```sh\ncprox *=STATIC:/var/www/html\n```\nRun as proxy server:\n```sh\ncprox *=PROXY:http://127.0.0.1:8080\n```\nCli tool help output:\n\n# Contributing\nContributions to this project are welcome!  \nInterested users can refer to the guidelines provided in the [CONTRIBUTING.md](CONTRIBUTING.md) file to contribute to the project and help improve its functionality and features.\n\n# License\nThis project is licensed under the [MIT license](LICENSE), providing users with flexibility and freedom to use and modify the software according to their needs.\n\n# Disclaimer\nThis project is provided without warranties.  \nUsers are advised to review the accompanying license for more information on the terms of use and limitations of liability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoblemajo%2Fcprox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoblemajo%2Fcprox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoblemajo%2Fcprox/lists"}