| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
proxykit is a standalone Go proxy foundation for applications that need:
It is intentionally not a product backend, API server, or gateway control plane.
Those projects are real and useful, but they optimize for different shapes:
Choose proxykit when your application needs one embeddable foundation for reverse + forward + CONNECT + WebSocket, while keeping routes, storage, admin APIs, and UI-facing contracts in your own adapter layer.
| Need | Package |
|---|---|
| mounted reverse proxy route | reverse |
| absolute-URI forward proxy | forward |
| plain CONNECT tunneling | connect |
| WebSocket proxying | wsproxy |
| transport-neutral hooks | observe |
| forward and SOCKS listener lifecycle | proxyruntime |
| cookie rewriting helpers | cookies |
| focused transport helpers | proxyhttp, socketio, mitm |
package main
import (
"log"
"net/http"
"github.com/777genius/proxykit/reverse"
)
func main() {
handler, err := reverse.New(reverse.Options{
Resolver: reverse.QueryTargetResolver{
MountPath: "/proxy",
DefaultTarget: "https://example.com",
},
})
if err != nil {
log.Fatal(err)
}
mux := http.NewServeMux()
mux.Handle("/proxy", handler)
mux.Handle("/proxy/", handler)
log.Fatal(http.ListenAndServe(":8080", mux))
}Main docs sections:
proxykit already powers a production-style application:
This repo is the reusable transport foundation extracted from that application, not a copy of the whole product backend.
flowchart LR
A["proxykit core"] --> B["app adapters"]
B --> C["flutter_network_debugger"]
go get github.com/777genius/proxykit@v0.1.7Use the tagged version shown here if proxy.golang.org is still catching up and @latest briefly lags behind the newest release.
proxykit is the reusable transport foundation, not a full proxy product backend.
That means the public module intentionally excludes:
The docs site uses the latest VitePress alpha line from npm.
npm install
npm run docs:devgo vet ./...
go test ./...
go test -race ./...
npm run docs:buildSee CONTRIBUTING.md for workflow, architecture guardrails, and review expectations.
For community processes:
| Back | FazBrowse Home | New Git URL |