A high-performance dual-environment proxy that bypasses Cloudflare Geo-blocks (403 errors) to retrieve direct M3U8 streaming links for Movies and TV Shows natively, with zero RAM overhead and full seeking support.
- ⚡ Dual Environment: Runs smoothly on a bare-metal Node.js Server (e.g., Oracle Cloud VPS) or as a Vercel Serverless Function.
- 🛡️ Bypasses Cloudflare 403s: Actively circumvents Cloudflare-to-Cloudflare
1020blocks. - 🔐 Native Decryption: Uses
tweetnaclto replicate VidLink'sXSalsa20-Poly1305logic natively in JS (No heavy WASM payloads). - 🕒 Adaptive Time-Sync: Intelligence-based timestamp offset to prevent token expiration.
- 🕵️ Zero-RAM Streaming Proxy: Uses Node.js
stream.pipe()capabilities to act as a stealth proxy form3u8playlists and.tschunk segments without buffering into memory. - 🎨 Range & Seek Support: Fully passes
Rangeheaders back and forth, allowing you to seek immediately in your video player. - 🎨 Minimalist Documentation: Built-in aesthetic landing page for easy testing.
-
Clone the repository
git clone https://github.com/mdtahseen7/Vidlink-proxy.git cd Vidlink-proxy -
Install dependencies
npm install
-
Start the server
npm start
The local proxy will be running at http://localhost:3000.
If you don't have a VPS, you can instantly deploy the serverless version to Vercel:
npx vercel deployVercel will detect vercel.json and deploy api/index.js as a serverless function automatically.
Once your server is running or deployed, you can hit the following endpoints:
| Endpoint | Description |
|---|---|
GET /movie/{tmdb_id} |
Fetch direct sources for movies, with fully rewritten proxy streams. |
GET /tv/{tmdb_id}/{s}/{e} |
Fetch direct sources for episodes. |
GET /watch?url={encoded} |
Streaming zero-RAM M3U8 proxy to circumvent 403 headers and CORS blocks. |
This project reverse-engineered the VidLink Pro encryption logic. Unlike traditional solutions that rely on a browser or WASM bridge, this tool:
- Generates a valid 24-byte nonce.
- Constructs a binary message containing the
Media IDand a64-bit Big-Endian Timestamp. - Encrypts the payload using the production key.
- Acts as a transparent proxy for
.tsvideo chunk retrieval by spoofing correct headers.
Developed by Tahseen
Built with ❤️ for the open-source community.