Skip to content

Latest commit

 

History

History
87 lines (66 loc) · 2.68 KB

ABOUT_ENV.md

File metadata and controls

87 lines (66 loc) · 2.68 KB

How to create the .env file

The .env file will be created based on .env.example
The values to be filled are:

1. Firebase configuration

NEXT_PUBLIC_FB_API_KEY=
NEXT_PUBLIC_FB_AUTH_DOMAIN=
NEXT_PUBLIC_FB_PROJECT_ID=
NEXT_PUBLIC_FB_STORAGE_BUCKET=
NEXT_PUBLIC_FB_SENDER_ID=
NEXT_PUBLIC_FB_APP_ID=
NEXT_PUBLIC_FB_MEASUREMENT_ID=

Steps to get the credentials:

  • Go to the Firebase Console.
  • Create a new project or select an existing one.
  • Navigate to Project Settings > General.
  • Under Your apps, click on the Web app (</>) icon to register a new app.
  • Copy the config object's values into your .env file.

2. TMDB configuration

  NEXT_PUBLIC_TMDB_API=https://api.themoviedb.org/3
  NEXT_PUBLIC_TMDB_API_KEY=
  NEXT_PUBLIC_TMBD_IMAGE_URL=https://image.tmdb.org/t/p/original/

Steps to get TMDB API KEY

  • Go to the TMDB website.
  • Sign up or log in to your account.
  • Navigate to Account Settings > API.
  • Request an API key if you don't have one already.
  • Copy your API key into your .env file.

3. Video Streaming API

NEXT_PUBLIC_STREAM_URL_AGG=
NEXT_PUBLIC_STREAM_URL_VID=
NEXT_PUBLIC_STREAM_URL_EMB=
NEXT_PUBLIC_STREAM_URL_MULTI=
NEXT_PUBLIC_STREAM_URL_SUP=
NEXT_PUBLIC_STREAM_URL_CLUB=
NEXT_PUBLIC_STREAM_URL_SMASH=
NEXT_PUBLIC_STREAM_URL_ONE=
NEXT_PUBLIC_STREAM_URL_ANY=
NEXT_PUBLIC_STREAM_URL_WEB=

These are all the different streaming services used, that can't be disclosed directly.
But I can give you a hint..

Tip

We offer free streaming links for movies and episodes that can be
effortlessly integrated into your website through our embed links, API

You can do some research over internet using this quote to get the services.
And if you are going to create your own website, then I would recommend to go through github-issue.
They have created a list of services, but some may have stopped working, still you will get working ones also.
If you do some researching, then you will find the right services here.

4. Vidsrc Scrapper API

NEXT_PUBLIC_PROVIDER_URL=

You can find the api, if you search for vidsrc scrappers, here we are using a 3rd party API(not ours) which scrapes vidsrc.to and vidsrc.me

If there are anymore env vars left, give them any random values, as they were used in dev only and not in prod.

Disclaimer

Important

Rive-Next does not host any files, it merely links to 3rd party services.
Legal issues should be taken up with the file hosts and providers.
Rive-Next is not responsible for any media files shown by the video providers.

Happy Coding :)