Skip to content

tshelter/wl-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WL Proxy

WL Proxy is a minimal HTTP transformation service that fetches WL configuration files from upstream and replaces the wildcard SNI parameter.

What it does

  • Fetches remote files from zieng2/wl
  • Replaces every &sni=*& with &sni=<your_value>&
  • Returns the modified text as plain text

API

Endpoint:

GET /api/wl

Query params:

  • sni (default: www.instagram.com)
  • type (universal or lite, default: universal)

Example:

/api/wl?sni=example.com&type=lite

UI

Open the root page in your browser and use the input + selector to fetch the transformed output.

Run locally

  1. Install dependencies
npm install
  1. Start the server
npm start
  1. Visit
http://localhost:3000

Notes

  • Stateless, no storage
  • Real-time fetch from upstream
  • Plain text responses for configs