By the end of this guide you will have a fully working local copy of Pelisgo running in your browser. You’ll clone the repository, obtain a free TMDB API key, drop it into the one place it belongs in the code, and open the app — all in under five minutes. No package managers, no build commands, and no prior backend knowledge required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LuisED18/proyecto-pagina-peliculas/llms.txt
Use this file to discover all available pages before exploring further.
Clone the repository
Clone the project from GitHub to your local machine. The repository contains everything the app needs — there is nothing to install afterwards.
Get a TMDB API key
Pelisgo fetches all movie and series data from The Movie Database (TMDB). You need a free API key to make those requests.
- Go to themoviedb.org and create a free account.
- After logging in, click your avatar in the top-right corner and choose Settings.
- In the left sidebar, select API.
- Under API Key (v3 auth), click Create if you haven’t already, fill in the short form (choose Developer and describe any personal project), and submit.
- Copy the long alphanumeric string shown as API Key (v3 auth) — that is the value you will paste in the next step.
Add your API key
Open Replace the placeholder value with your own key:The two lines below it set the base URLs and do not need to change:Save the file. That is the only configuration change required.
js/main.js in any text editor. The very first line declares the API key constant:Serve the project
Because Pelisgo is pure static HTML, you can open it directly from the filesystem or through any static server. Pick whichever method suits you:On Windows you can double-click
index.html in File Explorer to open it in your default browser.Some browsers block
fetch() requests when a page is loaded via the file:// protocol. If you see no results when opening index.html directly, use the Python or Node server option instead so the page is served over http://localhost.Browse the app
With the app open in your browser, you’re ready to explore:
- Movies page (
index.html) — loads automatically on start and displays the current TMDB popular movies grid. Each card shows the poster, title, and release year. - Series page (
series.html) — click Series in the navigation bar to switch to the TV series catalogue. The same card grid re-renders with TV show data. - Search — type any movie or series title in the blueviolet search bar in the top-right of the navbar. Results update live after you’ve typed at least three characters. Clear the field to return to the popular list.
- Genres dropdown — hover over Generos in the nav to see the genre list. Genre filtering is currently in progress and will be wired to TMDB’s genre endpoints in a future update.