uncors

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 13 Imported by: 0

README

UNCORS logo

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

Go version GitHub version License 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 note that removing or replacing CORS headers can pose potential security vulnerabilities. This tool is specifically designed to streamline the development and testing workflow and should not be used in a production environment or as a remote proxy server. It has not undergone a thorough security review, so caution should be exercised when utilizing it.

Stargazers over time

Stargazers over time

Support project


Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
log
pkg
urlx
Package urlx parses and normalizes URLs.
Package urlx parses and normalizes URLs.
testing
testutils
nolint: gomnd
nolint: gomnd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL