Simple proxy for a cloudflare worker
Find a file
Pas ec3692d9e3
Some checks failed
Linting and Testing / Run Linters (push) Has been cancelled
Linting and Testing / Build project (push) Has been cancelled
Linting and Testing / Build docker (push) Has been cancelled
Docker Publish / build (push) Has been cancelled
Release / Release (push) Has been cancelled
Switch cache control to ENABLE_CACHE env variable
Changed caching logic to use ENABLE_CACHE (disabled by default) instead of DISABLE_CACHE. Updated documentation and bumped version to 2.2.4 for clarity and consistency.
2025-12-02 18:39:45 -07:00
.github/workflows Update workflows 2024-05-02 15:13:54 -04:00
.vscode refactor: Bring back deleted changes 2023-09-09 23:00:56 -05:00
src Switch cache control to ENABLE_CACHE env variable 2025-12-02 18:39:45 -07:00
.dockerignore add CI stuff 2023-09-13 23:08:44 +02:00
.editorconfig Initial setup 2023-09-08 22:59:05 -05:00
.eslintignore Initiate repository 2023-09-06 16:34:21 -05:00
.eslintrc.js fix linter + make proxy work + remove temp files + fix typescript types 2023-09-13 22:54:28 +02:00
.gitignore add netlify support 2024-01-08 21:28:22 +01:00
.prettierrc.js refactor: Bring back deleted changes 2023-09-09 23:00:56 -05:00
Dockerfile Allow building for arm 2024-01-07 12:18:52 -05:00
LICENSE Create LICENSE 2023-12-23 23:25:03 +01:00
netlify.toml Fix Netlify build 2024-12-31 12:54:43 -07:00
nitro.config.ts remove noPublicDir 2025-04-27 11:18:06 -06:00
package.json Switch cache control to ENABLE_CACHE env variable 2025-12-02 18:39:45 -07:00
pnpm-lock.yaml update packages 2025-04-20 03:30:54 +00:00
README.md Switch cache control to ENABLE_CACHE env variable 2025-12-02 18:39:45 -07:00
tsconfig.json fix linter + make proxy work + remove temp files + fix typescript types 2023-09-13 22:54:28 +02:00
wrangler.toml Update wrangler.toml 2024-05-30 13:21:45 -04:00

simple-proxy

Simple reverse proxy to bypass CORS, used by movie-web/P-Stream. Read the docs at https://docs.pstream.org/proxy/introduction


features:

  • Deployable on many platforms - thanks to nitro
  • header rewrites - read and write protected headers
  • bypass CORS - always allows browser to send requests through it
  • secure it with turnstile - prevent bots from using your proxy
  • parse and bypass m3u8 stream restrictions - make sure the IP is not blocked by the CDN, may need to be on a VPS.
  • Caching of tls segments (enable with ENABLE_CACHE=true in .env, disabled by default)

Warning

Turnstile integration only works properly with cloudflare workers as platform

supported platforms:

  • cloudflare workers
  • AWS lambda
  • nodejs
  • netlify edge functions