An alternative frontend for XVideos and other adult sites. Made with NextJS. https://proxyraye.copyriot.xyz
Go to file
lamacchinadesiderante 0650c995a7 Merge pull request 'v0.3/redis-setup' (#80) from v0.3/redis-setup into develop
Reviewed-on: #80
2024-05-18 11:32:13 +00:00
locale change header description label 2024-05-12 16:20:54 +02:00
public update favicon 2024-05-13 19:35:55 +02:00
src fix caching issue with no related data 2024-05-18 11:50:19 +02:00
.dockerignore load env variables directly from docker compose 2024-05-17 12:02:55 +02:00
.env.example update readme and .env.example 2024-05-18 12:41:16 +02:00
.eslintrc.json Initial commit from Create Next App 2024-04-21 16:56:08 +02:00
.gitignore add redis integration gitignore (WIP) 2024-05-17 02:25:27 +02:00
Dockerfile fix dockerfile and package-json BREAKING issues 2024-05-17 11:43:07 +02:00
README.md remove spaces from README 2024-05-18 12:42:45 +02:00
docker-compose.yaml load env variables directly from docker compose 2024-05-17 12:02:55 +02:00
next.config.js add /api routes and health check in docker-compose 2024-04-28 12:13:24 +02:00
package-lock.json fix dockerfile and package-json BREAKING issues 2024-05-17 11:43:07 +02:00
package.json fix dockerfile and package-json BREAKING issues 2024-05-17 11:43:07 +02:00
tsconfig.json complete basic functionalities (#1) 2024-04-24 17:28:47 +00:00

README.md

Proxy Raye

Proxy Raye is an alternative front-end for adult websites. Watch videos on a clean UI without tracking and without annoying ads popping up from everywhere!

Currently supported platforms:

  • XVideos
  • XNXX
  • (...more coming soon!)

Working demos

Vercel hosted demo can be found here.

Self-hosted demo can be found here.

Quickstart

You can run the project on local by cloning the repo.

Docker

You can run it via Docker with docker-compose by opening root folder via console and running:

docker-compose up -d

And head browser to localhost:8069.

Caching

Starting from version 0.3.0 caching is enabled by default inside docker-compose.yaml.

A base Redis image will be added to the network.

However, Proxy Raye can still work without Redis by setting ENABLE_REDIS=false under environment:.

Node.js

You can also run project outside Docker via npm (tested with NodeJS 20.11 and above).

You can run the project by opening root folder via console and running:

npm install
npm run build
npm run start

And head browser to localhost:3000.

(optional) Enable caching

If you want to enable caching, please rename .env.example to .env file inside root folder. Inside .env file you will find following variables:

ENABLE_REDIS=true
REDIS_URL='redis://127.0.0.1:6379'

These values assume a basic Redis instance running on local machine. If your local setup is different, or your Redis instance is somewhere else, please change REDIS_URL accordingly.

Modify

If you want to edit the project you can start development mode by opening root folder via console and running:

npm install
npm run dev

The project uses following tech stack:

  • NextJS 14 (w/App router)
  • Typescript
  • Redux
  • Pico CSS with Sass
  • Next/Intl

It scrapes data server-side and return treated data to the frontend to be rendered.

Deploy

Vercel

You can deploy the app on Vercel by cloning this repo on your GitHub/Gitlab and making it private. Than create a new Vercel account and import it there. Vercel deploy doesn't need particular configuration.

Due to Vercel's serverless nature (which makes every request to XVideos and other platforms come from a different IP) it becomes very hard for web application firewalls to ban addresses effectively.

Self-host

You can self host the project on your local server via docker-compose and reverse-proxy exposed port to nginx.