👨‍🏫 Tutorial Want to Publish your Own Movie Website?

Crypton-

Fanatic

Wanna publish/deploy your own Movie/TVShows website?​


Pre-requisites:
  • Cloudflare Account (for hosting using Cloudflare Pages)
  • TMDB READ_ACCESS_TOKEN
  • Github Account (Optional but recommended for version control---but needed git knowledge)

For Codebase / Source Files, just visit this URL: You do not have permission to view the full content of this post. Log in or register now.

Since open-Source ang source code nito sa Github: , may two options ka:​
A. Dahil public repository ito, with or without account, ma-download mo 'to as a zip file. Unzip it.​
1765326026854.webp
B. Or, if gusto mo yong mas may control sa versioning and other things, create an account, then fork the repository, name it what you want.​
1765326180754.webp
1765326210372.webp
Note: Now, make sure na i-edit yong mga logos, names ng site, etc. Change all the instances of mstream/MSTREAM in:
Code:
vite.config.js
index.html
src/pages/About.jsx
src/pages/Disclaimer.jsx
src/components/Footer.jsx
src/components/Navbar.jsx
package.json
public/config/manifest.json
wrangler.jsonc (naming here is important, use only small letters)

Change images in public/ folder as well. Carefully check each one.

Create TMDB Account, just visit this URL: You do not have permission to view the full content of this post. Log in or register now.

Hindi ko na i-detail ang registration, its pretty much self-explanatory. After registration:
1. Go to Settings.
2. Go to API and copy API Read Access Token, save it for later.
1765326711740.webp
1765327018709.webp



Create Cloudflare Account (Direct Registration or Signup using available option such as Google, etc.)
Hindi ko na rin i-detail ang registration, its pretty much self-explanatory. After Registration:​
1. Click the +Add > Pages > If you download the zip and unzip, choose:​
1765327547495.webp
1765331058907.webp
- Drag and Drop your files and upload all the files inside the folder. It will ask you the name, it should be the same name present in wrangler.jsonc file, its case-sensitive. Then Deploy site.​
- But if you forked the repository, Import an existing Git repository. It will prompt you to connect Github to Cloudflare, thats an easy task anyway. It will ask you the name, it should be the same name present in wrangler.jsonc file, its case-sensitive.​
Code:
Project Name: {Name in wrangler.jscon}
Production Branch: main
Framework preset: None
Build Command: npm run build
Build output Directory: /dist
- Save and Deploy.​

After Deployment > Go to Workers and Pages > Choose the Project > Settings:​
1765328986789.webp
Go to Variables and Secrets > +Add:​
1765329103666.webp
Code:
Variable Name: VITE_TMDB_READ_ACCESS_TOKEN
Value: {paste here your API Read Access Token you saved earlier from TMDB}

Then bwalaaaaaaaaa, may bagong movie and tv show website ka na. Yey! Now, its up to you if you want to add ads on it. You check other thread here how to do that. Here are some screenshots I have for my MSTREAM.
1765329829166.webp
1765329604161.webp

1765329631220.webp
1765329651893.webp

1765329674511.webp
1765329713169.webp


Credits to darkemo07, sa kaniya galing base ng website na 'to.

Disclaimer: Movies and tv-shows are hosted in a third-party source. Most of those sources have ads already attached in their videos (iframe-based). So yeah, its not mine.

Any questions? Suggestions? Feel free to comment here or do a pull request in github. Thank you so much!





View attachment 3989122
 
Hi lods, ano po purpose nito? like publish nang Website lang po ba? may kitaan ba Ang ganito?

sorry, newbie Kasi sa mga ganito
 
sis share ko lang oki, may nakita lang akong bug sa source code ng search flow mo tapos na fix ko sya and redeployed sa vercel yung issue before is sa app.jsx yung handleitemclick mo naka set lang to console.log ng item at mag "setsearchresults([])" kaya kahit ipapasa natin yung onitemclick papunta sa searchmodal at from there sa moviecard walang actual navigation na nangyayari, sa user side mukha syang nag close lang yung search pero hindi sila nadadala sa kahit anong watch page inadjust ko yung logic para gumamit ng usenavigate and mag "navigate(/watch/${item.media_type}/${item.id})" sa handleitemclick, to make sure si moviecard ginagamit talaga yung onclick prop niya sa root element para mag fire yung handler, after nung changes niredeploy ko sa vercel so now properly na syang nag reroute to the correct watch page and mas okay na yung overall ux ghorl
1000008527.webp
 
sis share ko lang oki, may nakita lang akong bug sa source code ng search flow mo tapos na fix ko sya and redeployed sa vercel yung issue before is sa app.jsx yung handleitemclick mo naka set lang to console.log ng item at mag "setsearchresults([])" kaya kahit ipapasa natin yung onitemclick papunta sa searchmodal at from there sa moviecard walang actual navigation na nangyayari, sa user side mukha syang nag close lang yung search pero hindi sila nadadala sa kahit anong watch page inadjust ko yung logic para gumamit ng usenavigate and mag "navigate(/watch/${item.media_type}/${item.id})" sa handleitemclick, to make sure si moviecard ginagamit talaga yung onclick prop niya sa root element para mag fire yung handler, after nung changes niredeploy ko sa vercel so now properly na syang nag reroute to the correct watch page and mas okay na yung overall ux ghorlView attachment 3990083
Oh em gee, sige check ko yan. Thank youuu. Ano github mo, credit kita. Hehehe.
 

About this Thread

  • 57
    Replies
  • 2K
    Views
  • 22
    Participants
Last reply from:
system corrupt

Trending Topics

Online now

Members online
976
Guests online
1,594
Total visitors
2,570

Forum statistics

Threads
2,273,350
Posts
28,948,944
Members
1,235,713
Latest member
QuippyQuippy
Back
Top