Skip to content

🐬 flipper - HTTP domain name flipper, powered by hyper (and Rust)

License

Notifications You must be signed in to change notification settings

SimplyBuilt/flipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flipper 🐬

flipper flips root domains to www subdomains!

It is powered by the most excellent event driven hyper library.

Usage

curl -v -X GET http://localhost:3000/ -H "example.com"
> GET / HTTP/1.1
> User-Agent: curl/7.35.0
> Accept: */*
> Host: example.com
>
< HTTP/1.1 308 Permanent Redirect
< Location: www.example.com
< Date: Wed, 20 Jul 2016 02:12:20 GMT
< Transfer-Encoding: chunked

Deploying

Flipper ships as a standalone executable with a small set of command-line options. Here is the flipper's help screen for more details on the supported options:

$ flipper --help
flipper - HTTP domain name flipper, powered by hyper.

Usage:
  flipper [--bind=<bind>] [--port=<port>] [--threads=<st>]
  flipper (-h | --help)
  flipper --version

Options:
  -h --help          Show this screen.
  --version          Show version.
  -b --bind=<bind>   Bind to specific IP [default: 127.0.0.1]
  -p --port=<port>   Run on a specific port number [default: 3000]

About

🐬 flipper - HTTP domain name flipper, powered by hyper (and Rust)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages