Skip to main content

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.

Pelisgo is a browser-based entertainment discovery app that connects to The Movie Database (TMDB) API to surface popular movies and TV series in a sleek, dark-themed card grid. Browse trending titles, search in real time, and filter by genre — all without any build tools or frameworks.

Quickstart

Get Pelisgo running locally in under 5 minutes with just a browser and a TMDB API key.

Project Structure

Understand the file layout — HTML pages, shared JavaScript module, and CSS stylesheet.

TMDB Integration

Learn how Pelisgo authenticates with and queries the TMDB REST API.

Configuration

Configure your API key, base URLs, and image settings inside main.js.

What Pelisgo Does

Pelisgo fetches live data from TMDB to power three core pages:
  • Movies (index.html) — displays the current popular movies list from TMDB
  • Series (series.html) — displays the current popular TV series list from TMDB
  • Genres (generos.html) — genre-based filtering (in progress)
A single shared JavaScript file (js/main.js) detects which page is loaded and switches between the movie and tv TMDB endpoints automatically.

Movies

Browse and search popular movies from the TMDB catalog.

Series

Discover trending TV series with full poster and release year display.

Search

Real-time search fires as you type — no submit button needed.

Genres

Dropdown genre menu with 16 categories for filtered browsing.

How It Works

1

Get a TMDB API key

Create a free account at themoviedb.org and generate a v3 API key from your account settings.
2

Add your key to main.js

Open js/main.js and replace the API_KEY constant with your own key.
3

Open index.html in a browser

No build step required. Open index.html directly, or serve the folder with any static file server.
4

Browse movies and series

Navigate between the Movies and Series pages. Use the search bar to find specific titles by name.
Pelisgo uses the TMDB v3 REST API with a plain API key passed as a query parameter. No OAuth or server-side proxy is required for basic browsing functionality.

Build docs developers (and LLMs) love