Skip to content

๐Ÿš‡ A secure HTTP Tunnel / HTTP Proxy

License

Notifications You must be signed in to change notification settings

dbushell/http-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš‡ Deno HTTP Tunnel

JSR

A secure HTTP Tunnel aka HTTP Proxy server written in Deno flavoured TypeScript.

Usage

The proxy server listens on http://0.0.0.0:3000 by default.

Run it from the command line:

deno run --allow-env --allow-net jsr:@dbushell/http-tunnel

See mod.ts for CLI options.

Run it programmatically:

import {serveTunnel} from 'jsr:@dbushell/http-tunnel';
const tunnel = serveTunnel();

See types.ts for serveTunnel options and return type.

Test with curl:

curl --proxy "http://0.0.0.0:3000" "https://example.com"

Notes


MIT License | Copyright ยฉ 2024 David Bushell

About

๐Ÿš‡ A secure HTTP Tunnel / HTTP Proxy

Topics

Resources

License

Stars

Watchers

Forks