Visualize Your Trakt.tv History
Display your watched movies and shows in a poster grid. Easily switch between years and get an overview of all your history. Powered by:
This website was created by LekoArts as a christmas project to try out SvelteKit. LekoArts loves watching movies and shows ⸺ so why not have a great overview? You can also follow me on Trakt if you want.
This SvelteKit project was bootstrapped with create-svelte.
- Install Node.js 20 or later
- Install pnpm
-
Install dependencies
pnpm install
-
Create a duplicate of
.env.exampleand name it.env -
Retrieve the necessary secrets:
-
PRIVATE_TRAKT_CLIENT_IDandPRIVATE_TRAKT_CLIENT_SECRET: Login to Trakt.tv and inside your settings go to your Your API Apps section. Create a new application. Sethttp://localhost:5173/auth/callback/traktas one of the Redirect URI and sethttp://localhost:5173as one of the JavaScript (CORS) Origins. Copy over the Client ID and Client Secret to the.envfile. -
PRIVATE_AUTH_SECRET: Generate a random string which is used to encrypt tokens. Runopenssl rand -base64 32in your terminal and copy the value over to the.envfile. -
PRIVATE_TMDB_API_KEY: Login to your TMDB account and inside your settings go to API section. Copy the API Key over to the.envfile.
-
Starting the development server:
pnpm devCreate a production build locally:
pnpm buildPreview that build locally with pnpm preview.