From cce71f4e42b8b1536bdcdebf60fcb182b3d6fe7c Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Fri, 8 Aug 2025 09:53:08 -0600 Subject: [PATCH] Update deploy.mdx --- pages/proxy/deploy.mdx | 124 ++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 82 deletions(-) diff --git a/pages/proxy/deploy.mdx b/pages/proxy/deploy.mdx index e784ace..519716a 100644 --- a/pages/proxy/deploy.mdx +++ b/pages/proxy/deploy.mdx @@ -14,8 +14,48 @@ Cloudflare and Netlify's IPs are blocked by FlixHQ and the proxy MUST be hosted +## Method 1 - Cloudflare (Easy + Best) -## Method 1 - Netlify (Easy) +Cloudflare has a generous free plan, so you don't need to pay anything unless you get thousands of users. + +[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/p-stream/simple-proxy) + + + + Create a GitHub account at https://github.com if you don't have one. + + + Click the `Deploy with workers` button above. + + Configure any aditional settings if desired. + + Click `Deploy` to deploy to Cloudflare Workers. + + + Congratulations! Your worker is now deploying. Please wait for the GitHub + Action to build and publish your worker. + + + + You can click the [`Worker + dash`](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages) + and `GitHub repo` buttons to see the status of the deploy. + + + + When the worker has deployed, you will need to take note of the URL. This + can be found on Cloudflare under [Workers and Pages -> + Overview](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages) + -> Proxy. + + + + Use the URL you took note of and [set up a custom proxy in the + client](../extra/streaming.mdx#method-1-self-hosted-proxy). + + + +## Method 2 - Netlify (Easy) Netlify has a very generous free plan, so you'll be able to host your proxy for free unless you get hundreds of users. @@ -51,86 +91,6 @@ Netlify has a very generous free plan, so you'll be able to host your proxy for -## Method 2 - Cloudflare (Easy) - -Cloudflare has a generous free plan, so you don't need to pay anything unless you get hundreds of users. - -[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/p-stream/simple-proxy) - - - - Create a GitHub account at https://github.com if you don't have one. - - - Click the `Deploy with workers` button above. - - - Click the `Authorize Workers` button to authorize Cloudflare to talk to - GitHub. - - - - Authorize Cloudflare Workers in the GitHub page that pops up. - - - - Follow the instructions to configure your Cloudflare account. Select `I have - an account` if you have a Cloudflare account already, otherwise follow the - link to create one. - - - - Click the link to [`Workers - Dashboard`](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages) - to find your account ID. - You can copy your account ID from the URL e.g. - https://dash.cloudflare.com/ab7cb454c93987b6343350d4e84c16c7/workers-and-pages/create - where `ab7cb454c93987b6343350d4e84c16c7` is the account ID. - Paste the - account ID into the text box on the original Cloudflare workers page. - - - - Click the link to [`My - Profile`](https://dash.cloudflare.com/profile/api-tokens), to create an API - token. - Click `Create Token`. - Select `Use template` next to `Edit - Cloudflare Workers`. - Under `Account Resources`, select `Include` and your - account under the dropdown. - Under `Zone Resources`, select `All zones` - (You can select a more specific zone if you have the zones available). - At - the bottom of the page, click `Continue to summary`. - On the next screen, - click `Create token`. - Copy the API token and **save it in a safe place, it - won't be shown again**. - Paste the API token into the Cloudflare Workers - API Token text box. - - - - Click `Fork the Repository` and follow the instructions to enable workflows. - - - Click `Deploy` to deploy to Cloudflare Workers. - - - Congratulations! Your worker is now deploying. Please wait for the GitHub - Action to build and publish your worker. - - - - You can click the [`Worker - dash`](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages) - and `GitHub repo` buttons to see the status of the deploy. - - - - When the worker has deployed, you will need to take note of the URL. This - can be found on Cloudflare under [Workers and Pages -> - Overview](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages) - -> Proxy. - - - - Use the URL you took note of and [set up a custom proxy in the - client](../extra/streaming.mdx#method-1-self-hosted-proxy). - - - ## Method 3 - Railway (Easy) Railway offers you $5 of credit once you verify your account, which is enough to run the proxy for around 5-7 months. @@ -213,4 +173,4 @@ Manually installing the proxy on your server. You may want to use an automated p -You'll need to configure port forwarding and firewall settings. Good luck. \ No newline at end of file +You'll need to configure port forwarding and firewall settings. Good luck.