Skip to content
/ uncors Public

A simple dev HTTP/HTTPS reverse proxy for replacing CORS headers.

License

Notifications You must be signed in to change notification settings

evg4b/uncors

Repository files navigation

UNCORS logo

A simple dev HTTP/HTTPS proxy for replacing CORS headers.

Go version GitHub Release License
NPM Downloads Docker Pulls GitHub Downloads (all assets, all releases)
Coverage Go Report Card Reliability Rating Security Rating Lines of Code

Core features

Other new features you can find in roadmap.

Full documentation you can found on wiki pages.

Quick Install

You can install the application in one of the following ways:

Homebrew (macOS | Linux)

brew install evg4b/tap/uncors

Scoop (Windows)

scoop bucket add evg4b https://github.com/evg4b/scoop-bucket.git
scoop install evg4b/uncors

NPM (Cross-platform)

npm install uncors --save-dev
# OR
yarn add uncors --dev
# OR
pnpm add -D uncors

Docker (Cross-platform)

docker run -p 80:3000 evg4b/uncors --from 'http://local.github.com' --to 'https://github.com'

Stew (Cross-platform)

stew install evg4b/uncors

Or find more installation methods in uncors wiki.

Usage

The following command can be used to start the UNCORS proxy server:

uncors --from 'http://localhost' --to 'https://github.com' --http-port 8080

More information about configuration and usage you can find on UNCORS wiki.

Caution

Please be aware that the modification or replacement of CORS headers may introduce potential security vulnerabilities. This tool is specifically engineered to optimize the development and testing workflow and is not intended for use in a production environment or as a remote proxy server. It has not undergone a thorough security review; therefore, caution should be exercised when utilizing it.

Stargazers over time

Stargazers over time

Support the project

ko-fi