Wovie is a web app for watching movies easily.
The web works by displaying video files from third-party providers inside an intuitive user interface.
To run locally, you must first clone the repository. After that run the following commands in the root of the repository:
pnpm install
pnpm run devYou have to also make an .env file to configure your environment. See guide to setup env.
To get your TMDB_KEY:
- Go to TMDB's website.
- Sign up for an account if you don’t have one already.
- Once logged in, navigate to your account settings by clicking on your profile icon in the top-right corner.
- In the settings menu, select API (or go directly to TMDB API Settings).
- Click Create to generate a new API key. You might need to fill out a form describing your use case.
- Once approved, copy your
API Read Access Tokeninto theTMDB_KEYvariable.
To get your ASTRO_DB_APP_TOKEN and ASTRO_DB_REMOTE_URL:
- Visit Turso and create an account if you don’t have one.
- After logging in, create a new database by following the instructions in the dashboard.
- Once the database is created, click on the 3 dots next to the database name and select "Create Token" and follow the instructions to create a new token.
- After token created, you will see the token and database variables.
- Copy the values and paste them into the
ASTRO_DB_APP_TOKENandASTRO_DB_REMOTE_URLvariables Example .env file
Here’s how your .env file should look:
ASTRO_DB_REMOTE_URL="libsql://*****************"
ASTRO_DB_APP_TOKEN="**************************"BETTER_AUTH_URLis the URL of your website.BETTER_AUTH_TRUSTED_ORIGINSis the URL of your website.BETTER_AUTH_SECRETis a secret key that you can generate using this tool.
Here’s how your .env file should look:
BETTER_AUTH_URL="https://wovix.app"
BETTER_AUTH_TRUSTED_ORIGINS="https://wovix.app"
BETTER_AUTH_SECRET="your-secret-key"- Log in to Vercel: Go to Vercel's website and log in to your account.
- Open Your Project: Select the project you want to configure from the Vercel dashboard.
- Click on your project to open the settings.
- Navigate to Environment Variables
- Click Add to create a new environment variable.
- Enter the variable name (
TMDB_KEY,ASTRO_DB_APP_TOKEN,ASTRO_DB_REMOTE_URL, etc.) in the Key field. - Enter the corresponding value you obtained earlier in the Value field.
- Save Changes: Click Save after adding each variable
or deploy a new project