open-index/open-npm huggingface dataset:
npm package: @magnus/dev-proxy
Description: Simple SSL HTTP proxy using a self-signed certificate. Intended for local development only.
Latest version: 2.1.6

# @magnus/dev-proxy

This is sadly just a forked module of dev-proxy. It fixes [the install on windows](https://github.com/azuqua/dev-proxy/issues/1) on parent proxy.

Simple SSL HTTP proxy using a self-signed certificate. Intended for local development only. Based off of [local-ssl-proxy](https://github.com/cameronhunter/local-ssl-proxy).

```
Usage: dev-proxy [options]

Options:

  -h, --help                            output usage information
  -V, --version                         output the version number
  -p --proxy <source port:target port>  ports to proxy
  -k --key [keyPath]                    optional path to key file
  -c --cert [certPath]                  optional path to cert file
  -h --host [hostname]                  optional hostname
```

## Install

```sh
npm install -g @magnus/dev-proxy
# will automatically generate a self-signed cert/key
```

## Run

To start a proxying from port `9000` to `9001` run:

```sh
dev-proxy --proxy 9000:9001
```

Start your web server on the source port (`9000` in the example) and navigate to `https://localhost:<target-port>` ([https://localhost:9001](https://localhost:9001) in the example). You'll get a warning because the certificate is self-signed, this is safe to ignore during development.

To create multiple proxies run:

```sh
dev-proxy --proxy 8080:8443 --proxy 9080:9443
```
npm package: @mago320/mago
Description: A personal card for Arnaud Magonette (@mago320)
Author: Arnaud Magonette
Latest version: 0.0.1

# `npx card` Arnaud Magonette

## Usage

Via npx:
```
npx mago
```

Not including how to use it globally because I'm not sure why you'd want this as a global command. That'd be creepy.

* * *

Original idea by [bitandbang](https://github.com/bnb/bitandbang).